Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Upgrade eslint and add local cache #1499

Merged
merged 2 commits into from
Sep 26, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ dist
.DS_Store
.idea
.vscode
.eslintcache
examples/**/yarn.lock
package-lock.json
tsconfig.tsbuildinfo
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
"publish-beta": "yarn publish --tag beta",
"types:check": "tsc --noEmit --project tsconfig.check.json",
"format": "prettier --write ./**/*.{ts,tsx}",
"lint": "eslint . --ext .ts,.tsx",
"lint": "eslint . --ext .ts,.tsx --cache",
"lint:fix": "yarn lint --fix",
"test": "jest",
"register": "yarn link && cd node_modules/react && yarn link",
Expand All @@ -62,7 +62,7 @@
},
"lint-staged": {
"*.{ts,tsx}": [
"eslint --fix",
"eslint --fix --cache",
"prettier --write",
"git add"
]
Expand All @@ -77,7 +77,7 @@
"@typescript-eslint/eslint-plugin": "4.31.0",
"@typescript-eslint/parser": "4.31.0",
"bunchee": "1.7.1",
"eslint": "6.8.0",
"eslint": "7.32.0",
"eslint-config-prettier": "6.5.0",
"eslint-plugin-jest-dom": "3.6.5",
"eslint-plugin-react": "7.20.6",
Expand Down
Loading