mirror of
https://github.com/sourcegraph/sourcegraph.git
synced 2026-02-06 17:31:43 +00:00
Fix eslint changed regex to not match kts files
This commit is contained in:
parent
55f02b78de
commit
99981f91c3
@ -14,7 +14,7 @@
|
||||
"format": "prettier '**/{*.{js?(on),ts?(x),graphql,md,scss},.*.js?(on)}' --write --list-different --config prettier.config.js",
|
||||
"format:check": "yarn -s run format --write=false --check --list-different=false --loglevel=warn",
|
||||
"_lint:js": "DOCSITE_LIST=\"$(./dev/docsite.sh -config doc/docsite.json ls)\" NODE_OPTIONS=\"--max_old_space_size=16192\" eslint",
|
||||
"lint:js:changed": "yarn _lint:js $(git diff --diff-filter=d --name-only origin/main... | grep -E '.[tj]sx?$' | xargs)",
|
||||
"lint:js:changed": "yarn _lint:js $(git diff --diff-filter=d --name-only origin/main... | grep -E '\\.[tj]sx?$' | xargs)",
|
||||
"lint:js:root": "yarn -s run _lint:js --quiet '*.[tj]s?(x)'",
|
||||
"lint:js:all": "DOCSITE_LIST=\"$(./dev/docsite.sh -config doc/docsite.json ls)\" dev/foreach-ts-project.sh yarn -s run lint:js --quiet && yarn -s lint:js:root",
|
||||
"_lint:css": "stylelint --quiet",
|
||||
|
||||
Loading…
Reference in New Issue
Block a user