Skip to content

Commit

Permalink
chore: add cache for eslint (#2115)
Browse files Browse the repository at this point in the history
  • Loading branch information
c0dedance committed Oct 5, 2022
1 parent bd67701 commit a3e624b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
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"
]
}
}

0 comments on commit a3e624b

Please sign in to comment.