Permalink
September 14, 2020 10:32
September 14, 2020 10:32
September 14, 2020 10:49
September 14, 2020 10:32
September 14, 2020 10:49
August 11, 2021 13:44
September 14, 2020 10:49
October 1, 2020 11:03
September 14, 2020 10:49
September 14, 2020 10:49
Newer
100644
59 lines (58 sloc)
2.34 KB
1
2
{
3
"parser": "@typescript-eslint/parser",
4
"parserOptions": {
6
},
7
"plugins": ["@typescript-eslint", "filenames", "github", "import", "no-async-foreach"],
8
"extends": [
9
"eslint:recommended",
10
"plugin:@typescript-eslint/recommended",
11
"plugin:@typescript-eslint/recommended-requiring-type-checking",
12
"plugin:github/recommended",
15
],
16
"rules": {
19
"import/extensions": "error",
20
"import/no-amd": "error",
21
"import/no-commonjs": "error",
22
"import/no-dynamic-require": "error",
23
// Disable the rule that checks that devDependencies aren't imported since we use a single
24
// linting configuration file for both source and test code.
25
"import/no-extraneous-dependencies": ["error", {"devDependencies": true}],
26
"import/no-namespace": "off",
27
"import/no-unresolved": "error",
28
"import/no-webpack-loader-syntax": "error",
29
"import/order": ["error", {
30
"alphabetize": {"order": "asc"},
31
"newlines-between": "always"
32
}],
33
"no-async-foreach/no-async-foreach": "error",
34
"no-console": "off",
35
"no-sequences": "error",
39
},
40
"overrides": [{
41
// "temporarily downgraded during transition to eslint
42
"files": "**",
43
"rules": {
44
"@typescript-eslint/ban-types": "off",
45
"@typescript-eslint/explicit-module-boundary-types": "off",
46
"@typescript-eslint/no-explicit-any": "off",
47
"@typescript-eslint/no-unsafe-assignment": "off",
48
"@typescript-eslint/no-unsafe-call": "off",
49
"@typescript-eslint/no-unsafe-member-access": "off",
50
"@typescript-eslint/no-unsafe-return": "off",
51
"@typescript-eslint/no-var-requires": "off",
52
"@typescript-eslint/prefer-regexp-exec": "off",
53
"@typescript-eslint/require-await": "off",
54
"@typescript-eslint/restrict-template-expressions": "off",