Skip to content

Commit

Permalink
eslint: use cache (#3218)
Browse files Browse the repository at this point in the history
This significantly speeds up eslint after first run.

Co-authored-by: alxndrsn <alxndrsn>
  • Loading branch information
alxndrsn authored May 16, 2024
1 parent 81e2ff0 commit e25428c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,6 @@ package-lock.json
*.swp
dist
.DS_Store
/.eslintcache
.vscode/
manually-test-on-heroku.js
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"docs:start": "cd docs && yarn start",
"pretest": "yarn build",
"prepublish": "yarn build",
"lint": "eslint '*/**/*.{js,ts,tsx}'"
"lint": "eslint --cache '*/**/*.{js,ts,tsx}'"
},
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^7.0.0",
Expand Down

0 comments on commit e25428c

Please sign in to comment.