linted 16.0.5 → 16.0.6-rc.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/statics/rules/index.d.ts +33 -33
- package/dist/statics/rules/presets/Js.d.ts +11 -11
- package/dist/statics/rules/presets/Svelte.d.ts +11 -11
- package/dist/statics/rules/presets/Ts.d.ts +11 -11
- package/dist/statics/rules/presets/js/EnableStylistic.d.ts +11 -11
- package/dist/statics/rules/presets/js/EnableStylistic.d.ts.map +1 -1
- package/dist/statics/rules/presets/js/EnableStylistic.js +12 -12
- package/dist/statics/rules/presets/js/EnableStylistic.js.map +1 -1
- package/package.json +1 -1
- package/src/statics/rules/presets/js/EnableStylistic.ts +12 -11
@@ -13,7 +13,7 @@ declare const _default: {
|
|
13
13
|
readonly ArrayExpression: {
|
14
14
|
readonly consistent: true;
|
15
15
|
readonly multiline: true;
|
16
|
-
readonly minItems:
|
16
|
+
readonly minItems: 4;
|
17
17
|
};
|
18
18
|
readonly ArrayPattern: {
|
19
19
|
readonly consistent: true;
|
@@ -57,7 +57,7 @@ declare const _default: {
|
|
57
57
|
}];
|
58
58
|
readonly "@stylistic/dot-location": readonly ["error", "property"];
|
59
59
|
readonly "@stylistic/eol-last": readonly ["error", "always"];
|
60
|
-
readonly "@stylistic/function-call-argument-newline": readonly ["error", "
|
60
|
+
readonly "@stylistic/function-call-argument-newline": readonly ["error", "consistent"];
|
61
61
|
readonly "@stylistic/function-call-spacing": readonly ["error", "never"];
|
62
62
|
readonly "@stylistic/function-paren-newline": readonly ["error", "multiline-arguments"];
|
63
63
|
readonly "@stylistic/generator-star-spacing": readonly ["error", {
|
@@ -109,7 +109,7 @@ declare const _default: {
|
|
109
109
|
}];
|
110
110
|
readonly "@stylistic/line-comment-position": "off";
|
111
111
|
readonly "@stylistic/lines-around-comment": readonly ["error", {
|
112
|
-
readonly beforeBlockComment:
|
112
|
+
readonly beforeBlockComment: false;
|
113
113
|
readonly afterBlockComment: false;
|
114
114
|
readonly beforeLineComment: true;
|
115
115
|
readonly afterLineComment: false;
|
@@ -123,14 +123,14 @@ declare const _default: {
|
|
123
123
|
readonly allowClassEnd: true;
|
124
124
|
readonly applyDefaultIgnorePatterns: true;
|
125
125
|
readonly afterHashbangComment: false;
|
126
|
-
readonly allowEnumEnd:
|
127
|
-
readonly allowEnumStart:
|
128
|
-
readonly allowInterfaceEnd:
|
129
|
-
readonly allowInterfaceStart:
|
130
|
-
readonly allowModuleEnd:
|
131
|
-
readonly allowModuleStart:
|
132
|
-
readonly allowTypeEnd:
|
133
|
-
readonly allowTypeStart:
|
126
|
+
readonly allowEnumEnd: true;
|
127
|
+
readonly allowEnumStart: true;
|
128
|
+
readonly allowInterfaceEnd: true;
|
129
|
+
readonly allowInterfaceStart: true;
|
130
|
+
readonly allowModuleEnd: true;
|
131
|
+
readonly allowModuleStart: true;
|
132
|
+
readonly allowTypeEnd: true;
|
133
|
+
readonly allowTypeStart: true;
|
134
134
|
}];
|
135
135
|
readonly "@stylistic/lines-between-class-members": readonly ["error", {
|
136
136
|
readonly enforce: readonly [{
|
@@ -770,7 +770,7 @@ declare const _default: {
|
|
770
770
|
readonly ArrayExpression: {
|
771
771
|
readonly consistent: true;
|
772
772
|
readonly multiline: true;
|
773
|
-
readonly minItems:
|
773
|
+
readonly minItems: 4;
|
774
774
|
};
|
775
775
|
readonly ArrayPattern: {
|
776
776
|
readonly consistent: true;
|
@@ -814,7 +814,7 @@ declare const _default: {
|
|
814
814
|
}];
|
815
815
|
readonly "@stylistic/dot-location": readonly ["error", "property"];
|
816
816
|
readonly "@stylistic/eol-last": readonly ["error", "always"];
|
817
|
-
readonly "@stylistic/function-call-argument-newline": readonly ["error", "
|
817
|
+
readonly "@stylistic/function-call-argument-newline": readonly ["error", "consistent"];
|
818
818
|
readonly "@stylistic/function-call-spacing": readonly ["error", "never"];
|
819
819
|
readonly "@stylistic/function-paren-newline": readonly ["error", "multiline-arguments"];
|
820
820
|
readonly "@stylistic/generator-star-spacing": readonly ["error", {
|
@@ -866,7 +866,7 @@ declare const _default: {
|
|
866
866
|
}];
|
867
867
|
readonly "@stylistic/line-comment-position": "off";
|
868
868
|
readonly "@stylistic/lines-around-comment": readonly ["error", {
|
869
|
-
readonly beforeBlockComment:
|
869
|
+
readonly beforeBlockComment: false;
|
870
870
|
readonly afterBlockComment: false;
|
871
871
|
readonly beforeLineComment: true;
|
872
872
|
readonly afterLineComment: false;
|
@@ -880,14 +880,14 @@ declare const _default: {
|
|
880
880
|
readonly allowClassEnd: true;
|
881
881
|
readonly applyDefaultIgnorePatterns: true;
|
882
882
|
readonly afterHashbangComment: false;
|
883
|
-
readonly allowEnumEnd:
|
884
|
-
readonly allowEnumStart:
|
885
|
-
readonly allowInterfaceEnd:
|
886
|
-
readonly allowInterfaceStart:
|
887
|
-
readonly allowModuleEnd:
|
888
|
-
readonly allowModuleStart:
|
889
|
-
readonly allowTypeEnd:
|
890
|
-
readonly allowTypeStart:
|
883
|
+
readonly allowEnumEnd: true;
|
884
|
+
readonly allowEnumStart: true;
|
885
|
+
readonly allowInterfaceEnd: true;
|
886
|
+
readonly allowInterfaceStart: true;
|
887
|
+
readonly allowModuleEnd: true;
|
888
|
+
readonly allowModuleStart: true;
|
889
|
+
readonly allowTypeEnd: true;
|
890
|
+
readonly allowTypeStart: true;
|
891
891
|
}];
|
892
892
|
readonly "@stylistic/lines-between-class-members": readonly ["error", {
|
893
893
|
readonly enforce: readonly [{
|
@@ -1895,7 +1895,7 @@ declare const _default: {
|
|
1895
1895
|
readonly ArrayExpression: {
|
1896
1896
|
readonly consistent: true;
|
1897
1897
|
readonly multiline: true;
|
1898
|
-
readonly minItems:
|
1898
|
+
readonly minItems: 4;
|
1899
1899
|
};
|
1900
1900
|
readonly ArrayPattern: {
|
1901
1901
|
readonly consistent: true;
|
@@ -1939,7 +1939,7 @@ declare const _default: {
|
|
1939
1939
|
}];
|
1940
1940
|
readonly "@stylistic/dot-location": readonly ["error", "property"];
|
1941
1941
|
readonly "@stylistic/eol-last": readonly ["error", "always"];
|
1942
|
-
readonly "@stylistic/function-call-argument-newline": readonly ["error", "
|
1942
|
+
readonly "@stylistic/function-call-argument-newline": readonly ["error", "consistent"];
|
1943
1943
|
readonly "@stylistic/function-call-spacing": readonly ["error", "never"];
|
1944
1944
|
readonly "@stylistic/function-paren-newline": readonly ["error", "multiline-arguments"];
|
1945
1945
|
readonly "@stylistic/generator-star-spacing": readonly ["error", {
|
@@ -1991,7 +1991,7 @@ declare const _default: {
|
|
1991
1991
|
}];
|
1992
1992
|
readonly "@stylistic/line-comment-position": "off";
|
1993
1993
|
readonly "@stylistic/lines-around-comment": readonly ["error", {
|
1994
|
-
readonly beforeBlockComment:
|
1994
|
+
readonly beforeBlockComment: false;
|
1995
1995
|
readonly afterBlockComment: false;
|
1996
1996
|
readonly beforeLineComment: true;
|
1997
1997
|
readonly afterLineComment: false;
|
@@ -2005,14 +2005,14 @@ declare const _default: {
|
|
2005
2005
|
readonly allowClassEnd: true;
|
2006
2006
|
readonly applyDefaultIgnorePatterns: true;
|
2007
2007
|
readonly afterHashbangComment: false;
|
2008
|
-
readonly allowEnumEnd:
|
2009
|
-
readonly allowEnumStart:
|
2010
|
-
readonly allowInterfaceEnd:
|
2011
|
-
readonly allowInterfaceStart:
|
2012
|
-
readonly allowModuleEnd:
|
2013
|
-
readonly allowModuleStart:
|
2014
|
-
readonly allowTypeEnd:
|
2015
|
-
readonly allowTypeStart:
|
2008
|
+
readonly allowEnumEnd: true;
|
2009
|
+
readonly allowEnumStart: true;
|
2010
|
+
readonly allowInterfaceEnd: true;
|
2011
|
+
readonly allowInterfaceStart: true;
|
2012
|
+
readonly allowModuleEnd: true;
|
2013
|
+
readonly allowModuleStart: true;
|
2014
|
+
readonly allowTypeEnd: true;
|
2015
|
+
readonly allowTypeStart: true;
|
2016
2016
|
}];
|
2017
2017
|
readonly "@stylistic/lines-between-class-members": readonly ["error", {
|
2018
2018
|
readonly enforce: readonly [{
|
@@ -12,7 +12,7 @@ declare const _default: readonly [readonly ["stylistic", {
|
|
12
12
|
readonly ArrayExpression: {
|
13
13
|
readonly consistent: true;
|
14
14
|
readonly multiline: true;
|
15
|
-
readonly minItems:
|
15
|
+
readonly minItems: 4;
|
16
16
|
};
|
17
17
|
readonly ArrayPattern: {
|
18
18
|
readonly consistent: true;
|
@@ -56,7 +56,7 @@ declare const _default: readonly [readonly ["stylistic", {
|
|
56
56
|
}];
|
57
57
|
readonly "@stylistic/dot-location": readonly ["error", "property"];
|
58
58
|
readonly "@stylistic/eol-last": readonly ["error", "always"];
|
59
|
-
readonly "@stylistic/function-call-argument-newline": readonly ["error", "
|
59
|
+
readonly "@stylistic/function-call-argument-newline": readonly ["error", "consistent"];
|
60
60
|
readonly "@stylistic/function-call-spacing": readonly ["error", "never"];
|
61
61
|
readonly "@stylistic/function-paren-newline": readonly ["error", "multiline-arguments"];
|
62
62
|
readonly "@stylistic/generator-star-spacing": readonly ["error", {
|
@@ -108,7 +108,7 @@ declare const _default: readonly [readonly ["stylistic", {
|
|
108
108
|
}];
|
109
109
|
readonly "@stylistic/line-comment-position": "off";
|
110
110
|
readonly "@stylistic/lines-around-comment": readonly ["error", {
|
111
|
-
readonly beforeBlockComment:
|
111
|
+
readonly beforeBlockComment: false;
|
112
112
|
readonly afterBlockComment: false;
|
113
113
|
readonly beforeLineComment: true;
|
114
114
|
readonly afterLineComment: false;
|
@@ -122,14 +122,14 @@ declare const _default: readonly [readonly ["stylistic", {
|
|
122
122
|
readonly allowClassEnd: true;
|
123
123
|
readonly applyDefaultIgnorePatterns: true;
|
124
124
|
readonly afterHashbangComment: false;
|
125
|
-
readonly allowEnumEnd:
|
126
|
-
readonly allowEnumStart:
|
127
|
-
readonly allowInterfaceEnd:
|
128
|
-
readonly allowInterfaceStart:
|
129
|
-
readonly allowModuleEnd:
|
130
|
-
readonly allowModuleStart:
|
131
|
-
readonly allowTypeEnd:
|
132
|
-
readonly allowTypeStart:
|
125
|
+
readonly allowEnumEnd: true;
|
126
|
+
readonly allowEnumStart: true;
|
127
|
+
readonly allowInterfaceEnd: true;
|
128
|
+
readonly allowInterfaceStart: true;
|
129
|
+
readonly allowModuleEnd: true;
|
130
|
+
readonly allowModuleStart: true;
|
131
|
+
readonly allowTypeEnd: true;
|
132
|
+
readonly allowTypeStart: true;
|
133
133
|
}];
|
134
134
|
readonly "@stylistic/lines-between-class-members": readonly ["error", {
|
135
135
|
readonly enforce: readonly [{
|
@@ -12,7 +12,7 @@ declare const _default: readonly [readonly ["stylistic", {
|
|
12
12
|
readonly ArrayExpression: {
|
13
13
|
readonly consistent: true;
|
14
14
|
readonly multiline: true;
|
15
|
-
readonly minItems:
|
15
|
+
readonly minItems: 4;
|
16
16
|
};
|
17
17
|
readonly ArrayPattern: {
|
18
18
|
readonly consistent: true;
|
@@ -56,7 +56,7 @@ declare const _default: readonly [readonly ["stylistic", {
|
|
56
56
|
}];
|
57
57
|
readonly "@stylistic/dot-location": readonly ["error", "property"];
|
58
58
|
readonly "@stylistic/eol-last": readonly ["error", "always"];
|
59
|
-
readonly "@stylistic/function-call-argument-newline": readonly ["error", "
|
59
|
+
readonly "@stylistic/function-call-argument-newline": readonly ["error", "consistent"];
|
60
60
|
readonly "@stylistic/function-call-spacing": readonly ["error", "never"];
|
61
61
|
readonly "@stylistic/function-paren-newline": readonly ["error", "multiline-arguments"];
|
62
62
|
readonly "@stylistic/generator-star-spacing": readonly ["error", {
|
@@ -108,7 +108,7 @@ declare const _default: readonly [readonly ["stylistic", {
|
|
108
108
|
}];
|
109
109
|
readonly "@stylistic/line-comment-position": "off";
|
110
110
|
readonly "@stylistic/lines-around-comment": readonly ["error", {
|
111
|
-
readonly beforeBlockComment:
|
111
|
+
readonly beforeBlockComment: false;
|
112
112
|
readonly afterBlockComment: false;
|
113
113
|
readonly beforeLineComment: true;
|
114
114
|
readonly afterLineComment: false;
|
@@ -122,14 +122,14 @@ declare const _default: readonly [readonly ["stylistic", {
|
|
122
122
|
readonly allowClassEnd: true;
|
123
123
|
readonly applyDefaultIgnorePatterns: true;
|
124
124
|
readonly afterHashbangComment: false;
|
125
|
-
readonly allowEnumEnd:
|
126
|
-
readonly allowEnumStart:
|
127
|
-
readonly allowInterfaceEnd:
|
128
|
-
readonly allowInterfaceStart:
|
129
|
-
readonly allowModuleEnd:
|
130
|
-
readonly allowModuleStart:
|
131
|
-
readonly allowTypeEnd:
|
132
|
-
readonly allowTypeStart:
|
125
|
+
readonly allowEnumEnd: true;
|
126
|
+
readonly allowEnumStart: true;
|
127
|
+
readonly allowInterfaceEnd: true;
|
128
|
+
readonly allowInterfaceStart: true;
|
129
|
+
readonly allowModuleEnd: true;
|
130
|
+
readonly allowModuleStart: true;
|
131
|
+
readonly allowTypeEnd: true;
|
132
|
+
readonly allowTypeStart: true;
|
133
133
|
}];
|
134
134
|
readonly "@stylistic/lines-between-class-members": readonly ["error", {
|
135
135
|
readonly enforce: readonly [{
|
@@ -12,7 +12,7 @@ declare const _default: readonly [readonly ["stylistic", {
|
|
12
12
|
readonly ArrayExpression: {
|
13
13
|
readonly consistent: true;
|
14
14
|
readonly multiline: true;
|
15
|
-
readonly minItems:
|
15
|
+
readonly minItems: 4;
|
16
16
|
};
|
17
17
|
readonly ArrayPattern: {
|
18
18
|
readonly consistent: true;
|
@@ -56,7 +56,7 @@ declare const _default: readonly [readonly ["stylistic", {
|
|
56
56
|
}];
|
57
57
|
readonly "@stylistic/dot-location": readonly ["error", "property"];
|
58
58
|
readonly "@stylistic/eol-last": readonly ["error", "always"];
|
59
|
-
readonly "@stylistic/function-call-argument-newline": readonly ["error", "
|
59
|
+
readonly "@stylistic/function-call-argument-newline": readonly ["error", "consistent"];
|
60
60
|
readonly "@stylistic/function-call-spacing": readonly ["error", "never"];
|
61
61
|
readonly "@stylistic/function-paren-newline": readonly ["error", "multiline-arguments"];
|
62
62
|
readonly "@stylistic/generator-star-spacing": readonly ["error", {
|
@@ -108,7 +108,7 @@ declare const _default: readonly [readonly ["stylistic", {
|
|
108
108
|
}];
|
109
109
|
readonly "@stylistic/line-comment-position": "off";
|
110
110
|
readonly "@stylistic/lines-around-comment": readonly ["error", {
|
111
|
-
readonly beforeBlockComment:
|
111
|
+
readonly beforeBlockComment: false;
|
112
112
|
readonly afterBlockComment: false;
|
113
113
|
readonly beforeLineComment: true;
|
114
114
|
readonly afterLineComment: false;
|
@@ -122,14 +122,14 @@ declare const _default: readonly [readonly ["stylistic", {
|
|
122
122
|
readonly allowClassEnd: true;
|
123
123
|
readonly applyDefaultIgnorePatterns: true;
|
124
124
|
readonly afterHashbangComment: false;
|
125
|
-
readonly allowEnumEnd:
|
126
|
-
readonly allowEnumStart:
|
127
|
-
readonly allowInterfaceEnd:
|
128
|
-
readonly allowInterfaceStart:
|
129
|
-
readonly allowModuleEnd:
|
130
|
-
readonly allowModuleStart:
|
131
|
-
readonly allowTypeEnd:
|
132
|
-
readonly allowTypeStart:
|
125
|
+
readonly allowEnumEnd: true;
|
126
|
+
readonly allowEnumStart: true;
|
127
|
+
readonly allowInterfaceEnd: true;
|
128
|
+
readonly allowInterfaceStart: true;
|
129
|
+
readonly allowModuleEnd: true;
|
130
|
+
readonly allowModuleStart: true;
|
131
|
+
readonly allowTypeEnd: true;
|
132
|
+
readonly allowTypeStart: true;
|
133
133
|
}];
|
134
134
|
readonly "@stylistic/lines-between-class-members": readonly ["error", {
|
135
135
|
readonly enforce: readonly [{
|
@@ -12,7 +12,7 @@ declare const _default: readonly ["stylistic", {
|
|
12
12
|
readonly ArrayExpression: {
|
13
13
|
readonly consistent: true;
|
14
14
|
readonly multiline: true;
|
15
|
-
readonly minItems:
|
15
|
+
readonly minItems: 4;
|
16
16
|
};
|
17
17
|
readonly ArrayPattern: {
|
18
18
|
readonly consistent: true;
|
@@ -56,7 +56,7 @@ declare const _default: readonly ["stylistic", {
|
|
56
56
|
}];
|
57
57
|
readonly "@stylistic/dot-location": readonly ["error", "property"];
|
58
58
|
readonly "@stylistic/eol-last": readonly ["error", "always"];
|
59
|
-
readonly "@stylistic/function-call-argument-newline": readonly ["error", "
|
59
|
+
readonly "@stylistic/function-call-argument-newline": readonly ["error", "consistent"];
|
60
60
|
readonly "@stylistic/function-call-spacing": readonly ["error", "never"];
|
61
61
|
readonly "@stylistic/function-paren-newline": readonly ["error", "multiline-arguments"];
|
62
62
|
readonly "@stylistic/generator-star-spacing": readonly ["error", {
|
@@ -108,7 +108,7 @@ declare const _default: readonly ["stylistic", {
|
|
108
108
|
}];
|
109
109
|
readonly "@stylistic/line-comment-position": "off";
|
110
110
|
readonly "@stylistic/lines-around-comment": readonly ["error", {
|
111
|
-
readonly beforeBlockComment:
|
111
|
+
readonly beforeBlockComment: false;
|
112
112
|
readonly afterBlockComment: false;
|
113
113
|
readonly beforeLineComment: true;
|
114
114
|
readonly afterLineComment: false;
|
@@ -122,14 +122,14 @@ declare const _default: readonly ["stylistic", {
|
|
122
122
|
readonly allowClassEnd: true;
|
123
123
|
readonly applyDefaultIgnorePatterns: true;
|
124
124
|
readonly afterHashbangComment: false;
|
125
|
-
readonly allowEnumEnd:
|
126
|
-
readonly allowEnumStart:
|
127
|
-
readonly allowInterfaceEnd:
|
128
|
-
readonly allowInterfaceStart:
|
129
|
-
readonly allowModuleEnd:
|
130
|
-
readonly allowModuleStart:
|
131
|
-
readonly allowTypeEnd:
|
132
|
-
readonly allowTypeStart:
|
125
|
+
readonly allowEnumEnd: true;
|
126
|
+
readonly allowEnumStart: true;
|
127
|
+
readonly allowInterfaceEnd: true;
|
128
|
+
readonly allowInterfaceStart: true;
|
129
|
+
readonly allowModuleEnd: true;
|
130
|
+
readonly allowModuleStart: true;
|
131
|
+
readonly allowTypeEnd: true;
|
132
|
+
readonly allowTypeStart: true;
|
133
133
|
}];
|
134
134
|
readonly "@stylistic/lines-between-class-members": readonly ["error", {
|
135
135
|
readonly enforce: readonly [{
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"EnableStylistic.d.ts","sourceRoot":"","sources":["../../../../../src/statics/rules/presets/js/EnableStylistic.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
1
|
+
{"version":3,"file":"EnableStylistic.d.ts","sourceRoot":"","sources":["../../../../../src/statics/rules/presets/js/EnableStylistic.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAwBA,wBA2pB+B"}
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { Strings } from "../index.js";
|
2
|
-
const { Id: { Stylistic }, Level: { ERROR, OFF }, State: { NEVER, ALWAYS, ALWAYS_MULTILINE, AS_NEEDED, STRICT, ALL, STAR, LAST, BEFORE, AFTER, BELOW, BESIDE, INSIDE, DOUBLE, }, } = Strings;
|
2
|
+
const { Id: { Stylistic }, Level: { ERROR, OFF }, State: { NEVER, ALWAYS, ALWAYS_MULTILINE, CONSISTENT, AS_NEEDED, STRICT, ALL, STAR, LAST, BEFORE, AFTER, BELOW, BESIDE, INSIDE, DOUBLE, }, } = Strings;
|
3
3
|
export default [
|
4
4
|
Stylistic,
|
5
5
|
{
|
@@ -25,7 +25,7 @@ export default [
|
|
25
25
|
ArrayExpression: {
|
26
26
|
consistent: true,
|
27
27
|
multiline: true,
|
28
|
-
minItems:
|
28
|
+
minItems: 4,
|
29
29
|
},
|
30
30
|
ArrayPattern: {
|
31
31
|
consistent: true,
|
@@ -100,7 +100,7 @@ export default [
|
|
100
100
|
],
|
101
101
|
"@stylistic/function-call-argument-newline": [
|
102
102
|
ERROR,
|
103
|
-
|
103
|
+
CONSISTENT,
|
104
104
|
],
|
105
105
|
"@stylistic/function-call-spacing": [
|
106
106
|
ERROR,
|
@@ -176,7 +176,7 @@ export default [
|
|
176
176
|
"@stylistic/lines-around-comment": [
|
177
177
|
ERROR,
|
178
178
|
{
|
179
|
-
beforeBlockComment:
|
179
|
+
beforeBlockComment: false,
|
180
180
|
afterBlockComment: false,
|
181
181
|
beforeLineComment: true,
|
182
182
|
afterLineComment: false,
|
@@ -190,14 +190,14 @@ export default [
|
|
190
190
|
allowClassEnd: true,
|
191
191
|
applyDefaultIgnorePatterns: true,
|
192
192
|
afterHashbangComment: false,
|
193
|
-
allowEnumEnd:
|
194
|
-
allowEnumStart:
|
195
|
-
allowInterfaceEnd:
|
196
|
-
allowInterfaceStart:
|
197
|
-
allowModuleEnd:
|
198
|
-
allowModuleStart:
|
199
|
-
allowTypeEnd:
|
200
|
-
allowTypeStart:
|
193
|
+
allowEnumEnd: true,
|
194
|
+
allowEnumStart: true,
|
195
|
+
allowInterfaceEnd: true,
|
196
|
+
allowInterfaceStart: true,
|
197
|
+
allowModuleEnd: true,
|
198
|
+
allowModuleStart: true,
|
199
|
+
allowTypeEnd: true,
|
200
|
+
allowTypeStart: true,
|
201
201
|
},
|
202
202
|
],
|
203
203
|
"@stylistic/lines-between-class-members": [
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"EnableStylistic.js","sourceRoot":"","sources":["../../../../../src/statics/rules/presets/js/EnableStylistic.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAkB,MAAM,aAAa,CAAC;AAEtD,MAAM,EACJ,EAAE,EAAE,EAAE,SAAS,EAAE,EACjB,KAAK,EAAE,EAAE,KAAK,EAAE,GAAG,EAAE,EACrB,KAAK,EAAE,EACL,KAAK,EACL,MAAM,EACN,gBAAgB,EAChB,SAAS,EACT,MAAM,EACN,GAAG,EACH,IAAI,EACJ,IAAI,EACJ,MAAM,EACN,KAAK,EACL,KAAK,EACL,MAAM,EACN,MAAM,EACN,MAAM,GACP,GACF,GAAG,OAAO,CAAC;AAEZ,eAAe;IACb,SAAS;IACT;QAGE,kCAAkC,EAAE;YAClC,KAAK;YACL;gBACE,SAAS,EAAE,IAAI;gBACf,QAAQ,EAAE,IAAI;aACf;SACF;QACD,kCAAkC,EAAE;YAClC,KAAK;YACL,KAAK;YACL;gBACE,WAAW,EAAE,KAAK;gBAClB,eAAe,EAAE,KAAK;gBACtB,cAAc,EAAE,KAAK;aACtB;SACF;QACD,kCAAkC,EAAE;YAClC,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,yBAAyB,EAAE;YACzB,KAAK;YACL,SAAS;YACT,EAAE,mBAAmB,EAAE,KAAK,EAAE;SAC/B;QACD,0BAA0B,EAAE;YAC1B,KAAK;YACL;gBACE,MAAM,EAAE,IAAI;gBACZ,KAAK,EAAE,IAAI;aACZ;SACF;QACD,0BAA0B,EAAE;YAC1B,KAAK;YACL,MAAM;SACP;QACD,wBAAwB,EAAE;YACxB,KAAK;YACL,YAAY;YACZ,EAAE,eAAe,EAAE,IAAI,EAAE;SAC1B;QACD,yBAAyB,EAAE;YACzB,KAAK;YACL,gBAAgB;SACjB;QACD,0BAA0B,EAAE;YAC1B,KAAK;YACL;gBACE,MAAM,EAAE,KAAK;gBACb,KAAK,EAAE,IAAI;aACZ;SACF;QACD,wBAAwB,EAAE;YACxB,KAAK;YACL,IAAI;YACJ;gBACE,UAAU,EAAE;oBACV,eAAe,EAAE,KAAK;oBACtB,YAAY,EAAE,KAAK;oBACnB,uBAAuB,EAAE,KAAK;oBAC9B,cAAc,EAAE,KAAK;oBACrB,mBAAmB,EAAE,KAAK;oBAC1B,kBAAkB,EAAE,KAAK;oBACzB,iBAAiB,EAAE,KAAK;oBACxB,gBAAgB,EAAE,KAAK;oBACvB,aAAa,EAAE,KAAK;oBACpB,mBAAmB,EAAE,KAAK;oBAC1B,aAAa,EAAE,KAAK;iBACrB;aACF;SACF;QACD,sCAAsC,EAAE;YACtC,KAAK;YACL,KAAK;YACL,EAAE,sBAAsB,EAAE,IAAI,EAAE;SACjC;QACD,yBAAyB,EAAE;YACzB,KAAK;YACL,UAAU;SACX;QACD,qBAAqB,EAAE;YACrB,KAAK;YACL,MAAM;SACP;QACD,2CAA2C,EAAE;YAC3C,KAAK;YACL,
|
1
|
+
{"version":3,"file":"EnableStylistic.js","sourceRoot":"","sources":["../../../../../src/statics/rules/presets/js/EnableStylistic.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAkB,MAAM,aAAa,CAAC;AAEtD,MAAM,EACJ,EAAE,EAAE,EAAE,SAAS,EAAE,EACjB,KAAK,EAAE,EAAE,KAAK,EAAE,GAAG,EAAE,EACrB,KAAK,EAAE,EACL,KAAK,EACL,MAAM,EACN,gBAAgB,EAChB,UAAU,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EAAE,MAAM;aACnB;SACF;QACD,4BAA4B,EAAE;YAC5B,KAAK;YACL,KAAK;SACN;QACD,4BAA4B,EAAE;YAC5B,KAAK;YACL,EAAE,SAAS,EAAE,IAAI,EAAE;SACpB;QACD,4BAA4B,EAAE;YAC5B,KAAK;YACL;gBACE,KAAK,EAAE,IAAI;gBACX,QAAQ,EAAE,KAAK;gBACf,SAAS,EAAE,EAAE;aACd;SACF;QACD,2BAA2B,EAAE;YAC3B,KAAK;YACL,MAAM;SACP;QACD,iCAAiC,EAAE;YACjC,KAAK;YACL;gBACE,KAAK,EAAE,IAAI;gBACX,MAAM,EAAE,KAAK;aACd;SACF;QACD,mCAAmC,EAAE;YACnC,KAAK;YACL,KAAK;SACN;QACD,iCAAiC,EAAE;YACjC,KAAK;YACL,KAAK;SACN;QACD,oCAAoC,EAAE;YACpC,KAAK;YACL;gBACE,MAAM,EAAE,KAAK;gBACb,KAAK,EAAE,IAAI;aACZ;SACF;QACD,iCAAiC,EAAE,KAAK;QACxC,qCAAqC,EAAE,KAAK;QAC5C,sBAAsB,EAAE;YACtB,KAAK;YACL,MAAM;YACN,EAAE,wBAAwB,EAAE,IAAI,EAAE;SACnC;QACD,uBAAuB,EAAE,KAAK;QAC9B,+BAA+B,EAAE;YAC/B,KAAK;YACL;gBACE,MAAM,EAAE,KAAK;gBACb,KAAK,EAAE,IAAI;aACZ;SACF;KACF;CAC2B,CAAC"}
|
package/package.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"_schemaVersion": "20.14.0",
|
3
3
|
"name": "linted",
|
4
|
-
"version": "16.0.
|
4
|
+
"version": "16.0.6-rc.0",
|
5
5
|
"description": "Zero-config ESLint flat config factory for (strict, agglutinative) entire-stack formatting and linting: TypeScript, JavaScript, Svelte, HTML, (Tailwind) CSS, Mocha, JSON(C), and sadly YAML.",
|
6
6
|
"keywords": [
|
7
7
|
"eslint",
|
@@ -7,6 +7,7 @@ const {
|
|
7
7
|
NEVER,
|
8
8
|
ALWAYS,
|
9
9
|
ALWAYS_MULTILINE,
|
10
|
+
CONSISTENT,
|
10
11
|
AS_NEEDED,
|
11
12
|
STRICT,
|
12
13
|
ALL,
|
@@ -48,7 +49,7 @@ export default [
|
|
48
49
|
ArrayExpression: {
|
49
50
|
consistent: true,
|
50
51
|
multiline: true,
|
51
|
-
minItems:
|
52
|
+
minItems: 4,
|
52
53
|
},
|
53
54
|
ArrayPattern: {
|
54
55
|
consistent: true,
|
@@ -123,7 +124,7 @@ export default [
|
|
123
124
|
],
|
124
125
|
"@stylistic/function-call-argument-newline": [
|
125
126
|
ERROR,
|
126
|
-
|
127
|
+
CONSISTENT,
|
127
128
|
],
|
128
129
|
"@stylistic/function-call-spacing": [
|
129
130
|
ERROR,
|
@@ -200,7 +201,7 @@ export default [
|
|
200
201
|
"@stylistic/lines-around-comment": [
|
201
202
|
ERROR,
|
202
203
|
{
|
203
|
-
beforeBlockComment:
|
204
|
+
beforeBlockComment: false,
|
204
205
|
afterBlockComment: false,
|
205
206
|
beforeLineComment: true,
|
206
207
|
afterLineComment: false,
|
@@ -216,14 +217,14 @@ export default [
|
|
216
217
|
afterHashbangComment: false,
|
217
218
|
|
218
219
|
// TS-only
|
219
|
-
allowEnumEnd:
|
220
|
-
allowEnumStart:
|
221
|
-
allowInterfaceEnd:
|
222
|
-
allowInterfaceStart:
|
223
|
-
allowModuleEnd:
|
224
|
-
allowModuleStart:
|
225
|
-
allowTypeEnd:
|
226
|
-
allowTypeStart:
|
220
|
+
allowEnumEnd: true,
|
221
|
+
allowEnumStart: true,
|
222
|
+
allowInterfaceEnd: true,
|
223
|
+
allowInterfaceStart: true,
|
224
|
+
allowModuleEnd: true,
|
225
|
+
allowModuleStart: true,
|
226
|
+
allowTypeEnd: true,
|
227
|
+
allowTypeStart: true,
|
227
228
|
},
|
228
229
|
],
|
229
230
|
"@stylistic/lines-between-class-members": [
|