Skip to content

Commit

Permalink
update eslint config
Browse files Browse the repository at this point in the history
  • Loading branch information
idleberg committed Jan 6, 2025
1 parent 06c64e0 commit 4345cc6
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
// @ts-check
import eslint from '@eslint/js';
import jsonc from 'eslint-plugin-jsonc';
import perfectionist from 'eslint-plugin-perfectionist';
import unicorn from 'eslint-plugin-unicorn';
import tseslint from 'typescript-eslint';

export default tseslint.config(
/** @type {import('eslint').Linter.Config[]} */
const config = [
eslint.configs.recommended,
...tseslint.configs.recommended,
...jsonc.configs['flat/recommended-with-json'],
Expand Down Expand Up @@ -37,4 +37,6 @@ export default tseslint.config(
'jsonc/no-comments': 'off'
}
},
);
];

export default config;

0 comments on commit 4345cc6

Please sign in to comment.