mirror of
https://github.com/sourcegraph/sourcegraph.git
synced 2026-02-06 15:51:43 +00:00
web: allow empty input for lint:css:changed (#33899)
This commit is contained in:
parent
5ac5c8e1a1
commit
7f93d86af3
@ -16,9 +16,9 @@
|
||||
"_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 main | grep -E '.[tj]sx?$' | xargs)",
|
||||
"lint:js:all": "DOCSITE_LIST=\"$(./dev/docsite.sh -config doc/docsite.json ls)\" dev/foreach-ts-project.sh yarn -s run lint:js --quiet",
|
||||
"_lint:css": "stylelint",
|
||||
"lint:css:changed": "yarn _lint:css $(git diff --diff-filter=d --name-only main | grep -E '.s?css$' | xargs)",
|
||||
"lint:css:all": "yarn _lint:css 'client/*/src/**/*.scss' --quiet",
|
||||
"_lint:css": "stylelint --quiet",
|
||||
"lint:css:changed": "yarn _lint:css --allow-empty-input \"*.none\" $(git diff --diff-filter=d --name-only main | grep -E '.s?css$' | xargs)",
|
||||
"lint:css:all": "yarn _lint:css 'client/*/src/**/*.scss'",
|
||||
"lint:graphql": "graphql-schema-linter",
|
||||
"build-ts": "tsc -b tsconfig.all.json",
|
||||
"build-web": "yarn workspace @sourcegraph/web run build",
|
||||
|
||||
Loading…
Reference in New Issue
Block a user