@croct/eslint-plugin 0.6.5 → 0.7.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/configs/javascript.js +13 -0
- package/configs/react.js +0 -4
- package/package.json +8 -9
- package/rules/argument-spacing/index.js +1 -1
- package/rules/complex-expression-spacing/index.js +1 -1
- package/rules/createRule.js +2 -2
- package/rules/jsx-attribute-spacing/index.js +1 -1
- package/rules/min-chained-call-depth/index.js +14 -15
- package/rules/newline-per-chained-call/index.js +6 -9
- package/rules/parameter-destructuring/index.js +6 -6
- package/configs/cypress.d.ts +0 -13
- package/configs/index.d.ts +0 -323
- package/configs/javascript.d.ts +0 -123
- package/configs/react.d.ts +0 -69
- package/configs/typescript.d.ts +0 -116
- package/index.d.ts +0 -358
- package/rules/argument-spacing/index.d.ts +0 -5
- package/rules/complex-expression-spacing/index.d.ts +0 -5
- package/rules/createRule.d.ts +0 -2
- package/rules/index.d.ts +0 -32
- package/rules/jsx-attribute-spacing/index.d.ts +0 -4
- package/rules/min-chained-call-depth/index.d.ts +0 -11
- package/rules/newline-per-chained-call/index.d.ts +0 -7
- package/rules/parameter-destructuring/index.d.ts +0 -3
package/configs/javascript.d.ts
DELETED
|
@@ -1,123 +0,0 @@
|
|
|
1
|
-
export declare const javascript: {
|
|
2
|
-
extends: string[];
|
|
3
|
-
plugins: string[];
|
|
4
|
-
rules: {
|
|
5
|
-
'@croct/argument-spacing': string;
|
|
6
|
-
'@croct/complex-expression-spacing': string;
|
|
7
|
-
'@croct/newline-per-chained-call': string;
|
|
8
|
-
'@croct/min-chained-call-depth': string;
|
|
9
|
-
'@croct/parameter-destructuring': string;
|
|
10
|
-
'eslint-comments/disable-enable-pair': (string | {
|
|
11
|
-
allowWholeFile: boolean;
|
|
12
|
-
})[];
|
|
13
|
-
'eslint-comments/require-description': string;
|
|
14
|
-
'eslint-comments/no-unused-disable': string;
|
|
15
|
-
'newline-per-chained-call': string;
|
|
16
|
-
'no-plusplus': string;
|
|
17
|
-
'array-bracket-newline': string[];
|
|
18
|
-
'multiline-ternary': string[];
|
|
19
|
-
'no-undef-init': string;
|
|
20
|
-
'jest/consistent-test-it': (string | {
|
|
21
|
-
fn: string;
|
|
22
|
-
})[];
|
|
23
|
-
'jest/no-large-snapshots': string;
|
|
24
|
-
'jest/prefer-expect-resolves': string;
|
|
25
|
-
'jest/prefer-lowercase-title': (string | {
|
|
26
|
-
ignore: string[];
|
|
27
|
-
})[];
|
|
28
|
-
'jest/prefer-spy-on': string;
|
|
29
|
-
'jest/require-top-level-describe': string;
|
|
30
|
-
'jest/prefer-to-contain': string;
|
|
31
|
-
'jest/prefer-hooks-on-top': string;
|
|
32
|
-
'jest/prefer-equality-matcher': string;
|
|
33
|
-
'jest/no-test-return-statement': string;
|
|
34
|
-
'function-call-argument-newline': string[];
|
|
35
|
-
'no-underscore-dangle': string;
|
|
36
|
-
'import/no-default-export': string;
|
|
37
|
-
'array-element-newline': string[];
|
|
38
|
-
'import-newlines/enforce': (string | {
|
|
39
|
-
items: number;
|
|
40
|
-
'max-len': number;
|
|
41
|
-
})[];
|
|
42
|
-
'no-smart-quotes/no-smart-quotes': string;
|
|
43
|
-
'no-shadow': string;
|
|
44
|
-
'import/prefer-default-export': string;
|
|
45
|
-
'import/no-extraneous-dependencies': string;
|
|
46
|
-
'no-use-before-define': (string | {
|
|
47
|
-
functions: boolean;
|
|
48
|
-
})[];
|
|
49
|
-
'arrow-parens': string[];
|
|
50
|
-
'class-methods-use-this': string;
|
|
51
|
-
'consistent-return': string;
|
|
52
|
-
'default-case': string;
|
|
53
|
-
'import/extensions': (string | {
|
|
54
|
-
d: string;
|
|
55
|
-
json: string;
|
|
56
|
-
})[];
|
|
57
|
-
'import/no-unresolved': string;
|
|
58
|
-
indent: (string | number | {
|
|
59
|
-
SwitchCase: number;
|
|
60
|
-
})[];
|
|
61
|
-
'linebreak-style': string[];
|
|
62
|
-
'max-classes-per-file': string;
|
|
63
|
-
'max-len': (string | {
|
|
64
|
-
code: number;
|
|
65
|
-
ignoreStrings: boolean;
|
|
66
|
-
ignoreComments: boolean;
|
|
67
|
-
ignoreTemplateLiterals: boolean;
|
|
68
|
-
ignoreTrailingComments: boolean;
|
|
69
|
-
ignoreUrls: boolean;
|
|
70
|
-
})[];
|
|
71
|
-
'no-await-in-loop': string;
|
|
72
|
-
'no-bitwise': string;
|
|
73
|
-
'no-continue': string;
|
|
74
|
-
'no-multiple-empty-lines': (string | {
|
|
75
|
-
max: number;
|
|
76
|
-
maxEOF: number;
|
|
77
|
-
maxBOF: number;
|
|
78
|
-
})[];
|
|
79
|
-
'no-unused-expressions': string;
|
|
80
|
-
'no-unused-vars': (string | {
|
|
81
|
-
args: string;
|
|
82
|
-
ignoreRestSiblings: boolean;
|
|
83
|
-
})[];
|
|
84
|
-
'no-restricted-syntax': string[];
|
|
85
|
-
'object-curly-newline': (string | {
|
|
86
|
-
multiline: boolean;
|
|
87
|
-
consistent: boolean;
|
|
88
|
-
})[];
|
|
89
|
-
'object-curly-spacing': string[];
|
|
90
|
-
'require-await': string;
|
|
91
|
-
'object-shorthand': string[];
|
|
92
|
-
'padding-line-between-statements': (string | {
|
|
93
|
-
blankLine: string;
|
|
94
|
-
prev: string;
|
|
95
|
-
next: string[];
|
|
96
|
-
} | {
|
|
97
|
-
blankLine: string;
|
|
98
|
-
prev: string[];
|
|
99
|
-
next: string[];
|
|
100
|
-
} | {
|
|
101
|
-
blankLine: string;
|
|
102
|
-
prev: string[];
|
|
103
|
-
next: string;
|
|
104
|
-
})[];
|
|
105
|
-
'no-useless-escape': string;
|
|
106
|
-
'newline-destructuring/newline': (string | {
|
|
107
|
-
maxLength: number;
|
|
108
|
-
itemsWithRest: number;
|
|
109
|
-
items: number;
|
|
110
|
-
})[];
|
|
111
|
-
};
|
|
112
|
-
overrides: {
|
|
113
|
-
files: string[];
|
|
114
|
-
extends: string[];
|
|
115
|
-
plugins: string[];
|
|
116
|
-
rules: {
|
|
117
|
-
'no-new-object': string;
|
|
118
|
-
};
|
|
119
|
-
env: {
|
|
120
|
-
jest: boolean;
|
|
121
|
-
};
|
|
122
|
-
}[];
|
|
123
|
-
};
|
package/configs/react.d.ts
DELETED
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
export declare const react: {
|
|
2
|
-
extends: string[];
|
|
3
|
-
plugins: string[];
|
|
4
|
-
rules: {
|
|
5
|
-
'@croct/jsx-attribute-spacing': string;
|
|
6
|
-
'react/destructuring-assignment': string;
|
|
7
|
-
'react/jsx-wrap-multilines': string;
|
|
8
|
-
'react/display-name': string;
|
|
9
|
-
'react/jsx-sort-props': (string | {
|
|
10
|
-
noSortAlphabetically: boolean;
|
|
11
|
-
multiline: string;
|
|
12
|
-
})[];
|
|
13
|
-
'jsx-quotes': string[];
|
|
14
|
-
'react/jsx-newline': (string | {
|
|
15
|
-
prevent: boolean;
|
|
16
|
-
})[];
|
|
17
|
-
'react/jsx-no-bind': (string | {
|
|
18
|
-
allowArrowFunctions: boolean;
|
|
19
|
-
allowBind: boolean;
|
|
20
|
-
allowFunctions: boolean;
|
|
21
|
-
})[];
|
|
22
|
-
'react/no-unstable-nested-components': (string | {
|
|
23
|
-
allowAsProps: boolean;
|
|
24
|
-
})[];
|
|
25
|
-
'react/jsx-no-useless-fragment': (string | {
|
|
26
|
-
allowExpressions: boolean;
|
|
27
|
-
})[];
|
|
28
|
-
'react/function-component-definition': string;
|
|
29
|
-
'testing-library/no-container': string;
|
|
30
|
-
'testing-library/no-node-access': string;
|
|
31
|
-
'testing-library/await-async-utils': string;
|
|
32
|
-
'jsx-a11y/aria-role': (string | {
|
|
33
|
-
ignoreNonDOM: boolean;
|
|
34
|
-
})[];
|
|
35
|
-
'react/jsx-uses-react': string;
|
|
36
|
-
'react/react-in-jsx-scope': string;
|
|
37
|
-
'react/jsx-one-expression-per-line': string;
|
|
38
|
-
'react/prop-types': string;
|
|
39
|
-
'react/require-default-props': string;
|
|
40
|
-
'react/jsx-fragments': string[];
|
|
41
|
-
'react-hooks/rules-of-hooks': string;
|
|
42
|
-
'react-hooks/exhaustive-deps': string;
|
|
43
|
-
'react/jsx-filename-extension': (number | {
|
|
44
|
-
extensions: string[];
|
|
45
|
-
})[];
|
|
46
|
-
'react/jsx-indent': (string | number)[];
|
|
47
|
-
'react/jsx-indent-props': string;
|
|
48
|
-
'react/jsx-props-no-spreading': string;
|
|
49
|
-
'no-restricted-imports': (string | {
|
|
50
|
-
name: string;
|
|
51
|
-
importNames: string[];
|
|
52
|
-
message: string;
|
|
53
|
-
})[];
|
|
54
|
-
'import/order': (string | {
|
|
55
|
-
groups: string[];
|
|
56
|
-
pathGroups: {
|
|
57
|
-
pattern: string;
|
|
58
|
-
group: string;
|
|
59
|
-
position: string;
|
|
60
|
-
}[];
|
|
61
|
-
pathGroupsExcludedImportTypes: string[];
|
|
62
|
-
'newlines-between': string;
|
|
63
|
-
alphabetize: {
|
|
64
|
-
order: string;
|
|
65
|
-
caseInsensitive: boolean;
|
|
66
|
-
};
|
|
67
|
-
})[];
|
|
68
|
-
};
|
|
69
|
-
};
|
package/configs/typescript.d.ts
DELETED
|
@@ -1,116 +0,0 @@
|
|
|
1
|
-
export declare const typescript: {
|
|
2
|
-
extends: string[];
|
|
3
|
-
plugins: string[];
|
|
4
|
-
overrides: ({
|
|
5
|
-
files: string[];
|
|
6
|
-
extends: string[];
|
|
7
|
-
parser: string;
|
|
8
|
-
rules: {
|
|
9
|
-
'import/export': string;
|
|
10
|
-
'@typescript-eslint/array-type': (string | {
|
|
11
|
-
default: string;
|
|
12
|
-
})[];
|
|
13
|
-
'@typescript-eslint/prefer-as-const': string;
|
|
14
|
-
'@typescript-eslint/adjacent-overload-signatures': string;
|
|
15
|
-
'@typescript-eslint/type-annotation-spacing': string;
|
|
16
|
-
'@typescript-eslint/semi': string[];
|
|
17
|
-
'@typescript-eslint/strict-boolean-expressions': (string | {
|
|
18
|
-
allowString: boolean;
|
|
19
|
-
allowNumber: boolean;
|
|
20
|
-
allowNullableObject: boolean;
|
|
21
|
-
})[];
|
|
22
|
-
'@typescript-eslint/prefer-optional-chain': string;
|
|
23
|
-
'no-shadow': string;
|
|
24
|
-
'@typescript-eslint/no-shadow': (string | {
|
|
25
|
-
ignoreTypeValueShadow: boolean;
|
|
26
|
-
ignoreFunctionTypeParameterNameValueShadow: boolean;
|
|
27
|
-
})[];
|
|
28
|
-
'@typescript-eslint/no-empty-interface': string;
|
|
29
|
-
'@typescript-eslint/explicit-member-accessibility': string[];
|
|
30
|
-
'@typescript-eslint/explicit-module-boundary-types': string;
|
|
31
|
-
'@typescript-eslint/explicit-function-return-type': string[];
|
|
32
|
-
'@typescript-eslint/no-explicit-any': string;
|
|
33
|
-
'no-use-before-define': string;
|
|
34
|
-
'@typescript-eslint/no-use-before-define': (string | {
|
|
35
|
-
functions: boolean;
|
|
36
|
-
})[];
|
|
37
|
-
'no-unused-expressions': string;
|
|
38
|
-
'@typescript-eslint/no-unused-expressions': string;
|
|
39
|
-
indent: (string | number | {
|
|
40
|
-
SwitchCase: number;
|
|
41
|
-
})[];
|
|
42
|
-
'@typescript-eslint/no-unused-vars': (string | {
|
|
43
|
-
args: string;
|
|
44
|
-
ignoreRestSiblings: boolean;
|
|
45
|
-
})[];
|
|
46
|
-
'no-unused-vars': string;
|
|
47
|
-
'@typescript-eslint/no-non-null-assertion': string;
|
|
48
|
-
'object-curly-spacing': string;
|
|
49
|
-
'@typescript-eslint/object-curly-spacing': string;
|
|
50
|
-
'@typescript-eslint/member-delimiter-style': (string | {
|
|
51
|
-
multiline: {
|
|
52
|
-
delimiter: string;
|
|
53
|
-
requireLast: boolean;
|
|
54
|
-
};
|
|
55
|
-
singleline: {
|
|
56
|
-
delimiter: string;
|
|
57
|
-
requireLast: boolean;
|
|
58
|
-
};
|
|
59
|
-
overrides: {
|
|
60
|
-
interface: {
|
|
61
|
-
singleline: {
|
|
62
|
-
delimiter: string;
|
|
63
|
-
};
|
|
64
|
-
multiline: {
|
|
65
|
-
delimiter: string;
|
|
66
|
-
};
|
|
67
|
-
};
|
|
68
|
-
};
|
|
69
|
-
})[];
|
|
70
|
-
'no-undef': string;
|
|
71
|
-
'@typescript-eslint/no-namespace': string;
|
|
72
|
-
'no-new-object'?: undefined;
|
|
73
|
-
};
|
|
74
|
-
plugins?: undefined;
|
|
75
|
-
env?: undefined;
|
|
76
|
-
} | {
|
|
77
|
-
files: string[];
|
|
78
|
-
extends: string[];
|
|
79
|
-
plugins: string[];
|
|
80
|
-
rules: {
|
|
81
|
-
'no-new-object': string;
|
|
82
|
-
'import/export'?: undefined;
|
|
83
|
-
'@typescript-eslint/array-type'?: undefined;
|
|
84
|
-
'@typescript-eslint/prefer-as-const'?: undefined;
|
|
85
|
-
'@typescript-eslint/adjacent-overload-signatures'?: undefined;
|
|
86
|
-
'@typescript-eslint/type-annotation-spacing'?: undefined;
|
|
87
|
-
'@typescript-eslint/semi'?: undefined;
|
|
88
|
-
'@typescript-eslint/strict-boolean-expressions'?: undefined;
|
|
89
|
-
'@typescript-eslint/prefer-optional-chain'?: undefined;
|
|
90
|
-
'no-shadow'?: undefined;
|
|
91
|
-
'@typescript-eslint/no-shadow'?: undefined;
|
|
92
|
-
'@typescript-eslint/no-empty-interface'?: undefined;
|
|
93
|
-
'@typescript-eslint/explicit-member-accessibility'?: undefined;
|
|
94
|
-
'@typescript-eslint/explicit-module-boundary-types'?: undefined;
|
|
95
|
-
'@typescript-eslint/explicit-function-return-type'?: undefined;
|
|
96
|
-
'@typescript-eslint/no-explicit-any'?: undefined;
|
|
97
|
-
'no-use-before-define'?: undefined;
|
|
98
|
-
'@typescript-eslint/no-use-before-define'?: undefined;
|
|
99
|
-
'no-unused-expressions'?: undefined;
|
|
100
|
-
'@typescript-eslint/no-unused-expressions'?: undefined;
|
|
101
|
-
indent?: undefined;
|
|
102
|
-
'@typescript-eslint/no-unused-vars'?: undefined;
|
|
103
|
-
'no-unused-vars'?: undefined;
|
|
104
|
-
'@typescript-eslint/no-non-null-assertion'?: undefined;
|
|
105
|
-
'object-curly-spacing'?: undefined;
|
|
106
|
-
'@typescript-eslint/object-curly-spacing'?: undefined;
|
|
107
|
-
'@typescript-eslint/member-delimiter-style'?: undefined;
|
|
108
|
-
'no-undef'?: undefined;
|
|
109
|
-
'@typescript-eslint/no-namespace'?: undefined;
|
|
110
|
-
};
|
|
111
|
-
env: {
|
|
112
|
-
jest: boolean;
|
|
113
|
-
};
|
|
114
|
-
parser?: undefined;
|
|
115
|
-
})[];
|
|
116
|
-
};
|
package/index.d.ts
DELETED
|
@@ -1,358 +0,0 @@
|
|
|
1
|
-
declare const configuration: {
|
|
2
|
-
rules: {
|
|
3
|
-
'argument-spacing': import("@typescript-eslint/utils/dist/ts-eslint/Rule").RuleModule<"missing", never[], {
|
|
4
|
-
CallExpression: (node: import("@typescript-eslint/types/dist/generated/ast-spec").CallExpression | import("@typescript-eslint/types/dist/generated/ast-spec").NewExpression) => void;
|
|
5
|
-
NewExpression: (node: import("@typescript-eslint/types/dist/generated/ast-spec").CallExpression | import("@typescript-eslint/types/dist/generated/ast-spec").NewExpression) => void;
|
|
6
|
-
}>;
|
|
7
|
-
'jsx-attribute-spacing': import("@typescript-eslint/utils/dist/ts-eslint/Rule").RuleModule<"missing", never[], {
|
|
8
|
-
JSXAttribute: (node: import("@typescript-eslint/types/dist/generated/ast-spec").JSXAttribute) => void;
|
|
9
|
-
}>;
|
|
10
|
-
'complex-expression-spacing': import("@typescript-eslint/utils/dist/ts-eslint/Rule").RuleModule<"missing", never[], {
|
|
11
|
-
ArrowFunctionExpression: (node: import("@typescript-eslint/types/dist/generated/ast-spec").ArrowFunctionExpression) => void;
|
|
12
|
-
IfStatement: (node: import("@typescript-eslint/types/dist/generated/ast-spec").IfStatement) => void;
|
|
13
|
-
}>;
|
|
14
|
-
'newline-per-chained-call': import("@typescript-eslint/utils/dist/ts-eslint/Rule").RuleModule<"expectedLineBreak", {
|
|
15
|
-
ignoreChainDeeperThan: number;
|
|
16
|
-
}[], {
|
|
17
|
-
CallExpression: (node: import("@typescript-eslint/types/dist/generated/ast-spec").CallExpression) => void;
|
|
18
|
-
MemberExpression: (node: import("@typescript-eslint/types/dist/generated/ast-spec").MemberExpression) => void;
|
|
19
|
-
}>;
|
|
20
|
-
'min-chained-call-depth': import("@typescript-eslint/utils/dist/ts-eslint/Rule").RuleModule<"unexpectedLineBreak", ({
|
|
21
|
-
maxLineLength: number;
|
|
22
|
-
ignoreChainDeeperThan?: undefined;
|
|
23
|
-
} | {
|
|
24
|
-
ignoreChainDeeperThan: number;
|
|
25
|
-
maxLineLength?: undefined;
|
|
26
|
-
})[], {
|
|
27
|
-
CallExpression: (node: import("@typescript-eslint/types/dist/generated/ast-spec").CallExpression) => void;
|
|
28
|
-
MemberExpression: (node: import("@typescript-eslint/types/dist/generated/ast-spec").MemberExpression) => void;
|
|
29
|
-
}>;
|
|
30
|
-
'parameter-destructuring': import("@typescript-eslint/utils/dist/ts-eslint/Rule").RuleModule<"unexpectedDestructuring", never[], {
|
|
31
|
-
ObjectPattern: (node: import("@typescript-eslint/types/dist/generated/ast-spec").ObjectPattern) => void;
|
|
32
|
-
}>;
|
|
33
|
-
};
|
|
34
|
-
configs: {
|
|
35
|
-
cypress: {
|
|
36
|
-
extends: string[];
|
|
37
|
-
plugins: string[];
|
|
38
|
-
rules: {
|
|
39
|
-
'no-loop-func': number;
|
|
40
|
-
'cypress/no-assigning-return-values': string;
|
|
41
|
-
'cypress/no-unnecessary-waiting': string;
|
|
42
|
-
'cypress/assertion-before-screenshot': string;
|
|
43
|
-
'cypress/no-async-tests': string;
|
|
44
|
-
'cypress/no-pause': string;
|
|
45
|
-
'@typescript-eslint/no-namespace': string;
|
|
46
|
-
};
|
|
47
|
-
};
|
|
48
|
-
react: {
|
|
49
|
-
extends: string[];
|
|
50
|
-
plugins: string[];
|
|
51
|
-
rules: {
|
|
52
|
-
'@croct/jsx-attribute-spacing': string;
|
|
53
|
-
'react/destructuring-assignment': string;
|
|
54
|
-
'react/jsx-wrap-multilines': string;
|
|
55
|
-
'react/display-name': string;
|
|
56
|
-
'react/jsx-sort-props': (string | {
|
|
57
|
-
noSortAlphabetically: boolean;
|
|
58
|
-
multiline: string;
|
|
59
|
-
})[];
|
|
60
|
-
'jsx-quotes': string[];
|
|
61
|
-
'react/jsx-newline': (string | {
|
|
62
|
-
prevent: boolean;
|
|
63
|
-
})[];
|
|
64
|
-
'react/jsx-no-bind': (string | {
|
|
65
|
-
allowArrowFunctions: boolean;
|
|
66
|
-
allowBind: boolean;
|
|
67
|
-
allowFunctions: boolean;
|
|
68
|
-
})[];
|
|
69
|
-
'react/no-unstable-nested-components': (string | {
|
|
70
|
-
allowAsProps: boolean;
|
|
71
|
-
})[];
|
|
72
|
-
'react/jsx-no-useless-fragment': (string | {
|
|
73
|
-
allowExpressions: boolean;
|
|
74
|
-
})[];
|
|
75
|
-
'react/function-component-definition': string;
|
|
76
|
-
'testing-library/no-container': string;
|
|
77
|
-
'testing-library/no-node-access': string;
|
|
78
|
-
'testing-library/await-async-utils': string;
|
|
79
|
-
'jsx-a11y/aria-role': (string | {
|
|
80
|
-
ignoreNonDOM: boolean;
|
|
81
|
-
})[];
|
|
82
|
-
'react/jsx-uses-react': string;
|
|
83
|
-
'react/react-in-jsx-scope': string;
|
|
84
|
-
'react/jsx-one-expression-per-line': string;
|
|
85
|
-
'react/prop-types': string;
|
|
86
|
-
'react/require-default-props': string;
|
|
87
|
-
'react/jsx-fragments': string[];
|
|
88
|
-
'react-hooks/rules-of-hooks': string;
|
|
89
|
-
'react-hooks/exhaustive-deps': string;
|
|
90
|
-
'react/jsx-filename-extension': (number | {
|
|
91
|
-
extensions: string[];
|
|
92
|
-
})[];
|
|
93
|
-
'react/jsx-indent': (string | number)[];
|
|
94
|
-
'react/jsx-indent-props': string;
|
|
95
|
-
'react/jsx-props-no-spreading': string;
|
|
96
|
-
'no-restricted-imports': (string | {
|
|
97
|
-
name: string;
|
|
98
|
-
importNames: string[];
|
|
99
|
-
message: string;
|
|
100
|
-
})[];
|
|
101
|
-
'import/order': (string | {
|
|
102
|
-
groups: string[];
|
|
103
|
-
pathGroups: {
|
|
104
|
-
pattern: string;
|
|
105
|
-
group: string;
|
|
106
|
-
position: string;
|
|
107
|
-
}[];
|
|
108
|
-
pathGroupsExcludedImportTypes: string[];
|
|
109
|
-
'newlines-between': string;
|
|
110
|
-
alphabetize: {
|
|
111
|
-
order: string;
|
|
112
|
-
caseInsensitive: boolean;
|
|
113
|
-
};
|
|
114
|
-
})[];
|
|
115
|
-
};
|
|
116
|
-
};
|
|
117
|
-
typescript: {
|
|
118
|
-
extends: string[];
|
|
119
|
-
plugins: string[];
|
|
120
|
-
overrides: ({
|
|
121
|
-
files: string[];
|
|
122
|
-
extends: string[];
|
|
123
|
-
parser: string;
|
|
124
|
-
rules: {
|
|
125
|
-
'import/export': string;
|
|
126
|
-
'@typescript-eslint/array-type': (string | {
|
|
127
|
-
default: string;
|
|
128
|
-
})[];
|
|
129
|
-
'@typescript-eslint/prefer-as-const': string;
|
|
130
|
-
'@typescript-eslint/adjacent-overload-signatures': string;
|
|
131
|
-
'@typescript-eslint/type-annotation-spacing': string;
|
|
132
|
-
'@typescript-eslint/semi': string[];
|
|
133
|
-
'@typescript-eslint/strict-boolean-expressions': (string | {
|
|
134
|
-
allowString: boolean;
|
|
135
|
-
allowNumber: boolean;
|
|
136
|
-
allowNullableObject: boolean;
|
|
137
|
-
})[];
|
|
138
|
-
'@typescript-eslint/prefer-optional-chain': string;
|
|
139
|
-
'no-shadow': string;
|
|
140
|
-
'@typescript-eslint/no-shadow': (string | {
|
|
141
|
-
ignoreTypeValueShadow: boolean;
|
|
142
|
-
ignoreFunctionTypeParameterNameValueShadow: boolean;
|
|
143
|
-
})[];
|
|
144
|
-
'@typescript-eslint/no-empty-interface': string;
|
|
145
|
-
'@typescript-eslint/explicit-member-accessibility': string[];
|
|
146
|
-
'@typescript-eslint/explicit-module-boundary-types': string;
|
|
147
|
-
'@typescript-eslint/explicit-function-return-type': string[];
|
|
148
|
-
'@typescript-eslint/no-explicit-any': string;
|
|
149
|
-
'no-use-before-define': string;
|
|
150
|
-
'@typescript-eslint/no-use-before-define': (string | {
|
|
151
|
-
functions: boolean;
|
|
152
|
-
})[];
|
|
153
|
-
'no-unused-expressions': string;
|
|
154
|
-
'@typescript-eslint/no-unused-expressions': string;
|
|
155
|
-
indent: (string | number | {
|
|
156
|
-
SwitchCase: number;
|
|
157
|
-
})[];
|
|
158
|
-
'@typescript-eslint/no-unused-vars': (string | {
|
|
159
|
-
args: string;
|
|
160
|
-
ignoreRestSiblings: boolean;
|
|
161
|
-
})[];
|
|
162
|
-
'no-unused-vars': string;
|
|
163
|
-
'@typescript-eslint/no-non-null-assertion': string;
|
|
164
|
-
'object-curly-spacing': string;
|
|
165
|
-
'@typescript-eslint/object-curly-spacing': string;
|
|
166
|
-
'@typescript-eslint/member-delimiter-style': (string | {
|
|
167
|
-
multiline: {
|
|
168
|
-
delimiter: string;
|
|
169
|
-
requireLast: boolean;
|
|
170
|
-
};
|
|
171
|
-
singleline: {
|
|
172
|
-
delimiter: string;
|
|
173
|
-
requireLast: boolean;
|
|
174
|
-
};
|
|
175
|
-
overrides: {
|
|
176
|
-
interface: {
|
|
177
|
-
singleline: {
|
|
178
|
-
delimiter: string;
|
|
179
|
-
};
|
|
180
|
-
multiline: {
|
|
181
|
-
delimiter: string;
|
|
182
|
-
};
|
|
183
|
-
};
|
|
184
|
-
};
|
|
185
|
-
})[];
|
|
186
|
-
'no-undef': string;
|
|
187
|
-
'@typescript-eslint/no-namespace': string;
|
|
188
|
-
'no-new-object'?: undefined;
|
|
189
|
-
};
|
|
190
|
-
plugins?: undefined;
|
|
191
|
-
env?: undefined;
|
|
192
|
-
} | {
|
|
193
|
-
files: string[];
|
|
194
|
-
extends: string[];
|
|
195
|
-
plugins: string[];
|
|
196
|
-
rules: {
|
|
197
|
-
'no-new-object': string;
|
|
198
|
-
'import/export'?: undefined;
|
|
199
|
-
'@typescript-eslint/array-type'?: undefined;
|
|
200
|
-
'@typescript-eslint/prefer-as-const'?: undefined;
|
|
201
|
-
'@typescript-eslint/adjacent-overload-signatures'?: undefined;
|
|
202
|
-
'@typescript-eslint/type-annotation-spacing'?: undefined;
|
|
203
|
-
'@typescript-eslint/semi'?: undefined;
|
|
204
|
-
'@typescript-eslint/strict-boolean-expressions'?: undefined;
|
|
205
|
-
'@typescript-eslint/prefer-optional-chain'?: undefined;
|
|
206
|
-
'no-shadow'?: undefined;
|
|
207
|
-
'@typescript-eslint/no-shadow'?: undefined;
|
|
208
|
-
'@typescript-eslint/no-empty-interface'?: undefined;
|
|
209
|
-
'@typescript-eslint/explicit-member-accessibility'?: undefined;
|
|
210
|
-
'@typescript-eslint/explicit-module-boundary-types'?: undefined;
|
|
211
|
-
'@typescript-eslint/explicit-function-return-type'?: undefined;
|
|
212
|
-
'@typescript-eslint/no-explicit-any'?: undefined;
|
|
213
|
-
'no-use-before-define'?: undefined;
|
|
214
|
-
'@typescript-eslint/no-use-before-define'?: undefined;
|
|
215
|
-
'no-unused-expressions'?: undefined;
|
|
216
|
-
'@typescript-eslint/no-unused-expressions'?: undefined;
|
|
217
|
-
indent?: undefined;
|
|
218
|
-
'@typescript-eslint/no-unused-vars'?: undefined;
|
|
219
|
-
'no-unused-vars'?: undefined;
|
|
220
|
-
'@typescript-eslint/no-non-null-assertion'?: undefined;
|
|
221
|
-
'object-curly-spacing'?: undefined;
|
|
222
|
-
'@typescript-eslint/object-curly-spacing'?: undefined;
|
|
223
|
-
'@typescript-eslint/member-delimiter-style'?: undefined;
|
|
224
|
-
'no-undef'?: undefined;
|
|
225
|
-
'@typescript-eslint/no-namespace'?: undefined;
|
|
226
|
-
};
|
|
227
|
-
env: {
|
|
228
|
-
jest: boolean;
|
|
229
|
-
};
|
|
230
|
-
parser?: undefined;
|
|
231
|
-
})[];
|
|
232
|
-
};
|
|
233
|
-
javascript: {
|
|
234
|
-
extends: string[];
|
|
235
|
-
plugins: string[];
|
|
236
|
-
rules: {
|
|
237
|
-
'@croct/argument-spacing': string;
|
|
238
|
-
'@croct/complex-expression-spacing': string;
|
|
239
|
-
'@croct/newline-per-chained-call': string;
|
|
240
|
-
'@croct/min-chained-call-depth': string;
|
|
241
|
-
'@croct/parameter-destructuring': string;
|
|
242
|
-
'eslint-comments/disable-enable-pair': (string | {
|
|
243
|
-
allowWholeFile: boolean;
|
|
244
|
-
})[];
|
|
245
|
-
'eslint-comments/require-description': string;
|
|
246
|
-
'eslint-comments/no-unused-disable': string;
|
|
247
|
-
'newline-per-chained-call': string;
|
|
248
|
-
'no-plusplus': string;
|
|
249
|
-
'array-bracket-newline': string[];
|
|
250
|
-
'multiline-ternary': string[];
|
|
251
|
-
'no-undef-init': string;
|
|
252
|
-
'jest/consistent-test-it': (string | {
|
|
253
|
-
fn: string;
|
|
254
|
-
})[];
|
|
255
|
-
'jest/no-large-snapshots': string;
|
|
256
|
-
'jest/prefer-expect-resolves': string;
|
|
257
|
-
'jest/prefer-lowercase-title': (string | {
|
|
258
|
-
ignore: string[];
|
|
259
|
-
})[];
|
|
260
|
-
'jest/prefer-spy-on': string;
|
|
261
|
-
'jest/require-top-level-describe': string;
|
|
262
|
-
'jest/prefer-to-contain': string;
|
|
263
|
-
'jest/prefer-hooks-on-top': string;
|
|
264
|
-
'jest/prefer-equality-matcher': string;
|
|
265
|
-
'jest/no-test-return-statement': string;
|
|
266
|
-
'function-call-argument-newline': string[];
|
|
267
|
-
'no-underscore-dangle': string;
|
|
268
|
-
'import/no-default-export': string;
|
|
269
|
-
'array-element-newline': string[];
|
|
270
|
-
'import-newlines/enforce': (string | {
|
|
271
|
-
items: number;
|
|
272
|
-
'max-len': number;
|
|
273
|
-
})[];
|
|
274
|
-
'no-smart-quotes/no-smart-quotes': string;
|
|
275
|
-
'no-shadow': string;
|
|
276
|
-
'import/prefer-default-export': string;
|
|
277
|
-
'import/no-extraneous-dependencies': string;
|
|
278
|
-
'no-use-before-define': (string | {
|
|
279
|
-
functions: boolean;
|
|
280
|
-
})[];
|
|
281
|
-
'arrow-parens': string[];
|
|
282
|
-
'class-methods-use-this': string;
|
|
283
|
-
'consistent-return': string;
|
|
284
|
-
'default-case': string;
|
|
285
|
-
'import/extensions': (string | {
|
|
286
|
-
d: string;
|
|
287
|
-
json: string;
|
|
288
|
-
})[];
|
|
289
|
-
'import/no-unresolved': string;
|
|
290
|
-
indent: (string | number | {
|
|
291
|
-
SwitchCase: number;
|
|
292
|
-
})[];
|
|
293
|
-
'linebreak-style': string[];
|
|
294
|
-
'max-classes-per-file': string;
|
|
295
|
-
'max-len': (string | {
|
|
296
|
-
code: number;
|
|
297
|
-
ignoreStrings: boolean;
|
|
298
|
-
ignoreComments: boolean;
|
|
299
|
-
ignoreTemplateLiterals: boolean;
|
|
300
|
-
ignoreTrailingComments: boolean;
|
|
301
|
-
ignoreUrls: boolean;
|
|
302
|
-
})[];
|
|
303
|
-
'no-await-in-loop': string;
|
|
304
|
-
'no-bitwise': string;
|
|
305
|
-
'no-continue': string;
|
|
306
|
-
'no-multiple-empty-lines': (string | {
|
|
307
|
-
max: number;
|
|
308
|
-
maxEOF: number;
|
|
309
|
-
maxBOF: number;
|
|
310
|
-
})[];
|
|
311
|
-
'no-unused-expressions': string;
|
|
312
|
-
'no-unused-vars': (string | {
|
|
313
|
-
args: string;
|
|
314
|
-
ignoreRestSiblings: boolean;
|
|
315
|
-
})[];
|
|
316
|
-
'no-restricted-syntax': string[];
|
|
317
|
-
'object-curly-newline': (string | {
|
|
318
|
-
multiline: boolean;
|
|
319
|
-
consistent: boolean;
|
|
320
|
-
})[];
|
|
321
|
-
'object-curly-spacing': string[];
|
|
322
|
-
'require-await': string;
|
|
323
|
-
'object-shorthand': string[];
|
|
324
|
-
'padding-line-between-statements': (string | {
|
|
325
|
-
blankLine: string;
|
|
326
|
-
prev: string;
|
|
327
|
-
next: string[];
|
|
328
|
-
} | {
|
|
329
|
-
blankLine: string;
|
|
330
|
-
prev: string[];
|
|
331
|
-
next: string[];
|
|
332
|
-
} | {
|
|
333
|
-
blankLine: string;
|
|
334
|
-
prev: string[];
|
|
335
|
-
next: string;
|
|
336
|
-
})[];
|
|
337
|
-
'no-useless-escape': string;
|
|
338
|
-
'newline-destructuring/newline': (string | {
|
|
339
|
-
maxLength: number;
|
|
340
|
-
itemsWithRest: number;
|
|
341
|
-
items: number;
|
|
342
|
-
})[];
|
|
343
|
-
};
|
|
344
|
-
overrides: {
|
|
345
|
-
files: string[];
|
|
346
|
-
extends: string[];
|
|
347
|
-
plugins: string[];
|
|
348
|
-
rules: {
|
|
349
|
-
'no-new-object': string;
|
|
350
|
-
};
|
|
351
|
-
env: {
|
|
352
|
-
jest: boolean;
|
|
353
|
-
};
|
|
354
|
-
}[];
|
|
355
|
-
};
|
|
356
|
-
};
|
|
357
|
-
};
|
|
358
|
-
export = configuration;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { TSESTree } from '@typescript-eslint/experimental-utils';
|
|
2
|
-
export declare const argumentSpacing: import("@typescript-eslint/utils/dist/ts-eslint/Rule").RuleModule<"missing", never[], {
|
|
3
|
-
CallExpression: (node: TSESTree.NewExpression | TSESTree.CallExpression) => void;
|
|
4
|
-
NewExpression: (node: TSESTree.NewExpression | TSESTree.CallExpression) => void;
|
|
5
|
-
}>;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { TSESTree } from '@typescript-eslint/experimental-utils';
|
|
2
|
-
export declare const complexExpressionSpacing: import("@typescript-eslint/utils/dist/ts-eslint/Rule").RuleModule<"missing", never[], {
|
|
3
|
-
ArrowFunctionExpression: (node: TSESTree.ArrowFunctionExpression) => void;
|
|
4
|
-
IfStatement: (node: TSESTree.IfStatement) => void;
|
|
5
|
-
}>;
|