@perfective/eslint-config 0.29.1 → 0.30.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +1 -1
- package/README.adoc +24 -19
- package/README.md +20 -17
- package/config/node.d.ts +7 -0
- package/config/node.js +7 -11
- package/config/plugin.d.ts +9 -0
- package/config/plugin.js +22 -26
- package/config.js +1 -6
- package/cypress.d.ts +5 -0
- package/cypress.js +31 -58
- package/index.d.ts +58 -26
- package/index.js +100 -145
- package/jest-dom.js +8 -11
- package/jest.d.ts +6 -0
- package/jest.js +29 -24
- package/package.json +18 -18
- package/rules/array-func/index.d.ts +1 -2
- package/rules/array-func/index.js +14 -50
- package/rules/cypress/index.d.ts +11 -3
- package/rules/cypress/index.js +23 -57
- package/rules/eslint/index.js +6 -9
- package/rules/eslint/layout-formatting.js +64 -67
- package/rules/eslint/possible-problems.js +96 -99
- package/rules/eslint/suggestions.js +181 -182
- package/rules/eslint-comments/best-practices.js +8 -11
- package/rules/eslint-comments/index.d.ts +1 -2
- package/rules/eslint-comments/index.js +9 -45
- package/rules/eslint-comments/stylistic-issues.js +9 -18
- package/rules/import/helpful-warnings.js +11 -14
- package/rules/import/index.js +11 -14
- package/rules/import/module-systems.js +10 -13
- package/rules/import/rules/no-extraneous-dependencies.d.ts +3 -0
- package/rules/import/rules/no-extraneous-dependencies.js +20 -21
- package/rules/import/static-analysis.js +26 -29
- package/rules/import/style-guide.js +33 -36
- package/rules/jest/index.js +98 -72
- package/rules/jest/typescript-eslint.js +5 -8
- package/rules/jest-dom/index.js +19 -55
- package/rules/jsdoc/index.d.ts +1 -1
- package/rules/jsdoc/index.js +158 -344
- package/rules/n/index.d.ts +1 -1
- package/rules/n/index.js +64 -98
- package/rules/prefer-arrow/index.d.ts +1 -2
- package/rules/prefer-arrow/index.js +14 -50
- package/rules/promise/index.d.ts +1 -2
- package/rules/promise/index.js +35 -73
- package/rules/rxjs/index.d.ts +1 -1
- package/rules/rxjs/index.js +60 -96
- package/rules/security/index.d.ts +1 -2
- package/rules/security/index.js +22 -58
- package/rules/simple-import-sort/index.js +12 -48
- package/rules/simple-import-sort/rules/imports.d.ts +11 -0
- package/rules/simple-import-sort/rules/imports.js +18 -32
- package/rules/stylistic/js/index.d.ts +9 -2
- package/rules/stylistic/js/index.js +198 -236
- package/rules/stylistic/jsx/index.d.ts +8 -2
- package/rules/stylistic/jsx/index.js +81 -117
- package/rules/stylistic/plus/index.d.ts +6 -2
- package/rules/stylistic/plus/index.js +14 -50
- package/rules/stylistic/ts/index.d.ts +8 -2
- package/rules/stylistic/ts/index.js +135 -169
- package/rules/testing-library/index.js +41 -77
- package/rules/typescript-eslint/extension-rules.js +113 -116
- package/rules/typescript-eslint/index.d.ts +2 -0
- package/rules/typescript-eslint/index.js +9 -45
- package/rules/typescript-eslint/rules/typescript-eslint-naming-convention.d.ts +5 -0
- package/rules/typescript-eslint/rules/typescript-eslint-naming-convention.js +24 -30
- package/rules/typescript-eslint/supported-rules.d.ts +2 -0
- package/rules/typescript-eslint/supported-rules.js +256 -319
- package/rules/unicorn/index.d.ts +7 -2
- package/rules/unicorn/index.js +178 -209
- package/rules/unicorn/rules/prevent-abbreviations.d.ts +8 -0
- package/rules/unicorn/rules/prevent-abbreviations.js +30 -8
- package/rules.js +4 -14
- package/rxjs.d.ts +5 -0
- package/rxjs.js +21 -57
- package/testing-library.js +8 -11
|
@@ -1,24 +1,23 @@
|
|
|
1
|
-
|
|
2
|
-
Object.
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
return Object.assign({ bundledDependencies: true, devDependencies: false, optionalDependencies: false, peerDependencies: false }, overrides);
|
|
1
|
+
export function importNoExtraneousDependencies(overrides = {}) {
|
|
2
|
+
return Object.assign({
|
|
3
|
+
bundledDependencies: true,
|
|
4
|
+
devDependencies: false,
|
|
5
|
+
optionalDependencies: false,
|
|
6
|
+
peerDependencies: false
|
|
7
|
+
}, overrides);
|
|
9
8
|
}
|
|
10
|
-
function jsImportNoExtraneousDependencies(devDependencies = ['**/.*.js', '**/*.config.js', '**/gulpfile.js']) {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
9
|
+
export function jsImportNoExtraneousDependencies(devDependencies = ['**/.*.js', '**/*.config.js', '**/gulpfile.js']) {
|
|
10
|
+
return importNoExtraneousDependencies({
|
|
11
|
+
devDependencies
|
|
12
|
+
});
|
|
14
13
|
}
|
|
15
|
-
function jestImportNoExtraneousDependencies(devDependencies = ['**/*.@(spec|test).[jt]s?(x)']) {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
}
|
|
20
|
-
function cypressImportNoExtraneousDependencies(devDependencies = ['cypress/**/*.[jt]s']) {
|
|
21
|
-
return importNoExtraneousDependencies({
|
|
22
|
-
devDependencies,
|
|
23
|
-
});
|
|
14
|
+
export function jestImportNoExtraneousDependencies(devDependencies = ['**/*.@(spec|test).[jt]s?(x)']) {
|
|
15
|
+
return importNoExtraneousDependencies({
|
|
16
|
+
devDependencies
|
|
17
|
+
});
|
|
24
18
|
}
|
|
19
|
+
export function cypressImportNoExtraneousDependencies(devDependencies = ['cypress/**/*.[jt]s']) {
|
|
20
|
+
return importNoExtraneousDependencies({
|
|
21
|
+
devDependencies
|
|
22
|
+
});
|
|
23
|
+
}
|
|
@@ -1,29 +1,26 @@
|
|
|
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
|
-
'import/no-useless-path-segments': 'warn',
|
|
28
|
-
'import/no-webpack-loader-syntax': 'error',
|
|
29
|
-
};
|
|
1
|
+
export const staticAnalysisRules = {
|
|
2
|
+
'import/default': 'error',
|
|
3
|
+
'import/named': ['error', {
|
|
4
|
+
commonjs: false
|
|
5
|
+
}],
|
|
6
|
+
'import/namespace': 'error',
|
|
7
|
+
'import/no-absolute-path': 'error',
|
|
8
|
+
'import/no-cycle': ['error', {
|
|
9
|
+
ignoreExternal: true,
|
|
10
|
+
allowUnsafeDynamicCyclicDependency: false
|
|
11
|
+
}],
|
|
12
|
+
'import/no-dynamic-require': ['error', {
|
|
13
|
+
esmodule: true
|
|
14
|
+
}],
|
|
15
|
+
'import/no-internal-modules': 'off',
|
|
16
|
+
'import/no-relative-packages': 'warn',
|
|
17
|
+
'import/no-relative-parent-imports': 'off',
|
|
18
|
+
'import/no-restricted-paths': 'off',
|
|
19
|
+
'import/no-self-import': 'error',
|
|
20
|
+
'import/no-unresolved': ['error', {
|
|
21
|
+
caseSensitive: true,
|
|
22
|
+
caseSensitiveStrict: true
|
|
23
|
+
}],
|
|
24
|
+
'import/no-useless-path-segments': 'warn',
|
|
25
|
+
'import/no-webpack-loader-syntax': 'error'
|
|
26
|
+
};
|
|
@@ -1,36 +1,33 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
exports
|
|
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
|
-
'import/prefer-default-export': 'off',
|
|
36
|
-
};
|
|
1
|
+
export const styleGuideRules = {
|
|
2
|
+
'import/consistent-type-specifier-style': ['warn', 'prefer-inline'],
|
|
3
|
+
'import/dynamic-import-chunkname': 'off',
|
|
4
|
+
'import/exports-last': 'off',
|
|
5
|
+
'import/extensions': ['error', 'never', {
|
|
6
|
+
checkTypeImports: true
|
|
7
|
+
}],
|
|
8
|
+
'import/first': 'off',
|
|
9
|
+
'import/group-exports': 'off',
|
|
10
|
+
'import/max-dependencies': 'off',
|
|
11
|
+
'import/newline-after-import': ['warn', {
|
|
12
|
+
considerComments: true
|
|
13
|
+
}],
|
|
14
|
+
'import/no-anonymous-default-export': 'error',
|
|
15
|
+
'import/no-default-export': 'error',
|
|
16
|
+
'import/no-duplicates': ['warn', {
|
|
17
|
+
'considerQueryString': true,
|
|
18
|
+
'prefer-inline': true
|
|
19
|
+
}],
|
|
20
|
+
'import/no-named-default': 'error',
|
|
21
|
+
'import/no-named-export': 'off',
|
|
22
|
+
'import/no-namespace': 'off',
|
|
23
|
+
'import/no-unassigned-import': 'error',
|
|
24
|
+
'import/order': ['off', {
|
|
25
|
+
'groups': ['unknown', 'builtin', 'external', 'internal', 'parent', 'sibling', 'index'],
|
|
26
|
+
'newlines-between': 'always',
|
|
27
|
+
'alphabetize': {
|
|
28
|
+
order: 'asc',
|
|
29
|
+
caseInsensitive: false
|
|
30
|
+
}
|
|
31
|
+
}],
|
|
32
|
+
'import/prefer-default-export': 'off'
|
|
33
|
+
};
|
package/rules/jest/index.js
CHANGED
|
@@ -1,72 +1,98 @@
|
|
|
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
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
1
|
+
import eslintPluginJest from 'eslint-plugin-jest';
|
|
2
|
+
import { typescriptEslintJestRules } from "./typescript-eslint.js";
|
|
3
|
+
export const jestConfig = {
|
|
4
|
+
plugins: {
|
|
5
|
+
jest: eslintPluginJest
|
|
6
|
+
},
|
|
7
|
+
languageOptions: {
|
|
8
|
+
globals: eslintPluginJest.environments.globals.globals
|
|
9
|
+
},
|
|
10
|
+
rules: Object.assign(Object.assign({}, typescriptEslintJestRules), {
|
|
11
|
+
'jest/consistent-test-it': ['warn', {
|
|
12
|
+
fn: 'test',
|
|
13
|
+
withinDescribe: 'it'
|
|
14
|
+
}],
|
|
15
|
+
'jest/expect-expect': ['error', {
|
|
16
|
+
assertFunctionNames: ['expect', 'request.*.expect'],
|
|
17
|
+
additionalTestBlockFunctions: []
|
|
18
|
+
}],
|
|
19
|
+
'jest/max-expects': ['error', {
|
|
20
|
+
max: 5
|
|
21
|
+
}],
|
|
22
|
+
'jest/max-nested-describe': ['error', {
|
|
23
|
+
max: 4
|
|
24
|
+
}],
|
|
25
|
+
'jest/no-alias-methods': 'warn',
|
|
26
|
+
'jest/no-commented-out-tests': 'error',
|
|
27
|
+
'jest/no-conditional-expect': 'error',
|
|
28
|
+
'jest/no-conditional-in-test': 'error',
|
|
29
|
+
'jest/no-confusing-set-timeout': 'error',
|
|
30
|
+
'jest/no-deprecated-functions': 'warn',
|
|
31
|
+
'jest/no-disabled-tests': 'error',
|
|
32
|
+
'jest/no-done-callback': 'error',
|
|
33
|
+
'jest/no-duplicate-hooks': 'error',
|
|
34
|
+
'jest/no-export': 'error',
|
|
35
|
+
'jest/no-focused-tests': 'warn',
|
|
36
|
+
'jest/no-hooks': 'off',
|
|
37
|
+
'jest/no-identical-title': 'error',
|
|
38
|
+
'jest/no-interpolation-in-snapshots': 'error',
|
|
39
|
+
'jest/no-jasmine-globals': 'warn',
|
|
40
|
+
'jest/no-large-snapshots': 'error',
|
|
41
|
+
'jest/no-mocks-import': 'error',
|
|
42
|
+
'jest/no-restricted-jest-methods': 'off',
|
|
43
|
+
'jest/no-restricted-matchers': ['error', {
|
|
44
|
+
toBeFalsy: 'Avoid `toBeFalsy`',
|
|
45
|
+
toBeTruthy: 'Avoid `toBeTruthy`',
|
|
46
|
+
toMatchSnapshot: 'Use `toMatchInlineSnapshot()` instead',
|
|
47
|
+
toThrowErrorMatchingSnapshot: 'Use `toThrowErrorMatchingInlineSnapshot()` instead'
|
|
48
|
+
}],
|
|
49
|
+
'jest/no-standalone-expect': 'error',
|
|
50
|
+
'jest/no-test-prefixes': 'warn',
|
|
51
|
+
'jest/no-test-return-statement': 'error',
|
|
52
|
+
'jest/no-untyped-mock-factory': 'warn',
|
|
53
|
+
'jest/padding-around-after-all-blocks': 'warn',
|
|
54
|
+
'jest/padding-around-after-each-blocks': 'warn',
|
|
55
|
+
'jest/padding-around-all': 'warn',
|
|
56
|
+
'jest/padding-around-before-all-blocks': 'warn',
|
|
57
|
+
'jest/padding-around-before-each-blocks': 'warn',
|
|
58
|
+
'jest/padding-around-describe-blocks': 'warn',
|
|
59
|
+
'jest/padding-around-expect-groups': 'warn',
|
|
60
|
+
'jest/padding-around-test-blocks': 'warn',
|
|
61
|
+
'jest/prefer-called-with': 'error',
|
|
62
|
+
'jest/prefer-comparison-matcher': 'warn',
|
|
63
|
+
'jest/prefer-each': 'error',
|
|
64
|
+
'jest/prefer-equality-matcher': 'error',
|
|
65
|
+
'jest/prefer-expect-assertions': 'off',
|
|
66
|
+
'jest/prefer-expect-resolves': 'warn',
|
|
67
|
+
'jest/prefer-hooks-in-order': 'error',
|
|
68
|
+
'jest/prefer-hooks-on-top': 'error',
|
|
69
|
+
'jest/prefer-importing-jest-globals': 'warn',
|
|
70
|
+
'jest/prefer-jest-mocked': 'warn',
|
|
71
|
+
'jest/prefer-lowercase-title': ['error', {
|
|
72
|
+
allowedPrefixes: [],
|
|
73
|
+
ignore: [],
|
|
74
|
+
ignoreTopLevelDescribe: true
|
|
75
|
+
}],
|
|
76
|
+
'jest/prefer-mock-promise-shorthand': 'warn',
|
|
77
|
+
'jest/prefer-snapshot-hint': ['error', 'always'],
|
|
78
|
+
'jest/prefer-spy-on': 'warn',
|
|
79
|
+
'jest/prefer-strict-equal': 'warn',
|
|
80
|
+
'jest/prefer-to-be': 'warn',
|
|
81
|
+
'jest/prefer-to-contain': 'warn',
|
|
82
|
+
'jest/prefer-to-have-length': 'warn',
|
|
83
|
+
'jest/prefer-todo': 'warn',
|
|
84
|
+
'jest/require-hook': ['error', {
|
|
85
|
+
allowedFunctionCalls: []
|
|
86
|
+
}],
|
|
87
|
+
'jest/require-to-throw-message': 'error',
|
|
88
|
+
'jest/require-top-level-describe': 'error',
|
|
89
|
+
'jest/valid-describe-callback': 'error',
|
|
90
|
+
'jest/valid-expect-in-promise': 'error',
|
|
91
|
+
'jest/valid-expect': 'error',
|
|
92
|
+
'jest/valid-title': ['warn', {
|
|
93
|
+
ignoreTypeOfDescribeName: true,
|
|
94
|
+
ignoreTypeOfTestName: false,
|
|
95
|
+
ignoreSpaces: false
|
|
96
|
+
}]
|
|
97
|
+
})
|
|
98
|
+
};
|
|
@@ -1,8 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
ignoreStatic: false,
|
|
7
|
-
}],
|
|
8
|
-
};
|
|
1
|
+
export const typescriptEslintJestRules = {
|
|
2
|
+
'jest/unbound-method': ['error', {
|
|
3
|
+
ignoreStatic: false
|
|
4
|
+
}]
|
|
5
|
+
};
|
package/rules/jest-dom/index.js
CHANGED
|
@@ -1,55 +1,19 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
-
var ar = [];
|
|
22
|
-
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
-
return ar;
|
|
24
|
-
};
|
|
25
|
-
return ownKeys(o);
|
|
26
|
-
};
|
|
27
|
-
return function (mod) {
|
|
28
|
-
if (mod && mod.__esModule) return mod;
|
|
29
|
-
var result = {};
|
|
30
|
-
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
-
__setModuleDefault(result, mod);
|
|
32
|
-
return result;
|
|
33
|
-
};
|
|
34
|
-
})();
|
|
35
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
-
exports.jestDomConfig = void 0;
|
|
37
|
-
const eslintPluginJestDom = __importStar(require("eslint-plugin-jest-dom"));
|
|
38
|
-
exports.jestDomConfig = {
|
|
39
|
-
plugins: {
|
|
40
|
-
'jest-dom': eslintPluginJestDom,
|
|
41
|
-
},
|
|
42
|
-
rules: {
|
|
43
|
-
'jest-dom/prefer-checked': 'warn',
|
|
44
|
-
'jest-dom/prefer-empty': 'warn',
|
|
45
|
-
'jest-dom/prefer-enabled-disabled': 'warn',
|
|
46
|
-
'jest-dom/prefer-focus': 'warn',
|
|
47
|
-
'jest-dom/prefer-in-document': 'off',
|
|
48
|
-
'jest-dom/prefer-required': 'warn',
|
|
49
|
-
'jest-dom/prefer-to-have-attribute': 'warn',
|
|
50
|
-
'jest-dom/prefer-to-have-class': 'warn',
|
|
51
|
-
'jest-dom/prefer-to-have-style': 'warn',
|
|
52
|
-
'jest-dom/prefer-to-have-text-content': 'warn',
|
|
53
|
-
'jest-dom/prefer-to-have-value': 'warn',
|
|
54
|
-
},
|
|
55
|
-
};
|
|
1
|
+
import eslintPluginJestDom from 'eslint-plugin-jest-dom';
|
|
2
|
+
export const jestDomConfig = {
|
|
3
|
+
plugins: {
|
|
4
|
+
'jest-dom': eslintPluginJestDom
|
|
5
|
+
},
|
|
6
|
+
rules: {
|
|
7
|
+
'jest-dom/prefer-checked': 'warn',
|
|
8
|
+
'jest-dom/prefer-empty': 'warn',
|
|
9
|
+
'jest-dom/prefer-enabled-disabled': 'warn',
|
|
10
|
+
'jest-dom/prefer-focus': 'warn',
|
|
11
|
+
'jest-dom/prefer-in-document': 'off',
|
|
12
|
+
'jest-dom/prefer-required': 'warn',
|
|
13
|
+
'jest-dom/prefer-to-have-attribute': 'warn',
|
|
14
|
+
'jest-dom/prefer-to-have-class': 'warn',
|
|
15
|
+
'jest-dom/prefer-to-have-style': 'warn',
|
|
16
|
+
'jest-dom/prefer-to-have-text-content': 'warn',
|
|
17
|
+
'jest-dom/prefer-to-have-value': 'warn'
|
|
18
|
+
}
|
|
19
|
+
};
|
package/rules/jsdoc/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export declare const jsdocConfig: {
|
|
2
2
|
plugins: {
|
|
3
3
|
jsdoc: {
|
|
4
|
-
rules: Record<string, import("eslint").
|
|
4
|
+
rules: Record<string, import("@eslint/core").RuleDefinition<import("@eslint/core").RuleDefinitionTypeOptions>> | undefined;
|
|
5
5
|
};
|
|
6
6
|
};
|
|
7
7
|
settings: {
|