Skip to content

Commit 518f599

Browse files
committed
chore: fix lint dependencies
1 parent 7bd227a commit 518f599

File tree

3 files changed

+1252
-22
lines changed

3 files changed

+1252
-22
lines changed

eslint.config.js

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
// @ts-check
2+
const eslint = require('@eslint/js');
3+
const tseslint = require('typescript-eslint');
4+
const prettierConfig = require('eslint-config-prettier');
5+
6+
module.exports = tseslint.config(
7+
eslint.configs.recommended,
8+
...tseslint.configs.recommended,
9+
prettierConfig,
10+
{
11+
languageOptions: {
12+
parserOptions: {
13+
project: './tsconfig.json',
14+
tsconfigRootDir: __dirname,
15+
sourceType: 'module',
16+
},
17+
},
18+
rules: {
19+
'@typescript-eslint/no-unused-vars': [
20+
'warn',
21+
{ argsIgnorePattern: '^_' },
22+
],
23+
'@typescript-eslint/no-explicit-any': 'off',
24+
},
25+
},
26+
{
27+
ignores: ['dist/', 'node_modules/', 'coverage/'],
28+
},
29+
);

0 commit comments

Comments
 (0)