Skip to content

Commit

Permalink
chore: eslint config improvement
Browse files Browse the repository at this point in the history
  • Loading branch information
sixmen committed Oct 24, 2024
1 parent b8cb382 commit 2e36be3
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
import baseConfig from '@croquiscom/eslint-config/requiring-type-checking.mjs';
import globals from 'globals';
import tseslint from 'typescript-eslint';

export default [
export default tseslint.config(
...baseConfig,
{
languageOptions: {
Expand Down Expand Up @@ -32,7 +33,7 @@ export default [
'@typescript-eslint/restrict-template-expressions': 'off',
},
},
].map((config) => ({
...config,
ignores: ['eslint.config.mjs', 'lib/**'],
}));
{
ignores: ['eslint.config.mjs', 'lib/**'],
},
);

0 comments on commit 2e36be3

Please sign in to comment.