Skip to content

Commit

Permalink
Drop support for node v10, v11, v13, and v15 (#66)
Browse files Browse the repository at this point in the history
  • Loading branch information
ota-meshi authored Nov 6, 2021
1 parent 7102d2d commit 0a40665
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 25 deletions.
24 changes: 1 addition & 23 deletions .github/workflows/NodeCI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,36 +18,14 @@ jobs:
run: npm install
- name: Lint
run: npm run lint
test-for-node10:
name: "Test for ESLint ${{ matrix.eslint }} on ${{ matrix.node }} OS: ${{matrix.os}}"
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
node: [10]
eslint: [7]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node }}
- name: Install ESLint ${{ matrix.eslint }}
run: |+
npm i -D eslint@${{ matrix.eslint }} --legacy-peer-deps
npx rimraf node_modules
- name: Install Packages
run: npm install --legacy-peer-deps
- name: Test
run: npm test
test:
name: "Test for ESLint ${{ matrix.eslint }} on ${{ matrix.node }} OS: ${{matrix.os}}"
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
eslint: [7, 8]
node: [12, 14, 16]
node: [12, 14, 16, 17]
steps:
- name: Checkout
uses: actions/checkout@v2
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ npm install --save-dev eslint @ota-meshi/eslint-plugin-svelte svelte
> **Requirements**
>
> - ESLint v7.0.0 and above
> - Node.js v10.13.0 and above
> - Node.js v12.22.x, v14.17.x, v16.x and above
<!--DOCS_IGNORE_END-->

Expand Down
2 changes: 1 addition & 1 deletion docs/user-guide/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ npm install --save-dev eslint @ota-meshi/eslint-plugin-svelte svelte
::: tip Requirements

- ESLint v7.0.0 and above
- Node.js v10.13.0 and above
- Node.js v12.22.x, v14.17.x, v16.x and above

:::

Expand Down
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@
"files": [
"lib"
],
"engines": {
"node": "^12.22.0 || ^14.17.0 || >=16.0.0"
},
"scripts": {
"prebuild": "npm run -s clean",
"build": "npm run build:ts",
Expand Down

0 comments on commit 0a40665

Please sign in to comment.