Skip to content

Commit

Permalink
Update eslint configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
kmturley committed Oct 15, 2024
1 parent be45d8a commit c1e50c7
Show file tree
Hide file tree
Showing 3 changed files with 259 additions and 384 deletions.
17 changes: 9 additions & 8 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -1,17 +1,18 @@
import globals from 'globals';
import pluginJs from '@eslint/js';
import eslint from '@eslint/js';
import tseslint from 'typescript-eslint';

export default [
{ languageOptions: { globals: globals.browser } },
pluginJs.configs.recommended,
export default tseslint.config(
eslint.configs.recommended,
...tseslint.configs.recommended,
{
ignores: ['build'],
},
{
languageOptions: { globals: globals.node },
rules: {
'@typescript-eslint/no-explicit-any': 'off',
'@typescript-eslint/no-empty-object-type': 'off',
},
},
{
ignores: ['src/convert.ts'],
},
];
);
Loading

0 comments on commit c1e50c7

Please sign in to comment.