Skip to content

Commit

Permalink
Run ESLint with --report-unused-disable-directives
Browse files Browse the repository at this point in the history
  • Loading branch information
ryota-ka committed Apr 3, 2024
1 parent 8bd5719 commit 6f2d6ed
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
yarn tsc --noEmit
- name: Run ESLint
run: |
yarn eslint --ext ts --ext tsx ./src
yarn eslint --ext ts --ext tsx ./src --report-unused-disable-directives
- name: Run tests
run: |
yarn jest ./src
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ install:
yarn install

lint: install
yarn eslint --ext ts --ext tsx ./src
yarn eslint --ext ts --ext tsx ./src --report-unused-disable-directives

test: install
yarn jest --watch ./src
Expand Down

0 comments on commit 6f2d6ed

Please sign in to comment.