Skip to content

Commit

Permalink
chore: add lint cache (#10974)
Browse files Browse the repository at this point in the history
* chore: add lint cache

* chore: update

* chore: update
  • Loading branch information
Simon-He95 committed Dec 14, 2022
1 parent 41f8128 commit c9f55cc
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
6 changes: 5 additions & 1 deletion .gitignore
Expand Up @@ -11,7 +11,8 @@ npm-debug.log*
# Docs
.cache-loader
build/
# generated typedocs

# Generated type docs
docs/api
docs/.vuepress/dist

Expand All @@ -31,3 +32,6 @@ docs/.vuepress/dist

# Generated
/types/tests/autogen*.ts

# Eslint
.eslintcache
6 changes: 3 additions & 3 deletions package.json
Expand Up @@ -58,9 +58,9 @@
"dev:ff": "karma start ./karma.conf.cjs --auto-watch --no-single-run --browsers firefox --grep",
"docs": "pnpm run build && pnpm --filter \"./docs/**\" build",
"docs:dev": "pnpm run build && pnpm --filter \"./docs/**\" dev",
"lint-js": "eslint \"src/**/*.{js,ts}\" \"test/**/*.js\" \"docs/**/*.js\"",
"lint-md": "eslint \"**/*.md\"",
"lint-types": "eslint \"types/**/*.ts\" && pnpm build && node types/tests/autogen.js && tsc -p types/tests/",
"lint-js": "eslint \"src/**/*.{js,ts}\" \"test/**/*.js\" \"docs/**/*.js\" --cache",
"lint-md": "eslint \"**/*.md\" --cache",
"lint-types": "eslint \"types/**/*.ts\" --cache && pnpm build && node types/tests/autogen.js && tsc -p types/tests/",
"lint": "concurrently \"pnpm:lint-*\"",
"test-size": "size-limit",
"test": "pnpm lint && pnpm test-ci",
Expand Down

0 comments on commit c9f55cc

Please sign in to comment.