@eslinted/defaults 20.4.0 → 21.0.1

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.
Files changed (131) hide show
  1. package/dist/index.d.ts +504 -523
  2. package/dist/index.d.ts.map +1 -1
  3. package/dist/rules/{state.d.ts → _state.d.ts} +1 -1
  4. package/dist/rules/_state.d.ts.map +1 -0
  5. package/dist/rules/_state.js +2 -0
  6. package/dist/rules/_state.js.map +1 -0
  7. package/dist/rules/{css/index.d.ts → css.d.ts} +3 -3
  8. package/dist/rules/css.d.ts.map +1 -0
  9. package/dist/rules/css.js +17 -0
  10. package/dist/rules/css.js.map +1 -0
  11. package/dist/rules/{html/index.d.ts → html.d.ts} +3 -3
  12. package/dist/rules/html.d.ts.map +1 -0
  13. package/dist/rules/html.js +41 -0
  14. package/dist/rules/html.js.map +1 -0
  15. package/dist/rules/index.d.ts +504 -523
  16. package/dist/rules/index.d.ts.map +1 -1
  17. package/dist/rules/index.js +7 -7
  18. package/dist/rules/js.d.ts +219 -221
  19. package/dist/rules/js.d.ts.map +1 -1
  20. package/dist/rules/js.js +545 -7
  21. package/dist/rules/js.js.map +1 -1
  22. package/dist/rules/{json/jsonc.d.ts → json.d.ts} +4 -2
  23. package/dist/rules/json.d.ts.map +1 -0
  24. package/dist/rules/{json/jsonc.js → json.js} +3 -1
  25. package/dist/rules/json.js.map +1 -0
  26. package/dist/rules/{jsonc/index.d.ts → jsonc.d.ts} +3 -3
  27. package/dist/rules/jsonc.d.ts.map +1 -0
  28. package/dist/rules/jsonc.js +10 -0
  29. package/dist/rules/jsonc.js.map +1 -0
  30. package/dist/rules/{svelte/svelte.d.ts → svelte.d.ts} +16 -1
  31. package/dist/rules/svelte.d.ts.map +1 -0
  32. package/dist/rules/{svelte/svelte.js → svelte.js} +15 -0
  33. package/dist/rules/svelte.js.map +1 -0
  34. package/dist/rules/{ts/ts.d.ts → ts.d.ts} +51 -1
  35. package/dist/rules/ts.d.ts.map +1 -0
  36. package/dist/rules/{ts/ts.js → ts.js} +50 -0
  37. package/dist/rules/ts.js.map +1 -0
  38. package/dist/rules/{yml/index.d.ts → yml.d.ts} +3 -3
  39. package/dist/rules/yml.d.ts.map +1 -0
  40. package/dist/rules/yml.js +32 -0
  41. package/dist/rules/yml.js.map +1 -0
  42. package/package.json +1 -1
  43. package/src/rules/css.ts +22 -0
  44. package/src/rules/html.ts +82 -0
  45. package/src/rules/js.ts +621 -6
  46. package/src/rules/{json/jsonc.ts → json.ts} +7 -1
  47. package/src/rules/jsonc.ts +11 -0
  48. package/src/rules/{svelte/svelte.ts → svelte.ts} +39 -2
  49. package/src/rules/{ts/ts.ts → ts.ts} +67 -2
  50. package/src/rules/yml.ts +56 -0
  51. package/dist/rules/css/index.d.ts.map +0 -1
  52. package/dist/rules/css/index.js +0 -19
  53. package/dist/rules/css/index.js.map +0 -1
  54. package/dist/rules/html/index.d.ts.map +0 -1
  55. package/dist/rules/html/index.js +0 -43
  56. package/dist/rules/html/index.js.map +0 -1
  57. package/dist/rules/js.eslint.d.ts +0 -289
  58. package/dist/rules/js.eslint.d.ts.map +0 -1
  59. package/dist/rules/js.eslint.js +0 -285
  60. package/dist/rules/js.eslint.js.map +0 -1
  61. package/dist/rules/js.stylistic.d.ts +0 -271
  62. package/dist/rules/js.stylistic.d.ts.map +0 -1
  63. package/dist/rules/js.stylistic.js +0 -265
  64. package/dist/rules/js.stylistic.js.map +0 -1
  65. package/dist/rules/json/index.d.ts +0 -33
  66. package/dist/rules/json/index.d.ts.map +0 -1
  67. package/dist/rules/json/index.js +0 -7
  68. package/dist/rules/json/index.js.map +0 -1
  69. package/dist/rules/json/json.d.ts +0 -9
  70. package/dist/rules/json/json.d.ts.map +0 -1
  71. package/dist/rules/json/json.js +0 -7
  72. package/dist/rules/json/json.js.map +0 -1
  73. package/dist/rules/json/jsonc.d.ts.map +0 -1
  74. package/dist/rules/json/jsonc.js.map +0 -1
  75. package/dist/rules/jsonc/index.d.ts.map +0 -1
  76. package/dist/rules/jsonc/index.js +0 -12
  77. package/dist/rules/jsonc/index.js.map +0 -1
  78. package/dist/rules/state.d.ts.map +0 -1
  79. package/dist/rules/state.js +0 -2
  80. package/dist/rules/state.js.map +0 -1
  81. package/dist/rules/svelte/disable.d.ts +0 -17
  82. package/dist/rules/svelte/disable.d.ts.map +0 -1
  83. package/dist/rules/svelte/disable.js +0 -15
  84. package/dist/rules/svelte/disable.js.map +0 -1
  85. package/dist/rules/svelte/extend.d.ts +0 -13
  86. package/dist/rules/svelte/extend.d.ts.map +0 -1
  87. package/dist/rules/svelte/extend.js +0 -11
  88. package/dist/rules/svelte/extend.js.map +0 -1
  89. package/dist/rules/svelte/html.d.ts +0 -14
  90. package/dist/rules/svelte/html.d.ts.map +0 -1
  91. package/dist/rules/svelte/html.js +0 -12
  92. package/dist/rules/svelte/html.js.map +0 -1
  93. package/dist/rules/svelte/index.d.ts +0 -115
  94. package/dist/rules/svelte/index.d.ts.map +0 -1
  95. package/dist/rules/svelte/index.js +0 -9
  96. package/dist/rules/svelte/index.js.map +0 -1
  97. package/dist/rules/svelte/svelte.d.ts.map +0 -1
  98. package/dist/rules/svelte/svelte.js.map +0 -1
  99. package/dist/rules/ts/disable.d.ts +0 -26
  100. package/dist/rules/ts/disable.d.ts.map +0 -1
  101. package/dist/rules/ts/disable.js +0 -24
  102. package/dist/rules/ts/disable.js.map +0 -1
  103. package/dist/rules/ts/extend.d.ts +0 -38
  104. package/dist/rules/ts/extend.d.ts.map +0 -1
  105. package/dist/rules/ts/extend.js +0 -36
  106. package/dist/rules/ts/extend.js.map +0 -1
  107. package/dist/rules/ts/index.d.ts +0 -242
  108. package/dist/rules/ts/index.d.ts.map +0 -1
  109. package/dist/rules/ts/index.js +0 -9
  110. package/dist/rules/ts/index.js.map +0 -1
  111. package/dist/rules/ts/ts.d.ts.map +0 -1
  112. package/dist/rules/ts/ts.js.map +0 -1
  113. package/dist/rules/yml/index.d.ts.map +0 -1
  114. package/dist/rules/yml/index.js +0 -34
  115. package/dist/rules/yml/index.js.map +0 -1
  116. package/src/rules/css/index.ts +0 -24
  117. package/src/rules/html/index.ts +0 -84
  118. package/src/rules/js.eslint.ts +0 -348
  119. package/src/rules/js.stylistic.ts +0 -279
  120. package/src/rules/json/index.ts +0 -7
  121. package/src/rules/json/json.ts +0 -13
  122. package/src/rules/jsonc/index.ts +0 -13
  123. package/src/rules/svelte/disable.ts +0 -21
  124. package/src/rules/svelte/extend.ts +0 -14
  125. package/src/rules/svelte/html.ts +0 -14
  126. package/src/rules/svelte/index.ts +0 -11
  127. package/src/rules/ts/disable.ts +0 -26
  128. package/src/rules/ts/extend.ts +0 -42
  129. package/src/rules/ts/index.ts +0 -9
  130. package/src/rules/yml/index.ts +0 -58
  131. /package/src/rules/{state.ts → _state.ts} +0 -0
