Skip to content

Commit bc5eb5d

Browse files
committed
Add ignore path for linting
1 parent 3afba1a commit bc5eb5d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
"build:errors-and-warnings": "sass --no-source-map src/checka11y.scss ./checka11y.css --style=compressed && sass --no-source-map ./checka11y.css ./checka11y.css --style=expanded && npx postcss checka11y.css --use autoprefixer --replace --no-map",
1111
"build:errors-only": "sass --no-source-map src/errors/checka11y-errors.scss ./checka11y-errors.css --style=compressed && sass --no-source-map ./checka11y-errors.css ./checka11y-errors.css --style=expanded && npx postcss checka11y-errors.css --use autoprefixer --replace --no-map",
1212
"build:warnings-only": "sass --no-source-map src/warnings/checka11y-warnings.scss ./checka11y-warnings.css --style=compressed && sass --no-source-map ./checka11y-warnings.css ./checka11y-warnings.css --style=expanded && npx postcss checka11y-warnings.css --use autoprefixer --replace --no-map",
13-
"lint:check": "stylelint \"**/*.scss\" --max-warnings=0",
14-
"lint:fix": "stylelint \"**/*.scss\" --max-warnings=0 --fix",
13+
"lint:check": "stylelint \"**/*.scss\" --max-warnings=0 --ignore-path .gitignore",
14+
"lint:fix": "stylelint \"**/*.scss\" --max-warnings=0 --ignore-path .gitignore --fix",
1515
"test": "cypress run --headless",
1616
"test:ui": "cypress open"
1717
},

0 commit comments

Comments
 (0)