Skip to content

Commit 05230b9

Browse files
committed
Update lint:report to ignore stories folder
1 parent 0b88e39 commit 05230b9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/eslint-annotate.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
node-version: 16
3131
cache: "npm"
3232

33-
- run: git config --global url."https://${{ secrets.ES_LINT_TOKEN }}@github.com/".insteadOf ssh://[email protected]/
33+
# - run: git config --global url."https://${{ secrets.ES_LINT_TOKEN }}@github.com/".insteadOf ssh://[email protected]/
3434

3535
- name: Install Node Dependencies
3636
run: npm ci

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
"build:storybook": "node scripts/prepare && build-storybook -s public",
2424
"lint": "xola-lint --ignore src/stories src",
2525
"lint:fix": "xola-lint --ignore src/stories src --fix",
26-
"lint:report": "xola-lint --reporter=json src > eslint_report.json && echo 'ESLint report saved to eslint_report.json'",
26+
"lint:report": "xola-lint --ignore src/stories src --reporter=json src > eslint_report.json && echo 'ESLint report saved to eslint_report.json'",
2727
"format": "prettier --write src",
2828
"test": "xola-lint && jest",
2929
"chromatic": "chromatic --exit-zero-on-changes --build-script-name build:storybook"

0 commit comments

Comments
 (0)