Skip to content

Commit b3c3a00

Browse files
fix: improve eslint reporting
1 parent 4ecdad6 commit b3c3a00

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/build.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -175,9 +175,11 @@ jobs:
175175
- name: Run lint
176176
shell: bash
177177
id: lint
178+
continue-on-error: true
178179
run: |
179180
npm run lint -- --format=json --output-file reports/lint-report.json
180-
continue-on-error: true
181+
# hack to print results in the console
182+
node --print "require('./node_modules/eslint/lib/cli-engine/formatters/stylish.js')(require('./reports/lint-report.json'))"
181183
182184
- name: Annotate Code Linting Results
183185
uses: ataylorme/eslint-annotate-action@d57a1193d4c59cbfbf3f86c271f42612f9dbd9e9 # 3.0.0

0 commit comments

Comments
 (0)