This repository was archived by the owner on Jun 30, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.eslintrc.js
More file actions
45 lines (45 loc) 路 1.52 KB
/
Copy path.eslintrc.js
File metadata and controls
45 lines (45 loc) 路 1.52 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
module.exports = {
parser: '@typescript-eslint/parser',
parserOptions: {
project: 'tsconfig.json',
sourceType: 'module'
},
plugins: ['@typescript-eslint/eslint-plugin'],
extends: [
'plugin:unicorn/recommended',
'plugin:import/recommended',
'plugin:@typescript-eslint/eslint-recommended',
'plugin:@typescript-eslint/recommended',
'prettier'
],
root: true,
env: {
node: true
},
rules: {
quotes: ['error', 'single'],
'@typescript-eslint/no-unsafe-function-type': 'off',
'@typescript-eslint/interface-name-prefix': 'off',
'@typescript-eslint/explicit-function-return-type': 'off',
'@typescript-eslint/no-explicit-any': 'off',
'@typescript-eslint/explicit-module-boundary-types': 'off',
'@typescript-eslint/no-unused-vars': 'off',
'@typescript-eslint/ban-types': 'off',
'unicorn/no-null': 'off',
'unicorn/prefer-type-error': 'off',
'unicorn/no-array-reduce': 'off',
'unicorn/prevent-abbreviations': 'off',
'unicorn/no-useless-undefined': 'off',
'import/no-unresolved': 'off',
'unicorn/consistent-function-scoping': 'off',
'import/order': ["error", {"groups": ["builtin", "external", "parent", "sibling", "index"]}]
},
ignorePatterns: [
'.eslintrc.js',
'.eslintrc.spec.js',
'.dependency-cruiser.js',
'commitlint.config.js',
'tools/**/*.js',
'packages/**/lib/**'
]
};