@@ -1,285 +0,0 @@
1
- export default {
2
- rules: {
3
- "array-callback-return": [
4
- 2,
5
- {
6
- checkForEach: true,
7
- allowVoid: true,
8
- },
9
- ],
10
- "constructor-super": 2,
11
- "for-direction": 2,
12
- "getter-return": 2,
13
- "no-async-promise-executor": 2,
14
- "no-await-in-loop": 2,
15
- "no-class-assign": 2,
16
- "no-compare-neg-zero": 2,
17
- "no-cond-assign": 2,
18
- "no-const-assign": 2,
19
- "no-constant-binary-expression": 2,
20
- "no-constant-condition": [
21
- 2,
22
- {
23
- checkLoops: "all",
24
- },
25
- ],
26
- "no-constructor-return": 2,
27
- "no-control-regex": 2,
28
- "no-debugger": 2,
29
- "no-dupe-args": 2,
30
- "no-dupe-class-members": 2,
31
- "no-dupe-else-if": 2,
32
- "no-dupe-keys": 2,
33
- "no-duplicate-case": 2,
34
- "no-duplicate-imports": [
35
- 2,
36
- {
37
- includeExports: true,
38
- allowSeparateTypeImports: true,
39
- },
40
- ],
41
- "no-empty-character-class": 2,
42
- "no-empty-pattern": 2,
43
- "no-ex-assign": 2,
44
- "no-fallthrough": 2,
45
- "no-func-assign": 2,
46
- "no-import-assign": 2,
47
- "no-inner-declarations": [
48
- 2,
49
- "both",
50
- ],
51
- "no-invalid-regexp": 2,
52
- "no-irregular-whitespace": 2,
53
- "no-loss-of-precision": 2,
54
- "no-misleading-character-class": 2,
55
- "no-new-native-nonconstructor": 2,
56
- "no-obj-calls": 2,
57
- "no-promise-executor-return": [
58
- 2,
59
- {
60
- allowVoid: true,
61
- },
62
- ],
63
- "no-prototype-builtins": 2,
64
- "no-self-assign": 2,
65
- "no-self-compare": 2,
66
- "no-setter-return": 2,
67
- "no-sparse-arrays": 2,
68
- "no-template-curly-in-string": 2,
69
- "no-this-before-super": 2,
70
- "no-unassigned-vars": 2,
71
- "no-undef": 2,
72
- "no-unexpected-multiline": 2,
73
- "no-unmodified-loop-condition": 2,
74
- "no-unreachable": 1,
75
- "no-unreachable-loop": 1,
76
- "no-unsafe-finally": 2,
77
- "no-unsafe-negation": [
78
- 2,
79
- {
80
- enforceForOrderingRelations: true,
81
- },
82
- ],
83
- "no-unsafe-optional-chaining": [
84
- 2,
85
- {
86
- disallowArithmeticOperators: true,
87
- },
88
- ],
89
- "no-unused-private-class-members": 1,
90
- "no-unused-vars": 1,
91
- "no-use-before-define": [
92
- 2,
93
- {
94
- typedefs: false,
95
- },
96
- ],
97
- "no-useless-assignment": 2,
98
- "no-useless-backreference": 2,
99
- "require-atomic-updates": 2,
100
- "use-isnan": [
101
- 2,
102
- {
103
- enforceForIndexOf: true,
104
- },
105
- ],
106
- "valid-typeof": [
107
- 2,
108
- {
109
- requireStringLiterals: true,
110
- },
111
- ],
112
- "accessor-pairs": [
113
- 2,
114
- {
115
- enforceForTSTypes: true,
116
- },
117
- ],
118
- "arrow-body-style": 1,
119
- "block-scoped-var": 2,
120
- "consistent-return": 2,
121
- "consistent-this": 2,
122
- curly: [
123
- 1,
124
- "multi",
125
- ],
126
- "default-case-last": 2,
127
- "default-param-last": 2,
128
- "dot-notation": 1,
129
- eqeqeq: 2,
130
- "init-declarations": 1,
131
- "logical-assignment-operators": [
132
- 1,
133
- "always",
134
- {
135
- enforceForIfStatements: true,
136
- },
137
- ],
138
- "no-alert": 2,
139
- "no-array-constructor": 2,
140
- "no-bitwise": 2,
141
- "no-caller": 2,
142
- "no-case-declarations": 2,
143
- "no-continue": 2,
144
- "no-delete-var": 2,
145
- "no-div-regex": 2,
146
- "no-else-return": 2,
147
- "no-empty": 2,
148
- "no-empty-function": [
149
- 1,
150
- {
151
- allow: [
152
- "constructors",
153
- "privateConstructors",
154
- "protectedConstructors",
155
- "decoratedFunctions",
156
- "overrideMethods",
157
- ],
158
- },
159
- ],
160
- "no-empty-static-block": 1,
161
- "no-eq-null": 2,
162
- "no-eval": 2,
163
- "no-extend-native": 2,
164
- "no-extra-bind": 2,
165
- "no-extra-boolean-cast": [
166
- 1,
167
- {
168
- enforceForLogicalOperands: true,
169
- },
170
- ],
171
- "no-extra-label": 1,
172
- "no-global-assign": 2,
173
- "no-implicit-coercion": 2,
174
- "no-implied-eval": 2,
175
- "no-invalid-this": [
176
- 2,
177
- {
178
- capIsConstructor: false,
179
- },
180
- ],
181
- "no-iterator": 2,
182
- "no-label-var": 1,
183
- "no-lone-blocks": 2,
184
- "no-loop-func": 2,
185
- "no-multi-assign": 2,
186
- "no-multi-str": 1,
187
- "no-new": 2,
188
- "no-new-func": 2,
189
- "no-new-wrappers": 2,
190
- "no-nonoctal-decimal-escape": 2,
191
- "no-object-constructor": 2,
192
- "no-octal": 2,
193
- "no-octal-escape": 2,
194
- "no-param-reassign": 2,
195
- "no-plusplus": [
196
- 2,
197
- {
198
- allowForLoopAfterthoughts: true,
199
- },
200
- ],
201
- "no-proto": 2,
202
- "no-script-url": 2,
203
- "no-sequences": 2,
204
- "no-shadow-restricted-names": 2,
205
- "no-throw-literal": 1,
206
- "no-undef-init": 2,
207
- "no-unneeded-ternary": 1,
208
- "no-unused-expressions": [
209
- 1,
210
- {
211
- allowShortCircuit: true,
212
- allowTernary: true,
213
- },
214
- ],
215
- "no-unused-labels": 1,
216
- "no-useless-call": 1,
217
- "no-useless-catch": 1,
218
- "no-useless-computed-key": 1,
219
- "no-useless-concat": 1,
220
- "no-useless-constructor": 1,
221
- "no-useless-escape": [
222
- 1,
223
- {
224
- allowRegexCharacters: ["-"],
225
- },
226
- ],
227
- "no-useless-rename": 1,
228
- "no-useless-return": 1,
229
- "no-var": 1,
230
- "no-void": [
231
- 2,
232
- {
233
- allowAsStatement: true,
234
- },
235
- ],
236
- "no-with": 2,
237
- "object-shorthand": 1,
238
- "one-var": [
239
- 1,
240
- {
241
- "var": "consecutive",
242
- let: "consecutive",
243
- "const": "consecutive",
244
- using: "consecutive",
245
- awaitUsing: "consecutive",
246
- separateRequires: true,
247
- },
248
- ],
249
- "operator-assignment": 1,
250
- "prefer-arrow-callback": 1,
251
- "prefer-const": [
252
- 1,
253
- {
254
- destructuring: "all",
255
- },
256
- ],
257
- "prefer-exponentiation-operator": 1,
258
- "prefer-numeric-literals": 1,
259
- "prefer-object-has-own": 1,
260
- "prefer-object-spread": 1,
261
- "prefer-promise-reject-errors": 1,
262
- "prefer-regex-literals": [
263
- 1,
264
- {
265
- disallowRedundantWrapping: true,
266
- },
267
- ],
268
- "prefer-rest-params": 1,
269
- "prefer-spread": 1,
270
- "preserve-caught-error": [
271
- 2,
272
- {
273
- requireCatchParameter: true,
274
- },
275
- ],
276
- radix: 2,
277
- "require-await": 2,
278
- "require-unicode-regexp": 2,
279
- "require-yield": 2,
280
- "vars-on-top": 1,
281
- yoda: 1,
282
- "unicode-bom": 1,
283
- },
284
- };
285
- //# sourceMappingURL=js.eslint.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"js.eslint.js","sourceRoot":"","sources":["../../src/rules/js.eslint.ts"],"names":[],"mappings":"AAGA,eAAe;IACb,KAAK,EAAE;QAGL,uBAAuB,EAAE;;YAEvB;gBACE,YAAY,EAAE,IAAI;gBAClB,SAAS,EAAE,IAAI;aAChB;SACF;QACD,mBAAmB,GAAU;QAC7B,eAAe,GAAU;QACzB,eAAe,GAAU;QACzB,2BAA2B,GAAU;QAC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Ed;gBACE,aAAa,EAAE,KAAK;aACrB;SACF;QAED,gCAAgC,GAAY;QAE5C,yBAAyB,GAAY;QACrC,uBAAuB,GAAY;QACnC,sBAAsB,GAAY;QAClC,8BAA8B,GAAY;QAC1C,uBAAuB,EAAE;;YAEvB;gBACE,yBAAyB,EAAE,IAAI;aAChC;SACF;QACD,oBAAoB,GAAY;QAChC,eAAe,GAAY;QAE3B,uBAAuB,EAAE;;YAEvB;gBACE,qBAAqB,EAAE,IAAI;aAC5B;SACF;QACD,KAAK,GAAU;QACf,eAAe,GAAU;QACzB,wBAAwB,GAAU;QAClC,eAAe,GAAU;QAMzB,aAAa,GAAY;QACzB,IAAI,GAAY;QAKhB,aAAa,GAAY;KAEjB;CACX,CAAC"}
@@ -1,271 +0,0 @@
1
- import { State } from "./state.js";
2
- declare const _default: {
3
- rules: {
4
- readonly "stylistic/eol-last": State.WARN;
5
- readonly "stylistic/linebreak-style": State.WARN;
6
- readonly "stylistic/array-bracket-newline": State.WARN;
7
- readonly "stylistic/array-bracket-spacing": State.WARN;
8
- readonly "stylistic/array-element-newline": readonly [
9
- State.WARN,
10
- {
11
- readonly consistent: true;
12
- readonly multiline: true;
13
- readonly minItems: 3;
14
- }
15
- ];
16
- readonly "stylistic/arrow-parens": readonly [
17
- State.WARN,
18
- "as-needed"
19
- ];
20
- readonly "stylistic/arrow-spacing": State.WARN;
21
- readonly "stylistic/block-spacing": State.WARN;
22
- readonly "stylistic/brace-style": readonly [
23
- State.WARN,
24
- "stroustrup",
25
- {
26
- readonly allowSingleLine: true;
27
- }
28
- ];
29
- readonly "stylistic/comma-dangle": readonly [
30
- State.WARN,
31
- "always-multiline"
32
- ];
33
- readonly "stylistic/comma-spacing": State.WARN;
34
- readonly "stylistic/comma-style": State.WARN;
35
- readonly "stylistic/computed-property-spacing": State.WARN;
36
- readonly "stylistic/curly-newline": State.WARN;
37
- readonly "stylistic/dot-location": readonly [
38
- State.WARN,
39
- "property"
40
- ];
41
- readonly "stylistic/function-call-argument-newline": readonly [
42
- State.WARN,
43
- "consistent"
44
- ];
45
- readonly "stylistic/function-call-spacing": State.WARN;
46
- readonly "stylistic/function-paren-newline": readonly [
47
- State.WARN,
48
- "multiline-arguments"
49
- ];
50
- readonly "stylistic/generator-star-spacing": State.WARN;
51
- readonly "stylistic/implicit-arrow-linebreak": State.WARN;
52
- readonly "stylistic/indent": readonly [
53
- State.WARN,
54
- 2,
55
- {
56
- readonly assignmentOperator: 0;
57
- readonly VariableDeclarator: {
58
- readonly var: 0;
59
- readonly let: 0;
60
- readonly const: 0;
61
- };
62
- readonly outerIIFEBody: 0;
63
- readonly offsetTernaryExpressions: true;
64
- }
65
- ];
66
- readonly "stylistic/indent-binary-ops": readonly [
67
- State.WARN,
68
- 2
69
- ];
70
- readonly "stylistic/key-spacing": State.WARN;
71
- readonly "stylistic/keyword-spacing": State.WARN;
72
- readonly "stylistic/lines-between-class-members": readonly [
73
- State.WARN,
74
- {
75
- readonly enforce: readonly [
76
- {
77
- readonly prev: "field";
78
- readonly next: "field";
79
- readonly blankLine: "never";
80
- },
81
- {
82
- readonly prev: "field";
83
- readonly next: "method";
84
- readonly blankLine: "always";
85
- },
86
- {
87
- readonly prev: "method";
88
- readonly next: "*";
89
- readonly blankLine: "always";
90
- }
91
- ];
92
- }
93
- ];
94
- readonly "stylistic/max-len": readonly [
95
- State.WARN,
96
- {
97
- readonly code: 300;
98
- readonly ignoreComments: true;
99
- readonly ignoreTrailingComments: true;
100
- readonly ignoreUrls: true;
101
- readonly ignoreStrings: true;
102
- readonly ignoreTemplateLiterals: true;
103
- readonly ignoreRegExpLiterals: true;
104
- }
105
- ];
106
- readonly "stylistic/max-statements-per-line": State.WARN;
107
- readonly "stylistic/member-delimiter-style": State.WARN;
108
- readonly "stylistic/multiline-ternary": readonly [
109
- State.WARN,
110
- "always-multiline"
111
- ];
112
- readonly "stylistic/newline-per-chained-call": readonly [
113
- State.WARN,
114
- {
115
- readonly ignoreChainWithDepth: 1;
116
- }
117
- ];
118
- readonly "stylistic/no-extra-parens": State.WARN;
119
- readonly "stylistic/no-extra-semi": State.WARN;
120
- readonly "stylistic/no-floating-decimal": State.WARN;
121
- readonly "stylistic/no-mixed-spaces-and-tabs": State.WARN;
122
- readonly "stylistic/no-multi-spaces": readonly [
123
- State.WARN,
124
- {
125
- readonly exceptions: {
126
- readonly Property: false;
127
- readonly ImportAttributes: false;
128
- };
129
- }
130
- ];
131
- readonly "stylistic/no-multiple-empty-lines": readonly [
132
- State.WARN,
133
- {
134
- readonly max: 1;
135
- readonly maxBOF: 0;
136
- readonly maxEOF: 0;
137
- }
138
- ];
139
- readonly "stylistic/no-tabs": State.WARN;
140
- readonly "stylistic/no-trailing-spaces": State.WARN;
141
- readonly "stylistic/no-whitespace-before-property": State.WARN;
142
- readonly "stylistic/nonblock-statement-body-position": readonly [
143
- State.WARN,
144
- "below"
145
- ];
146
- readonly "stylistic/object-curly-newline": readonly [
147
- State.WARN,
148
- {
149
- readonly consistent: true;
150
- readonly multiline: true;
151
- readonly minProperties: 3;
152
- }
153
- ];
154
- readonly "stylistic/object-curly-spacing": readonly [
155
- State.WARN,
156
- "always",
157
- {
158
- readonly emptyObjects: "never";
159
- }
160
- ];
161
- readonly "stylistic/object-property-newline": State.WARN;
162
- readonly "stylistic/one-var-declaration-per-line": readonly [
163
- State.WARN,
164
- "always"
165
- ];
166
- readonly "stylistic/operator-linebreak": readonly [
167
- State.WARN,
168
- "before"
169
- ];
170
- readonly "stylistic/padded-blocks": readonly [
171
- State.WARN,
172
- "never",
173
- {
174
- readonly allowSingleLineBlocks: true;
175
- }
176
- ];
177
- readonly "stylistic/quote-props": readonly [
178
- State.WARN,
179
- "as-needed",
180
- {
181
- readonly keywords: true;
182
- }
183
- ];
184
- readonly "stylistic/quotes": readonly [
185
- State.WARN,
186
- "double",
187
- {
188
- readonly avoidEscape: true;
189
- readonly allowTemplateLiterals: "always";
190
- }
191
- ];
192
- readonly "stylistic/rest-spread-spacing": State.WARN;
193
- readonly "stylistic/semi": State.WARN;
194
- readonly "stylistic/semi-spacing": State.WARN;
195
- readonly "stylistic/semi-style": State.WARN;
196
- readonly "stylistic/space-before-blocks": State.WARN;
197
- readonly "stylistic/space-before-function-paren": readonly [
198
- State.WARN,
199
- {
200
- readonly named: "never";
201
- }
202
- ];
203
- readonly "stylistic/space-in-parens": State.WARN;
204
- readonly "stylistic/space-infix-ops": State.WARN;
205
- readonly "stylistic/space-unary-ops": State.WARN;
206
- readonly "stylistic/spaced-comment": readonly [
207
- State.WARN,
208
- "always",
209
- {
210
- readonly line: {
211
- readonly exceptions: readonly [
212
- "/",
213
- "-",
214
- "+",
215
- "="
216
- ];
217
- readonly markers: readonly [
218
- "!",
219
- "@",
220
- "#",
221
- "/",
222
- "#region",
223
- "#endregion",
224
- "#part",
225
- "/#region",
226
- "/#endregion",
227
- "/#part"
228
- ];
229
- };
230
- readonly block: {
231
- readonly exceptions: readonly [
232
- "*"
233
- ];
234
- readonly markers: readonly [
235
- "*"
236
- ];
237
- readonly balanced: true;
238
- };
239
- }
240
- ];
241
- readonly "stylistic/switch-colon-spacing": State.WARN;
242
- readonly "stylistic/template-curly-spacing": State.WARN;
243
- readonly "stylistic/template-tag-spacing": State.WARN;
244
- readonly "stylistic/type-annotation-spacing": readonly [
245
- State.WARN,
246
- {
247
- readonly before: true;
248
- readonly after: true;
249
- readonly overrides: {
250
- readonly colon: {
251
- readonly before: false;
252
- readonly after: true;
253
- };
254
- };
255
- }
256
- ];
257
- readonly "stylistic/type-generic-spacing": State.WARN;
258
- readonly "stylistic/type-named-tuple-spacing": State.WARN;
259
- readonly "stylistic/wrap-iife": readonly [
260
- State.WARN,
261
- "inside",
262
- {
263
- readonly functionPrototypeMethods: true;
264
- }
265
- ];
266
- readonly "stylistic/wrap-regex": State.WARN;
267
- readonly "stylistic/yield-star-spacing": State.WARN;
268
- };
269
- };
270
- export default _default;
271
- //# sourceMappingURL=js.stylistic.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"js.stylistic.d.ts","sourceRoot":"","sources":["../../src/rules/js.stylistic.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGhC,wBAmRE"}