Skip to content

Commit

Permalink
Migrate to new ESLint setup with updated dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
arifszn committed Jan 17, 2025
1 parent 0760588 commit 03fd8d5
Show file tree
Hide file tree
Showing 5 changed files with 270 additions and 455 deletions.
130 changes: 0 additions & 130 deletions .eslintignore

This file was deleted.

15 changes: 0 additions & 15 deletions .eslintrc.js

This file was deleted.

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

/** @type {import('eslint').Linter.Config[]} */
export default [
{ files: ['**/*.{js,mjs,cjs,ts}'] },
{ languageOptions: { globals: globals.node } },
pluginJs.configs.recommended,
...tseslint.configs.recommended,
{
ignores: ['dist/**/*', 'node_modules/**/*'],
},
];
Loading

0 comments on commit 03fd8d5

Please sign in to comment.