Skip to content

Commit

Permalink
Bump eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
frozzare committed Jan 29, 2025
1 parent 43be903 commit e28d61d
Show file tree
Hide file tree
Showing 7 changed files with 1,161 additions and 1,459 deletions.
4 changes: 2 additions & 2 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@ insert_final_newline = true
[*.md]
trim_trailing_whitespace = false

[*.{js,ts}]
quote_type = single
[*.{mjs,js,ts}]
quote_type = single
10 changes: 0 additions & 10 deletions .eslintrc

This file was deleted.

19 changes: 19 additions & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
import eslint from '@eslint/js';
import tseslint from 'typescript-eslint';

export default tseslint.config(
eslint.configs.recommended,
tseslint.configs.recommended,
{
rules: {
'@typescript-eslint/no-unused-vars': [
'warn',
{
argsIgnorePattern: '^_',
varsIgnorePattern: '^_',
caughtErrorsIgnorePattern: '^_',
},
],
},
},
);
Loading

0 comments on commit e28d61d

Please sign in to comment.