eslint: use cache (#3218)

This significantly speeds up eslint after first run.

Co-authored-by: alxndrsn <alxndrsn>
This commit is contained in:
Alex Anderson 2024-05-16 19:32:41 +03:00 committed by GitHub
parent 81e2ff0524
commit e25428c8dc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 1 deletions

1
.gitignore vendored
View File

@ -7,5 +7,6 @@ package-lock.json
*.swp
dist
.DS_Store
/.eslintcache
.vscode/
manually-test-on-heroku.js

View File

@ -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",