Skip to content

Commit

Permalink
chore: add lint cache (alibaba#2047)
Browse files Browse the repository at this point in the history
* chore: add lint cache & lint code

* chore: update

* chore: update

* chore: restore some change

---------

Co-authored-by: 云泥 <[email protected]>
Co-authored-by: liuyib <[email protected]>
  • Loading branch information
3 people authored Mar 7, 2023
1 parent a1f8fd8 commit 888d18a
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 @@ -18,3 +18,4 @@ packages/hooks/README.md
yarn-error.log
package-lock.json
metadata.json
.eslintcache
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"build": "pnpm -r --filter=./packages/* run build",
"test": "jest",
"coveralls": "jest --coverage --coverageReporters=text-lcov | coveralls",
"lint": "eslint --ignore-pattern **/__tests__/* --ignore-pattern **/demo/* \"packages/*/src/**/*.{ts,tsx}\"",
"lint": "eslint --ignore-pattern **/__tests__/* --ignore-pattern **/demo/* \"packages/*/src/**/*.{ts,tsx}\" --cache",
"pretty": "pretty-quick --staged",
"build:doc": "dumi build",
"pub:doc-surge": "surge ./dist --domain ahooks.js.org",
Expand Down

0 comments on commit 888d18a

Please sign in to comment.