linted 21.0.0-rc.11 → 21.0.0-rc.12
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/dist/rules/index.d.ts +694 -4
- package/dist/rules/index.d.ts.map +1 -1
- package/dist/rules/json/enable.d.ts +135 -1
- package/dist/rules/json/enable.d.ts.map +1 -1
- package/dist/rules/json/enable.js +172 -2
- package/dist/rules/json/enable.js.map +1 -1
- package/dist/rules/json/index.d.ts +347 -2
- package/dist/rules/json/index.d.ts.map +1 -1
- package/dist/rules/json/index.js +2 -2
- package/dist/rules/json/index.js.map +1 -1
- package/package.json +1 -1
- package/src/rules/json/enable.ts +175 -0
- package/src/rules/json/index.ts +2 -2
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/rules/index.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/rules/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AASA,wBASE"}
|
@@ -1,3 +1,137 @@
|
|
1
|
-
declare const _default: readonly ["enable", {
|
1
|
+
declare const _default: readonly ["enable", {
|
2
|
+
readonly "array-bracket-newline": readonly ["error", {
|
3
|
+
readonly multiline: true;
|
4
|
+
readonly minItems: null;
|
5
|
+
}];
|
6
|
+
readonly "array-bracket-spacing": readonly ["error", "never", {
|
7
|
+
readonly singleValue: false;
|
8
|
+
readonly objectsInArrays: false;
|
9
|
+
readonly arraysInArrays: false;
|
10
|
+
}];
|
11
|
+
readonly "array-element-newline": readonly ["error", {
|
12
|
+
readonly ArrayExpression: {
|
13
|
+
readonly consistent: true;
|
14
|
+
readonly multiline: true;
|
15
|
+
readonly minItems: 4;
|
16
|
+
};
|
17
|
+
readonly ArrayPattern: {
|
18
|
+
readonly consistent: true;
|
19
|
+
readonly multiline: true;
|
20
|
+
readonly minItems: 4;
|
21
|
+
};
|
22
|
+
}];
|
23
|
+
readonly "brace-style": readonly ["error", "stroustrup", {
|
24
|
+
readonly allowSingleLine: true;
|
25
|
+
}];
|
26
|
+
readonly "comma-dangle": readonly ["error", "always-multiline"];
|
27
|
+
readonly "comma-spacing": readonly ["error", {
|
28
|
+
readonly before: false;
|
29
|
+
readonly after: true;
|
30
|
+
}];
|
31
|
+
readonly "comma-style": readonly ["error", "last", {
|
32
|
+
readonly exceptions: {
|
33
|
+
readonly ArrayExpression: false;
|
34
|
+
readonly ArrayPattern: false;
|
35
|
+
readonly ArrowFunctionExpression: false;
|
36
|
+
readonly CallExpression: false;
|
37
|
+
readonly FunctionDeclaration: false;
|
38
|
+
readonly FunctionExpression: false;
|
39
|
+
readonly ImportDeclaration: false;
|
40
|
+
readonly ObjectExpression: false;
|
41
|
+
readonly ObjectPattern: false;
|
42
|
+
readonly VariableDeclaration: false;
|
43
|
+
readonly NewExpression: false;
|
44
|
+
};
|
45
|
+
}];
|
46
|
+
readonly "eol-last": readonly ["error", "always"];
|
47
|
+
readonly "key-spacing": readonly ["error", {
|
48
|
+
readonly beforeColon: false;
|
49
|
+
readonly afterColon: true;
|
50
|
+
readonly mode: "strict";
|
51
|
+
}];
|
52
|
+
readonly indent: readonly ["error", 2, {
|
53
|
+
readonly ignoredNodes: readonly [];
|
54
|
+
readonly SwitchCase: 1;
|
55
|
+
readonly VariableDeclarator: {
|
56
|
+
readonly var: 0;
|
57
|
+
readonly let: 0;
|
58
|
+
readonly const: 0;
|
59
|
+
};
|
60
|
+
readonly outerIIFEBody: 0;
|
61
|
+
readonly MemberExpression: 1;
|
62
|
+
readonly FunctionDeclaration: {
|
63
|
+
readonly parameters: 1;
|
64
|
+
readonly body: 1;
|
65
|
+
};
|
66
|
+
readonly FunctionExpression: {
|
67
|
+
readonly parameters: 1;
|
68
|
+
readonly body: 1;
|
69
|
+
};
|
70
|
+
readonly StaticBlock: {
|
71
|
+
readonly body: 1;
|
72
|
+
};
|
73
|
+
readonly CallExpression: {
|
74
|
+
readonly arguments: 1;
|
75
|
+
};
|
76
|
+
readonly ArrayExpression: 1;
|
77
|
+
readonly ObjectExpression: 1;
|
78
|
+
readonly ImportDeclaration: 1;
|
79
|
+
readonly flatTernaryExpressions: false;
|
80
|
+
readonly offsetTernaryExpressions: true;
|
81
|
+
readonly ignoreComments: false;
|
82
|
+
}];
|
83
|
+
readonly "no-mixed-spaces-and-tabs": "error";
|
84
|
+
readonly "no-multi-spaces": readonly ["error", {
|
85
|
+
readonly ignoreEOLComments: false;
|
86
|
+
readonly exceptions: {
|
87
|
+
readonly Property: false;
|
88
|
+
readonly ImportAttributes: false;
|
89
|
+
};
|
90
|
+
readonly includeTabs: true;
|
91
|
+
}];
|
92
|
+
readonly "no-multiple-empty-lines": readonly ["error", {
|
93
|
+
readonly max: 1;
|
94
|
+
readonly maxEOF: 1;
|
95
|
+
readonly maxBOF: 0;
|
96
|
+
}];
|
97
|
+
readonly "no-tabs": readonly ["error", {
|
98
|
+
readonly allowIndentationTabs: false;
|
99
|
+
}];
|
100
|
+
readonly "no-trailing-spaces": readonly ["error", {
|
101
|
+
readonly skipBlankLines: false;
|
102
|
+
readonly ignoreComments: false;
|
103
|
+
}];
|
104
|
+
readonly "no-whitespace-before-property": "error";
|
105
|
+
readonly "object-curly-newline": readonly ["error", {
|
106
|
+
readonly ObjectExpression: {
|
107
|
+
readonly consistent: true;
|
108
|
+
readonly multiline: true;
|
109
|
+
readonly minProperties: 4;
|
110
|
+
};
|
111
|
+
readonly ObjectPattern: {
|
112
|
+
readonly consistent: true;
|
113
|
+
readonly multiline: true;
|
114
|
+
readonly minProperties: 4;
|
115
|
+
};
|
116
|
+
readonly ImportDeclaration: {
|
117
|
+
readonly consistent: true;
|
118
|
+
readonly multiline: true;
|
119
|
+
readonly minProperties: 4;
|
120
|
+
};
|
121
|
+
readonly ExportDeclaration: {
|
122
|
+
readonly consistent: true;
|
123
|
+
readonly multiline: true;
|
124
|
+
readonly minProperties: 4;
|
125
|
+
};
|
126
|
+
}];
|
127
|
+
readonly "object-curly-spacing": readonly ["error", "always", {
|
128
|
+
readonly arraysInObjects: true;
|
129
|
+
readonly objectsInObjects: true;
|
130
|
+
}];
|
131
|
+
readonly "object-property-newline": readonly ["error", {
|
132
|
+
readonly allowAllPropertiesOnSameLine: true;
|
133
|
+
}];
|
134
|
+
readonly "spaced-comment": readonly ["error", "always"];
|
135
|
+
}];
|
2
136
|
export default _default;
|
3
137
|
//# sourceMappingURL=enable.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"enable.d.ts","sourceRoot":"","sources":["../../../src/rules/json/enable.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"enable.d.ts","sourceRoot":"","sources":["../../../src/rules/json/enable.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAUA,wBA8KW"}
|
@@ -1,6 +1,176 @@
|
|
1
|
-
import { enable, } from "../../_strings/index.js";
|
1
|
+
import { enable, ERROR, AlwaysMultiline, Always, Last, Never, Strict, } from "../../_strings/index.js";
|
2
2
|
export default [
|
3
3
|
enable,
|
4
|
-
{
|
4
|
+
{
|
5
|
+
"array-bracket-newline": [
|
6
|
+
ERROR,
|
7
|
+
{
|
8
|
+
multiline: true,
|
9
|
+
minItems: null,
|
10
|
+
},
|
11
|
+
],
|
12
|
+
"array-bracket-spacing": [
|
13
|
+
ERROR,
|
14
|
+
Never,
|
15
|
+
{
|
16
|
+
singleValue: false,
|
17
|
+
objectsInArrays: false,
|
18
|
+
arraysInArrays: false,
|
19
|
+
},
|
20
|
+
],
|
21
|
+
"array-element-newline": [
|
22
|
+
ERROR,
|
23
|
+
{
|
24
|
+
ArrayExpression: {
|
25
|
+
consistent: true,
|
26
|
+
multiline: true,
|
27
|
+
minItems: 4,
|
28
|
+
},
|
29
|
+
ArrayPattern: {
|
30
|
+
consistent: true,
|
31
|
+
multiline: true,
|
32
|
+
minItems: 4,
|
33
|
+
},
|
34
|
+
},
|
35
|
+
],
|
36
|
+
"brace-style": [
|
37
|
+
ERROR,
|
38
|
+
"stroustrup",
|
39
|
+
{
|
40
|
+
allowSingleLine: true,
|
41
|
+
},
|
42
|
+
],
|
43
|
+
"comma-dangle": [ERROR, AlwaysMultiline],
|
44
|
+
"comma-spacing": [
|
45
|
+
ERROR,
|
46
|
+
{
|
47
|
+
before: false,
|
48
|
+
after: true,
|
49
|
+
},
|
50
|
+
],
|
51
|
+
"comma-style": [
|
52
|
+
ERROR,
|
53
|
+
Last,
|
54
|
+
{
|
55
|
+
exceptions: {
|
56
|
+
ArrayExpression: false,
|
57
|
+
ArrayPattern: false,
|
58
|
+
ArrowFunctionExpression: false,
|
59
|
+
CallExpression: false,
|
60
|
+
FunctionDeclaration: false,
|
61
|
+
FunctionExpression: false,
|
62
|
+
ImportDeclaration: false,
|
63
|
+
ObjectExpression: false,
|
64
|
+
ObjectPattern: false,
|
65
|
+
VariableDeclaration: false,
|
66
|
+
NewExpression: false,
|
67
|
+
},
|
68
|
+
},
|
69
|
+
],
|
70
|
+
"eol-last": [ERROR, Always],
|
71
|
+
"key-spacing": [
|
72
|
+
ERROR,
|
73
|
+
{
|
74
|
+
beforeColon: false,
|
75
|
+
afterColon: true,
|
76
|
+
mode: Strict,
|
77
|
+
},
|
78
|
+
],
|
79
|
+
indent: [
|
80
|
+
ERROR,
|
81
|
+
2,
|
82
|
+
{
|
83
|
+
ignoredNodes: [],
|
84
|
+
SwitchCase: 1,
|
85
|
+
VariableDeclarator: { "var": 0, let: 0, "const": 0 },
|
86
|
+
outerIIFEBody: 0,
|
87
|
+
MemberExpression: 1,
|
88
|
+
FunctionDeclaration: { parameters: 1, body: 1 },
|
89
|
+
FunctionExpression: { parameters: 1, body: 1 },
|
90
|
+
StaticBlock: { body: 1 },
|
91
|
+
CallExpression: { arguments: 1 },
|
92
|
+
ArrayExpression: 1,
|
93
|
+
ObjectExpression: 1,
|
94
|
+
ImportDeclaration: 1,
|
95
|
+
flatTernaryExpressions: false,
|
96
|
+
offsetTernaryExpressions: true,
|
97
|
+
ignoreComments: false,
|
98
|
+
},
|
99
|
+
],
|
100
|
+
"no-mixed-spaces-and-tabs": ERROR,
|
101
|
+
"no-multi-spaces": [
|
102
|
+
ERROR,
|
103
|
+
{
|
104
|
+
ignoreEOLComments: false,
|
105
|
+
exceptions: {
|
106
|
+
Property: false,
|
107
|
+
ImportAttributes: false,
|
108
|
+
},
|
109
|
+
includeTabs: true,
|
110
|
+
},
|
111
|
+
],
|
112
|
+
"no-multiple-empty-lines": [
|
113
|
+
ERROR,
|
114
|
+
{
|
115
|
+
max: 1,
|
116
|
+
maxEOF: 1,
|
117
|
+
maxBOF: 0,
|
118
|
+
},
|
119
|
+
],
|
120
|
+
"no-tabs": [
|
121
|
+
ERROR,
|
122
|
+
{
|
123
|
+
allowIndentationTabs: false,
|
124
|
+
},
|
125
|
+
],
|
126
|
+
"no-trailing-spaces": [
|
127
|
+
ERROR,
|
128
|
+
{
|
129
|
+
skipBlankLines: false,
|
130
|
+
ignoreComments: false,
|
131
|
+
},
|
132
|
+
],
|
133
|
+
"no-whitespace-before-property": ERROR,
|
134
|
+
"object-curly-newline": [
|
135
|
+
ERROR,
|
136
|
+
{
|
137
|
+
ObjectExpression: {
|
138
|
+
consistent: true,
|
139
|
+
multiline: true,
|
140
|
+
minProperties: 4,
|
141
|
+
},
|
142
|
+
ObjectPattern: {
|
143
|
+
consistent: true,
|
144
|
+
multiline: true,
|
145
|
+
minProperties: 4,
|
146
|
+
},
|
147
|
+
ImportDeclaration: {
|
148
|
+
consistent: true,
|
149
|
+
multiline: true,
|
150
|
+
minProperties: 4,
|
151
|
+
},
|
152
|
+
ExportDeclaration: {
|
153
|
+
consistent: true,
|
154
|
+
multiline: true,
|
155
|
+
minProperties: 4,
|
156
|
+
},
|
157
|
+
},
|
158
|
+
],
|
159
|
+
"object-curly-spacing": [
|
160
|
+
ERROR,
|
161
|
+
Always,
|
162
|
+
{
|
163
|
+
arraysInObjects: true,
|
164
|
+
objectsInObjects: true,
|
165
|
+
},
|
166
|
+
],
|
167
|
+
"object-property-newline": [
|
168
|
+
ERROR,
|
169
|
+
{
|
170
|
+
allowAllPropertiesOnSameLine: true,
|
171
|
+
},
|
172
|
+
],
|
173
|
+
"spaced-comment": [ERROR, Always],
|
174
|
+
},
|
5
175
|
];
|
6
176
|
//# sourceMappingURL=enable.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"enable.js","sourceRoot":"","sources":["../../../src/rules/json/enable.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,MAAM,GACP,MAAM,gBAAgB,CAAC;AAExB,eAAe;IACb,MAAM;IACN,
|
1
|
+
{"version":3,"file":"enable.js","sourceRoot":"","sources":["../../../src/rules/json/enable.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,MAAM,EACN,KAAK,EACL,eAAe,EACf,MAAM,EACN,IAAI,EACJ,KAAK,EACL,MAAM,GACP,MAAM,gBAAgB,CAAC;AAExB,eAAe;IACb,MAAM;IACN;QAEE,uBAAuB,EAAE;YACvB,KAAK;YACL;gBACE,SAAS,EAAE,IAAI;gBACf,QAAQ,EAAE,IAAI;aACf;SACF;QACD,uBAAuB,EAAE;YACvB,KAAK;YACL,KAAK;YACL;gBACE,WAAW,EAAE,KAAK;gBAClB,eAAe,EAAE,KAAK;gBACtB,cAAc,EAAE,KAAK;aACtB;SACF;QACD,uBAAuB,EAAE;YACvB,KAAK;YACL;gBACE,eAAe,EAAE;oBACf,UAAU,EAAE,IAAI;oBAChB,SAAS,EAAE,IAAI;oBACf,QAAQ,EAAE,CAAC;iBACZ;gBACD,YAAY,EAAE;oBACZ,UAAU,EAAE,IAAI;oBAChB,SAAS,EAAE,IAAI;oBACf,QAAQ,EAAE,CAAC;iBACZ;aACF;SACF;QACD,aAAa,EAAE;YACb,KAAK;YACL,YAAY;YACZ;gBACE,eAAe,EAAE,IAAI;aACtB;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