-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.js
52 lines (51 loc) · 1.44 KB
/
.eslintrc.js
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
46
47
48
49
50
51
52
// Copyright (c) Cratis. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
/**@type {import('eslint').Linter.Config} */
// eslint-disable-next-line no-undef
module.exports = {
root: true,
parser: '@typescript-eslint/parser',
ignorePatterns: [
'*.d.ts',
'*.scss.d.ts',
'tsconfig.*',
'wallaby.js',
'dist',
'node_modules',
'wwwroot',
'templates'
],
plugins: [
'@typescript-eslint',
'no-null',
'import'
],
extends: [
'eslint:recommended',
'plugin:@typescript-eslint/recommended'
],
settings: {
},
rules: {
'no-irregular-whitespace': 0,
'semi': [2, "always"],
'no-prototype-builtins': 0,
'@typescript-eslint/no-unused-vars': 0,
'@typescript-eslint/no-explicit-any': 0,
'@typescript-eslint/explicit-module-boundary-types': 0,
'@typescript-eslint/no-non-null-assertion': 0,
'@typescript-eslint/no-empty-function': 0,
'@typescript-eslint/ban-types': 0,
'@typescript-eslint/no-var-requires': 0,
},
overrides: [
{
files: ['**/for_*/**'],
rules: {
'@typescript-eslint/naming-convention': 0,
'@typescript-eslint/no-unused-expressions': 0,
'no-restricted-globals': 0
}
}
]
};