Skip to content

Commit 729394e

Browse files
authored
feat!: drop support for old eslint (#937)
1 parent d8e4ebb commit 729394e

File tree

5 files changed

+12
-12
lines changed

5 files changed

+12
-12
lines changed

.changeset/cool-rockets-allow.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'eslint-plugin-svelte': major
3+
---
4+
5+
feat!: drop support for old eslint

.github/workflows/NodeCI.yml

+2-7
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ jobs:
5252
strategy:
5353
matrix:
5454
os: [ubuntu-latest]
55-
eslint: [7, 8, 9]
55+
eslint: [8, 9]
5656
node: [18.x, 20.x, 22.x, latest]
5757
steps:
5858
- name: Checkout
@@ -126,13 +126,8 @@ jobs:
126126
with:
127127
node-version: ${{ matrix.node }}
128128
- name: Install svelte@3
129-
# Remove @sveltejs/kit because postinstall fails on old node.
130129
run: |
131-
cd docs-svelte-kit
132-
pnpm rm @sveltejs/kit
133-
cd ..
134-
pnpm install -D -w @typescript-eslint/parser@5 @typescript-eslint/eslint-plugin@5 eslint@8
135-
cd packages/eslint-plugin-svelte
130+
cd ./packages/eslint-plugin-svelte
136131
pnpm install -D svelte@3
137132
cd ../..
138133
rm -rf packages/eslint-plugin-svelte/node_modules

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,8 @@ npm install --save-dev eslint eslint-plugin-svelte svelte
5656

5757
> **Requirements**
5858
>
59-
> - ESLint v7.0.0 and above
60-
> - Node.js v14.17.x, v16.x and above
59+
> - ESLint v8.57.1, v9.0.0 and above
60+
> - Node.js v18.20.4, v20.18.0, v22.10.0 and above
6161
6262
<!--DOCS_IGNORE_END-->
6363

docs/user-guide.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ npm install --save-dev eslint eslint-plugin-svelte svelte
88

99
::: tip Requirements
1010

11-
- ESLint v7.0.0 and above
12-
- Node.js v14.17.x, v16.x and above
11+
- ESLint v8.57.1, v9.0.0 and above
12+
- Node.js v18.20.4, v20.18.0, v22.10.0 and above
1313

1414
:::
1515

packages/eslint-plugin-svelte/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
"version:ci": "env-cmd -e version-ci pnpm run update && changeset version"
4848
},
4949
"peerDependencies": {
50-
"eslint": "^7.0.0 || ^8.0.0-0 || ^9.0.0-0",
50+
"eslint": "^8.57.1 || ^9.0.0",
5151
"svelte": "^3.37.0 || ^4.0.0 || ^5.0.0"
5252
},
5353
"peerDependenciesMeta": {

0 commit comments

Comments
 (0)