Skip to content

Commit

Permalink
Merge pull request #72 from mouse484/eslint
Browse files Browse the repository at this point in the history
eslint typescript
  • Loading branch information
mouse484 committed Jun 22, 2024
2 parents cfbee79 + 5a696f2 commit b97a7a4
Show file tree
Hide file tree
Showing 7 changed files with 158 additions and 180 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:

strategy:
matrix:
node-version: [16.x, 18.x, 20.x]
node-version: [18.x, 20.x, 22.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/

steps:
Expand Down
2 changes: 1 addition & 1 deletion .gitpod.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
tasks:
- init: npm install
- init: npm i -g @antfu/ni && ni

vscode:
extensions:
Expand Down
2 changes: 1 addition & 1 deletion eslint.config.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
import { mouse } from '@mouse_484/eslint-config'

export default mouse()
export default mouse({})
259 changes: 89 additions & 170 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@
],
"scripts": {
"lint": "eslint .",
"lint:fix": "eslint --fix ."
"lint:fix": "eslint --fix .",
"lint:view": "npx @eslint/config-inspector"
},
"devDependencies": {
"@mouse_484/eslint-config": "*",
Expand Down
3 changes: 3 additions & 0 deletions packages/eslint/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,8 @@
"main": "src/index.js",
"dependencies": {
"@antfu/eslint-config": "^2.21.1"
},
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^7.13.1"
}
}
Loading

0 comments on commit b97a7a4

Please sign in to comment.