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 e89b568
Show file tree
Hide file tree
Showing 9 changed files with 578 additions and 889 deletions.
33 changes: 0 additions & 33 deletions .eslintrc.json

This file was deleted.

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 e89b568

Please sign in to comment.