Skip to content

Commit

Permalink
chore: migrate to eslint 9 and update dependencies (#68)
Browse files Browse the repository at this point in the history
  • Loading branch information
pmpak authored Jan 15, 2025
1 parent 85f8fc5 commit 576e34e
Show file tree
Hide file tree
Showing 23 changed files with 1,457 additions and 3,576 deletions.
230 changes: 0 additions & 230 deletions .eslintrc.json

This file was deleted.

4 changes: 2 additions & 2 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
node-version: ['18.x', '20.x']
node-version: ['18.x', '20.x', '22.x']
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
Expand All @@ -20,5 +20,5 @@ jobs:
cache: 'npm'
- run: npm ci
- run: npm run lint
- run: npm run build --if-present
- run: npm run build
- run: npm test
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
18
22
9 changes: 9 additions & 0 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
// @ts-check

import eslint from '@eslint/js';
import tseslint from 'typescript-eslint';

export default tseslint.config(
eslint.configs.recommended,
...tseslint.configs.recommended,
);
Loading

0 comments on commit 576e34e

Please sign in to comment.