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: add cache for eslint #2115

Merged
merged 1 commit into from Oct 5, 2022
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.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitignore
Expand Up @@ -21,3 +21,5 @@ cypress/downloads
cypress/screenshots
docs/public/user-avatars
docs/public/sponsors
.eslintcache

4 changes: 2 additions & 2 deletions package.json
Expand Up @@ -16,7 +16,7 @@
"docs:https-no-prefetch": "pnpm -C docs run preview-https-no-prefetch",
"docs:examples": "esno scripts/update-examples.ts",
"docs:contributors": "esno scripts/update-contributors.ts",
"lint": "eslint .",
"lint": "eslint --cache .",
"lint:fix": "nr lint --fix",
"release": "bumpp package.json packages/*/package.json --commit --push --tag && pnpm -r publish --access public",
"test": "vitest --api -r test/core",
Expand Down Expand Up @@ -85,7 +85,7 @@
},
"lint-staged": {
"*.{js,ts,tsx,vue,md}": [
"eslint --fix"
"eslint --cache --fix"
]
}
}