Skip to content

Commit

Permalink
fix: ts parser
Browse files Browse the repository at this point in the history
  • Loading branch information
araujogui committed Oct 18, 2024
1 parent 0ad4e2e commit 69dffe1
Show file tree
Hide file tree
Showing 3 changed files with 145 additions and 227 deletions.
10 changes: 5 additions & 5 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
import js from '@eslint/js';
import importX from 'eslint-plugin-import-x';
import noRelativeImportPaths from 'eslint-plugin-no-relative-import-paths';
import tseslint from 'typescript-eslint';

export default tseslint.config(
export default [
js.configs.recommended,
importX.flatConfigs.recommended,
{
ignores: [
'node_modules',
Expand All @@ -17,7 +18,6 @@ export default tseslint.config(
],
},
{
extends: [js.configs.recommended, importX.flatConfigs.recommended],
files: ['**/*.{js,mjs,ts,tsx}'],
plugins: {
'no-relative-import-paths': noRelativeImportPaths,
Expand Down Expand Up @@ -49,5 +49,5 @@ export default tseslint.config(
{ allowSameFolder: true, prefix: '@' },
],
},
}
);
},
];
Loading

0 comments on commit 69dffe1

Please sign in to comment.