diff --git a/.github/workflows/NodeCI.yml b/.github/workflows/NodeCI.yml index 77daa677c..6e24e93ce 100644 --- a/.github/workflows/NodeCI.yml +++ b/.github/workflows/NodeCI.yml @@ -52,7 +52,7 @@ jobs: strategy: matrix: os: [ubuntu-latest] - eslint: [7, 8, 9] + eslint: [8, 9] node: [18.x, 20.x, 22.x, latest] steps: - name: Checkout @@ -126,13 +126,8 @@ jobs: with: node-version: ${{ matrix.node }} - name: Install svelte@3 - # Remove @sveltejs/kit because postinstall fails on old node. run: | - cd docs-svelte-kit - pnpm rm @sveltejs/kit - cd .. - pnpm install -D -w @typescript-eslint/parser@5 @typescript-eslint/eslint-plugin@5 eslint@8 - cd packages/eslint-plugin-svelte + cd ./packages/eslint-plugin-svelte pnpm install -D svelte@3 cd ../.. rm -rf packages/eslint-plugin-svelte/node_modules diff --git a/README.md b/README.md index 7c569527b..2ec47c7fa 100644 --- a/README.md +++ b/README.md @@ -56,8 +56,8 @@ npm install --save-dev eslint eslint-plugin-svelte svelte > **Requirements** > -> - ESLint v7.0.0 and above -> - Node.js v14.17.x, v16.x and above +> - ESLint v8.57.1, v9.0.0 and above +> - Node.js v18.20.4, v20.18.0, v22.10.0 and above diff --git a/docs/user-guide.md b/docs/user-guide.md index 0818976de..ff28a6d31 100644 --- a/docs/user-guide.md +++ b/docs/user-guide.md @@ -8,8 +8,8 @@ npm install --save-dev eslint eslint-plugin-svelte svelte ::: tip Requirements -- ESLint v7.0.0 and above -- Node.js v14.17.x, v16.x and above +- ESLint v8.57.1, v9.0.0 and above +- Node.js v18.20.4, v20.18.0, v22.10.0 and above ::: diff --git a/packages/eslint-plugin-svelte/package.json b/packages/eslint-plugin-svelte/package.json index 26aba648d..4f134b231 100644 --- a/packages/eslint-plugin-svelte/package.json +++ b/packages/eslint-plugin-svelte/package.json @@ -47,7 +47,7 @@ "version:ci": "env-cmd -e version-ci pnpm run update && changeset version" }, "peerDependencies": { - "eslint": "^7.0.0 || ^8.0.0-0 || ^9.0.0-0", + "eslint": "^8.57.1 || ^9.0.0", "svelte": "^3.37.0 || ^4.0.0 || ^5.0.0" }, "peerDependenciesMeta": {