Skip to content

Commit fdca15b

Browse files
committed
fix(src): add cache for eslint
1 parent 4bd1a9e commit fdca15b

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ yarn-error.log*
2222
.vscode
2323
.idea
2424
.lycheecache
25+
.eslintcache
2526

2627
flare-smart-contracts-v2/
2728
flare-smart-contracts/

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"format": "prettier --write . && prettier --write --plugin=prettier-plugin-solidity 'examples/developer-hub-solidity/**/*.sol' && npm run format --prefix examples/developer-hub-javascript",
1919
"format:diff": "prettier --list-different .",
2020
"format:check": "prettier --check \"**/*.{js,jsx,ts,tsx,md,mdx}\"",
21-
"lint": "npx eslint ."
21+
"lint": "npx eslint . --cache --cache-location .eslintcache"
2222
},
2323
"dependencies": {
2424
"@docusaurus/core": "^3.9.2",

0 commit comments

Comments
 (0)