Skip to content

Commit

Permalink
ci: lint action update
Browse files Browse the repository at this point in the history
- migrate to eslint 9
- migrate .eslint.yaml to eslint.config.mjs

Signed-off-by: Roy Golan <[email protected]>
  • Loading branch information
rgolangh committed Oct 14, 2024
1 parent 49f0fe7 commit bccb10f
Show file tree
Hide file tree
Showing 4 changed files with 271 additions and 260 deletions.
252 changes: 0 additions & 252 deletions .eslintrc.yaml

This file was deleted.

9 changes: 4 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,9 @@ jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '18'
- run: npm init @eslint/config
- run: npm install eslint-plugin-jsdoc@latest --save-dev
- run: npx eslint *.js modules/*.js
- run: npm install
- run: npm run lint
Loading

0 comments on commit bccb10f

Please sign in to comment.