Skip to content

Commit 2678277

Browse files
chore(repo) fix lint/CI issues
1 parent 84efe87 commit 2678277

File tree

4 files changed

+468
-505
lines changed

4 files changed

+468
-505
lines changed

.eslintrc.json

Lines changed: 0 additions & 19 deletions
This file was deleted.

eslint.config.js

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
import eslint from '@eslint/js';
2+
import tseslint from 'typescript-eslint';
3+
import prettier from 'eslint-config-prettier';
4+
5+
export default tseslint.config(
6+
eslint.configs.recommended,
7+
...tseslint.configs.recommended,
8+
prettier,
9+
{
10+
rules: {
11+
'@typescript-eslint/explicit-function-return-type': 'warn',
12+
'@typescript-eslint/no-explicit-any': 'warn',
13+
'@typescript-eslint/no-unused-vars': ['error', { argsIgnorePattern: '^_' }],
14+
'no-console': ['warn', { allow: ['warn', 'error'] }]
15+
}
16+
},
17+
{
18+
ignores: ['dist/**', 'node_modules/**', 'tests/**', 'playground/**']
19+
}
20+
);

0 commit comments

Comments
 (0)