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 dbf354f commit e876300
Show file tree
Hide file tree
Showing 11 changed files with 266 additions and 308 deletions.
18 changes: 12 additions & 6 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -1,12 +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', 'main'],
ignores: ['build', 'dist', 'main', 'renderer/.next'],
},
];
{
languageOptions: { globals: globals.node },
rules: {
'@typescript-eslint/no-explicit-any': 'off',
'@typescript-eslint/no-empty-object-type': 'off',
},
},
);
Loading

0 comments on commit e876300

Please sign in to comment.