1 | module.exports = {
|
2 | env: {
|
3 | es2021: true,
|
4 | node: true,
|
5 | },
|
6 | extends: [
|
7 | 'eslint:recommended',
|
8 | 'plugin:@typescript-eslint/recommended',
|
9 | 'plugin:prettier/recommended',
|
10 | ],
|
11 | parserOptions: {
|
12 | ecmaVersion: 2021,
|
13 | sourceType: 'module',
|
14 | },
|
15 | plugins: ['prettier', '@typescript-eslint'],
|
16 | rules: {
|
17 | '@typescript-eslint/ban-types': 'off',
|
18 | '@typescript-eslint/no-explicit-any': 'off',
|
19 | '@typescript-eslint/explicit-module-boundary-types': [
|
20 | 'error',
|
21 | {
|
22 | allowArgumentsExplicitlyTypedAsAny: true,
|
23 | },
|
24 | ],
|
25 | },
|
26 | };
|