Skip to content

Commit

Permalink
feat!: drop support for ESLint<v8.57.0 (#357)
Browse files Browse the repository at this point in the history
* feat!: drop support for ESLint<v8.57.0

* Create chilly-pigs-guess.md
  • Loading branch information
ota-meshi authored Apr 26, 2024
1 parent 4c73905 commit 4afd799
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 23 deletions.
5 changes: 5 additions & 0 deletions .changeset/chilly-pigs-guess.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"eslint-plugin-astro": major
---

feat!: drop support for ESLint<v8.57.0
25 changes: 3 additions & 22 deletions .github/workflows/NodeCI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,34 +47,15 @@ jobs:
run: npm install -f
- name: Test
run: npm test
test-for-eslint-v9:
test-for-eslint-v8:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
- name: Install eslint v9
- name: Install eslint v8.57.0
run: |+
npm i -D eslint@^9.0.0 -f
npx rimraf node_modules
- name: Install Packages
run: npm install -f
- name: Test
run: npm test
test-for-eslint-v7:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x]
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: Install eslint v7
run: |+
npm i -D eslint@7 @typescript-eslint/parser@5 -f
npm i -D eslint@^8.57.0 -f
npx rimraf node_modules
- name: Install Packages
run: npm install -f
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
"postcss-selector-parser": "^6.0.10"
},
"peerDependencies": {
"eslint": ">=7.0.0"
"eslint": ">=8.57.0"
},
"devDependencies": {
"@astrojs/compiler": "^2.0.0",
Expand Down

0 comments on commit 4afd799

Please sign in to comment.