Skip to content

Commit 9d24db8

Browse files
committed
Adding ESLint as a dependency.
1 parent d37233e commit 9d24db8

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

.github/workflows/eslint.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,14 +30,14 @@ jobs:
3030

3131
- name: Install ESLint
3232
run: |
33-
npm install [email protected]
33+
npm install
3434
npm install @microsoft/[email protected]
3535
3636
- name: Run ESLint
3737
env:
3838
SARIF_ESLINT_IGNORE_SUPPRESSED: "true"
3939
run: npx eslint .
40-
--config .eslintrc.js
40+
--config .eslintrc.json
4141
--ext .js,.jsx,.ts,.tsx
4242
--format @microsoft/eslint-formatter-sarif
4343
--output-file eslint-results.sarif

package-lock.json

Lines changed: 2 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@
1616
},
1717
"devDependencies": {
1818
"@wordpress/eslint-plugin": "^22.11.0",
19-
"@wordpress/scripts": "^30.18.0"
19+
"@wordpress/scripts": "^30.18.0",
20+
"eslint": "^8.57.1"
2021
},
2122
"dependencies": {
2223
"@chrisoakman/chessboardjs": "^1.0.0",

0 commit comments

Comments
 (0)