Skip to content

Commit

Permalink
Update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
p2004a committed Nov 23, 2024
1 parent 338702d commit b9cc24e
Show file tree
Hide file tree
Showing 10 changed files with 579 additions and 893 deletions.
33 changes: 0 additions & 33 deletions .eslintrc.json

This file was deleted.

5 changes: 1 addition & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,11 @@ on: [push]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node: [20, 22]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
node-version: 22
cache: 'npm'
- run: npm ci
- run: npm run format:check
Expand Down
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
engine-strict=true
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
20
22
30 changes: 30 additions & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
// @ts-check

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

export default tseslint.config({
files: ['src/**/*.ts'],
extends: [eslint.configs.recommended, tseslint.configs.recommended, prettier],
rules: {
'@typescript-eslint/naming-convention': [
'error',
{
'selector': ['parameter', 'variable'],
'leadingUnderscore': 'require',
'format': ['camelCase'],
'modifiers': ['unused'],
},
],
'@typescript-eslint/no-unused-vars': [
'error',
{
'args': 'all',
'argsIgnorePattern': '^_',
'varsIgnorePattern': '^_',
'caughtErrorsIgnorePattern': '^_',
},
],
},
});
Loading

0 comments on commit b9cc24e

Please sign in to comment.