linted 22.0.0-rc.3 → 22.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (287) hide show
  1. package/dist/{imports/index.d.ts → imports.d.ts} +1 -1
  2. package/dist/imports.d.ts.map +1 -0
  3. package/dist/imports.js +7 -0
  4. package/dist/imports.js.map +1 -0
  5. package/dist/index.d.ts.map +1 -1
  6. package/dist/index.js +5 -13
  7. package/dist/index.js.map +1 -1
  8. package/dist/{imports/parsers.d.ts → parsers/index.d.ts} +1 -1
  9. package/dist/parsers/index.d.ts.map +1 -0
  10. package/dist/{imports/parsers.js → parsers/index.js} +1 -1
  11. package/dist/parsers/index.js.map +1 -0
  12. package/dist/{imports/plugins.d.ts → plugins/index.d.ts} +1 -1
  13. package/dist/plugins/index.d.ts.map +1 -0
  14. package/dist/{imports/plugins.js → plugins/index.js} +1 -1
  15. package/dist/plugins/index.js.map +1 -0
  16. package/package.json +2 -1
  17. package/src/index.ts +10 -18
  18. package/dist/_strings/id.d.ts +0 -2
  19. package/dist/_strings/id.d.ts.map +0 -1
  20. package/dist/_strings/id.js +0 -2
  21. package/dist/_strings/id.js.map +0 -1
  22. package/dist/_strings/index.d.ts +0 -7
  23. package/dist/_strings/index.d.ts.map +0 -1
  24. package/dist/_strings/index.js +0 -7
  25. package/dist/_strings/index.js.map +0 -1
  26. package/dist/_strings/level.d.ts +0 -2
  27. package/dist/_strings/level.d.ts.map +0 -1
  28. package/dist/_strings/level.js +0 -2
  29. package/dist/_strings/level.js.map +0 -1
  30. package/dist/_strings/level.spec.d.ts +0 -2
  31. package/dist/_strings/level.spec.d.ts.map +0 -1
  32. package/dist/_strings/level.spec.js +0 -31
  33. package/dist/_strings/level.spec.js.map +0 -1
  34. package/dist/_strings/state.d.ts +0 -2
  35. package/dist/_strings/state.d.ts.map +0 -1
  36. package/dist/_strings/state.js +0 -2
  37. package/dist/_strings/state.js.map +0 -1
  38. package/dist/files/index.d.ts +0 -13
  39. package/dist/files/index.d.ts.map +0 -1
  40. package/dist/files/index.js +0 -20
  41. package/dist/files/index.js.map +0 -1
  42. package/dist/files/scopes/html.d.ts +0 -3
  43. package/dist/files/scopes/html.d.ts.map +0 -1
  44. package/dist/files/scopes/html.js +0 -2
  45. package/dist/files/scopes/html.js.map +0 -1
  46. package/dist/files/scopes/js.d.ts +0 -3
  47. package/dist/files/scopes/js.d.ts.map +0 -1
  48. package/dist/files/scopes/js.js +0 -5
  49. package/dist/files/scopes/js.js.map +0 -1
  50. package/dist/files/scopes/json.d.ts +0 -3
  51. package/dist/files/scopes/json.d.ts.map +0 -1
  52. package/dist/files/scopes/json.js +0 -2
  53. package/dist/files/scopes/json.js.map +0 -1
  54. package/dist/files/scopes/jsonc.d.ts +0 -3
  55. package/dist/files/scopes/jsonc.d.ts.map +0 -1
  56. package/dist/files/scopes/jsonc.js +0 -6
  57. package/dist/files/scopes/jsonc.js.map +0 -1
  58. package/dist/files/scopes/mocha.d.ts +0 -3
  59. package/dist/files/scopes/mocha.d.ts.map +0 -1
  60. package/dist/files/scopes/mocha.js +0 -5
  61. package/dist/files/scopes/mocha.js.map +0 -1
  62. package/dist/files/scopes/svelte.d.ts +0 -3
  63. package/dist/files/scopes/svelte.d.ts.map +0 -1
  64. package/dist/files/scopes/svelte.js +0 -2
  65. package/dist/files/scopes/svelte.js.map +0 -1
  66. package/dist/files/scopes/ts.d.ts +0 -3
  67. package/dist/files/scopes/ts.d.ts.map +0 -1
  68. package/dist/files/scopes/ts.js +0 -2
  69. package/dist/files/scopes/ts.js.map +0 -1
  70. package/dist/files/scopes/yml.d.ts +0 -3
  71. package/dist/files/scopes/yml.d.ts.map +0 -1
  72. package/dist/files/scopes/yml.js +0 -2
  73. package/dist/files/scopes/yml.js.map +0 -1
  74. package/dist/ignores/index.d.ts +0 -13
  75. package/dist/ignores/index.d.ts.map +0 -1
  76. package/dist/ignores/index.js +0 -29
  77. package/dist/ignores/index.js.map +0 -1
  78. package/dist/ignores/scopes/html.d.ts +0 -3
  79. package/dist/ignores/scopes/html.d.ts.map +0 -1
  80. package/dist/ignores/scopes/html.js +0 -2
  81. package/dist/ignores/scopes/html.js.map +0 -1
  82. package/dist/ignores/scopes/js.d.ts +0 -3
  83. package/dist/ignores/scopes/js.d.ts.map +0 -1
  84. package/dist/ignores/scopes/js.js +0 -2
  85. package/dist/ignores/scopes/js.js.map +0 -1
  86. package/dist/ignores/scopes/json.d.ts +0 -3
  87. package/dist/ignores/scopes/json.d.ts.map +0 -1
  88. package/dist/ignores/scopes/json.js +0 -2
  89. package/dist/ignores/scopes/json.js.map +0 -1
  90. package/dist/ignores/scopes/jsonc.d.ts +0 -3
  91. package/dist/ignores/scopes/jsonc.d.ts.map +0 -1
  92. package/dist/ignores/scopes/jsonc.js +0 -2
  93. package/dist/ignores/scopes/jsonc.js.map +0 -1
  94. package/dist/ignores/scopes/mocha.d.ts +0 -3
  95. package/dist/ignores/scopes/mocha.d.ts.map +0 -1
  96. package/dist/ignores/scopes/mocha.js +0 -2
  97. package/dist/ignores/scopes/mocha.js.map +0 -1
  98. package/dist/ignores/scopes/svelte.d.ts +0 -3
  99. package/dist/ignores/scopes/svelte.d.ts.map +0 -1
  100. package/dist/ignores/scopes/svelte.js +0 -2
  101. package/dist/ignores/scopes/svelte.js.map +0 -1
  102. package/dist/ignores/scopes/ts.d.ts +0 -3
  103. package/dist/ignores/scopes/ts.d.ts.map +0 -1
  104. package/dist/ignores/scopes/ts.js +0 -2
  105. package/dist/ignores/scopes/ts.js.map +0 -1
  106. package/dist/ignores/scopes/yml.d.ts +0 -3
  107. package/dist/ignores/scopes/yml.d.ts.map +0 -1
  108. package/dist/ignores/scopes/yml.js +0 -2
  109. package/dist/ignores/scopes/yml.js.map +0 -1
  110. package/dist/imports/index.d.ts.map +0 -1
  111. package/dist/imports/index.js +0 -7
  112. package/dist/imports/index.js.map +0 -1
  113. package/dist/imports/parsers.d.ts.map +0 -1
  114. package/dist/imports/parsers.js.map +0 -1
  115. package/dist/imports/plugins.d.ts.map +0 -1
  116. package/dist/imports/plugins.js.map +0 -1
  117. package/dist/rules/html/enable.d.ts +0 -3
  118. package/dist/rules/html/enable.d.ts.map +0 -1
  119. package/dist/rules/html/enable.js +0 -94
  120. package/dist/rules/html/enable.js.map +0 -1
  121. package/dist/rules/html/index.d.ts +0 -3
  122. package/dist/rules/html/index.d.ts.map +0 -1
  123. package/dist/rules/html/index.js +0 -3
  124. package/dist/rules/html/index.js.map +0 -1
  125. package/dist/rules/index.d.ts +0 -4563
  126. package/dist/rules/index.d.ts.map +0 -1
  127. package/dist/rules/index.js +0 -19
  128. package/dist/rules/index.js.map +0 -1
  129. package/dist/rules/js/enable.d.ts +0 -348
  130. package/dist/rules/js/enable.d.ts.map +0 -1
  131. package/dist/rules/js/enable.js +0 -519
  132. package/dist/rules/js/enable.js.map +0 -1
  133. package/dist/rules/js/index.d.ts +0 -766
  134. package/dist/rules/js/index.d.ts.map +0 -1
  135. package/dist/rules/js/index.js +0 -7
  136. package/dist/rules/js/index.js.map +0 -1
  137. package/dist/rules/js/stylistic.d.ts +0 -421
  138. package/dist/rules/js/stylistic.d.ts.map +0 -1
  139. package/dist/rules/js/stylistic.js +0 -641
  140. package/dist/rules/js/stylistic.js.map +0 -1
  141. package/dist/rules/json/enable.d.ts +0 -27
  142. package/dist/rules/json/enable.d.ts.map +0 -1
  143. package/dist/rules/json/enable.js +0 -30
  144. package/dist/rules/json/enable.js.map +0 -1
  145. package/dist/rules/json/enable_x.d.ts +0 -50
  146. package/dist/rules/json/enable_x.d.ts.map +0 -1
  147. package/dist/rules/json/enable_x.js +0 -80
  148. package/dist/rules/json/enable_x.js.map +0 -1
  149. package/dist/rules/json/index.d.ts +0 -74
  150. package/dist/rules/json/index.d.ts.map +0 -1
  151. package/dist/rules/json/index.js +0 -7
  152. package/dist/rules/json/index.js.map +0 -1
  153. package/dist/rules/jsonc/index.d.ts +0 -77
  154. package/dist/rules/jsonc/index.d.ts.map +0 -1
  155. package/dist/rules/jsonc/index.js +0 -7
  156. package/dist/rules/jsonc/index.js.map +0 -1
  157. package/dist/rules/jsonc/override.d.ts +0 -6
  158. package/dist/rules/jsonc/override.d.ts.map +0 -1
  159. package/dist/rules/jsonc/override.js +0 -12
  160. package/dist/rules/jsonc/override.js.map +0 -1
  161. package/dist/rules/mocha/disable.d.ts +0 -5
  162. package/dist/rules/mocha/disable.d.ts.map +0 -1
  163. package/dist/rules/mocha/disable.js +0 -8
  164. package/dist/rules/mocha/disable.js.map +0 -1
  165. package/dist/rules/mocha/enable.d.ts +0 -35
  166. package/dist/rules/mocha/enable.d.ts.map +0 -1
  167. package/dist/rules/mocha/enable.js +0 -47
  168. package/dist/rules/mocha/enable.js.map +0 -1
  169. package/dist/rules/mocha/index.d.ts +0 -1171
  170. package/dist/rules/mocha/index.d.ts.map +0 -1
  171. package/dist/rules/mocha/index.js +0 -9
  172. package/dist/rules/mocha/index.js.map +0 -1
  173. package/dist/rules/svelte/disable.d.ts +0 -5
  174. package/dist/rules/svelte/disable.d.ts.map +0 -1
  175. package/dist/rules/svelte/disable.js +0 -8
  176. package/dist/rules/svelte/disable.js.map +0 -1
  177. package/dist/rules/svelte/disable_js.d.ts +0 -6
  178. package/dist/rules/svelte/disable_js.d.ts.map +0 -1
  179. package/dist/rules/svelte/disable_js.js +0 -9
  180. package/dist/rules/svelte/disable_js.js.map +0 -1
  181. package/dist/rules/svelte/disable_ts.d.ts +0 -6
  182. package/dist/rules/svelte/disable_ts.d.ts.map +0 -1
  183. package/dist/rules/svelte/disable_ts.js +0 -9
  184. package/dist/rules/svelte/disable_ts.js.map +0 -1
  185. package/dist/rules/svelte/enable.d.ts +0 -127
  186. package/dist/rules/svelte/enable.d.ts.map +0 -1
  187. package/dist/rules/svelte/enable.js +0 -193
  188. package/dist/rules/svelte/enable.js.map +0 -1
  189. package/dist/rules/svelte/enable_x.d.ts +0 -8
  190. package/dist/rules/svelte/enable_x.d.ts.map +0 -1
  191. package/dist/rules/svelte/enable_x.js +0 -15
  192. package/dist/rules/svelte/enable_x.js.map +0 -1
  193. package/dist/rules/svelte/index.d.ts +0 -1274
  194. package/dist/rules/svelte/index.d.ts.map +0 -1
  195. package/dist/rules/svelte/index.js +0 -15
  196. package/dist/rules/svelte/index.js.map +0 -1
  197. package/dist/rules/ts/disable.d.ts +0 -18
  198. package/dist/rules/ts/disable.d.ts.map +0 -1
  199. package/dist/rules/ts/disable.js +0 -21
  200. package/dist/rules/ts/disable.js.map +0 -1
  201. package/dist/rules/ts/disable_x.d.ts +0 -28
  202. package/dist/rules/ts/disable_x.d.ts.map +0 -1
  203. package/dist/rules/ts/disable_x.js +0 -31
  204. package/dist/rules/ts/disable_x.js.map +0 -1
  205. package/dist/rules/ts/enable.d.ts +0 -265
  206. package/dist/rules/ts/enable.d.ts.map +0 -1
  207. package/dist/rules/ts/enable.js +0 -520
  208. package/dist/rules/ts/enable.js.map +0 -1
  209. package/dist/rules/ts/enable_x.d.ts +0 -72
  210. package/dist/rules/ts/enable_x.d.ts.map +0 -1
  211. package/dist/rules/ts/enable_x.js +0 -108
  212. package/dist/rules/ts/enable_x.js.map +0 -1
  213. package/dist/rules/ts/index.d.ts +0 -1137
  214. package/dist/rules/ts/index.d.ts.map +0 -1
  215. package/dist/rules/ts/index.js +0 -13
  216. package/dist/rules/ts/index.js.map +0 -1
  217. package/dist/rules/yml/enable.d.ts +0 -39
  218. package/dist/rules/yml/enable.d.ts.map +0 -1
  219. package/dist/rules/yml/enable.js +0 -68
  220. package/dist/rules/yml/enable.js.map +0 -1
  221. package/dist/rules/yml/enable_x.d.ts +0 -37
  222. package/dist/rules/yml/enable_x.d.ts.map +0 -1
  223. package/dist/rules/yml/enable_x.js +0 -66
  224. package/dist/rules/yml/enable_x.js.map +0 -1
  225. package/dist/rules/yml/index.d.ts +0 -73
  226. package/dist/rules/yml/index.d.ts.map +0 -1
  227. package/dist/rules/yml/index.js +0 -7
  228. package/dist/rules/yml/index.js.map +0 -1
  229. package/dist/settings.d.ts +0 -7
  230. package/dist/settings.d.ts.map +0 -1
  231. package/dist/settings.js +0 -7
  232. package/dist/settings.js.map +0 -1
  233. package/src/_strings/id.ts +0 -8
  234. package/src/_strings/index.ts +0 -6
  235. package/src/_strings/level.spec.ts +0 -31
  236. package/src/_strings/level.ts +0 -4
  237. package/src/_strings/state.ts +0 -28
  238. package/src/files/index.ts +0 -20
  239. package/src/files/scopes/html.ts +0 -1
  240. package/src/files/scopes/js.ts +0 -4
  241. package/src/files/scopes/json.ts +0 -1
  242. package/src/files/scopes/jsonc.ts +0 -5
  243. package/src/files/scopes/mocha.ts +0 -4
  244. package/src/files/scopes/svelte.ts +0 -1
  245. package/src/files/scopes/ts.ts +0 -1
  246. package/src/files/scopes/yml.ts +0 -1
  247. package/src/ignores/index.ts +0 -31
  248. package/src/ignores/scopes/html.ts +0 -1
  249. package/src/ignores/scopes/js.ts +0 -1
  250. package/src/ignores/scopes/json.ts +0 -1
  251. package/src/ignores/scopes/jsonc.ts +0 -1
  252. package/src/ignores/scopes/mocha.ts +0 -1
  253. package/src/ignores/scopes/svelte.ts +0 -1
  254. package/src/ignores/scopes/ts.ts +0 -1
  255. package/src/ignores/scopes/yml.ts +0 -1
  256. package/src/rules/html/enable.ts +0 -121
  257. package/src/rules/html/index.ts +0 -3
  258. package/src/rules/index.ts +0 -19
  259. package/src/rules/js/enable.ts +0 -547
  260. package/src/rules/js/index.ts +0 -7
  261. package/src/rules/js/stylistic.ts +0 -664
  262. package/src/rules/json/enable.ts +0 -35
  263. package/src/rules/json/enable_x.ts +0 -91
  264. package/src/rules/json/index.ts +0 -7
  265. package/src/rules/jsonc/index.ts +0 -7
  266. package/src/rules/jsonc/override.ts +0 -18
  267. package/src/rules/mocha/disable.ts +0 -11
  268. package/src/rules/mocha/enable.ts +0 -53
  269. package/src/rules/mocha/index.ts +0 -9
  270. package/src/rules/svelte/disable.ts +0 -12
  271. package/src/rules/svelte/disable_js.ts +0 -11
  272. package/src/rules/svelte/disable_ts.ts +0 -9
  273. package/src/rules/svelte/enable.ts +0 -232
  274. package/src/rules/svelte/enable_x.ts +0 -22
  275. package/src/rules/svelte/index.ts +0 -15
  276. package/src/rules/ts/disable.ts +0 -25
  277. package/src/rules/ts/disable_x.ts +0 -35
  278. package/src/rules/ts/enable.ts +0 -569
  279. package/src/rules/ts/enable_x.ts +0 -117
  280. package/src/rules/ts/index.ts +0 -13
  281. package/src/rules/yml/enable.ts +0 -76
  282. package/src/rules/yml/enable_x.ts +0 -73
  283. package/src/rules/yml/index.ts +0 -7
  284. package/src/settings.ts +0 -6
  285. /package/src/{imports/index.ts → imports.ts} +0 -0
  286. /package/src/{imports/parsers.ts → parsers/index.ts} +0 -0
  287. /package/src/{imports/plugins.ts → plugins/index.ts} +0 -0
@@ -1,641 +0,0 @@
1
- import { stylistic, ERROR, OFF, Never, Always, AlwaysMultiline, Consistent, AsNeeded, Strict, All, Star, Last, Before, After, Below, Beside, Inside, Double, } from "../../_strings/index.js";
2
- export default [
3
- stylistic,
4
- {
5
- "@stylistic/array-bracket-newline": [
6
- ERROR,
7
- {
8
- multiline: true,
9
- minItems: null,
10
- },
11
- ],
12
- "@stylistic/array-bracket-spacing": [
13
- ERROR,
14
- Never,
15
- {
16
- singleValue: false,
17
- objectsInArrays: false,
18
- arraysInArrays: false,
19
- },
20
- ],
21
- "@stylistic/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
- "@stylistic/arrow-parens": [
37
- ERROR,
38
- AsNeeded,
39
- {
40
- requireForBlockBody: false,
41
- },
42
- ],
43
- "@stylistic/arrow-spacing": [
44
- ERROR,
45
- {
46
- before: true,
47
- after: true,
48
- },
49
- ],
50
- "@stylistic/block-spacing": [
51
- ERROR,
52
- Always,
53
- ],
54
- "@stylistic/brace-style": [
55
- ERROR,
56
- "stroustrup",
57
- {
58
- allowSingleLine: true,
59
- },
60
- ],
61
- "@stylistic/comma-dangle": [
62
- ERROR,
63
- AlwaysMultiline,
64
- ],
65
- "@stylistic/comma-spacing": [
66
- ERROR,
67
- {
68
- before: false,
69
- after: true,
70
- },
71
- ],
72
- "@stylistic/comma-style": [
73
- ERROR,
74
- Last,
75
- {
76
- exceptions: {
77
- ArrayExpression: false,
78
- ArrayPattern: false,
79
- ArrowFunctionExpression: false,
80
- CallExpression: false,
81
- FunctionDeclaration: false,
82
- FunctionExpression: false,
83
- ImportDeclaration: false,
84
- ObjectExpression: false,
85
- ObjectPattern: false,
86
- VariableDeclaration: false,
87
- NewExpression: false,
88
- },
89
- },
90
- ],
91
- "@stylistic/computed-property-spacing": [
92
- ERROR,
93
- Never,
94
- {
95
- enforceForClassMembers: true,
96
- },
97
- ],
98
- "@stylistic/dot-location": [
99
- ERROR,
100
- "property",
101
- ],
102
- "@stylistic/eol-last": [
103
- ERROR,
104
- Always,
105
- ],
106
- "@stylistic/function-call-argument-newline": [
107
- ERROR,
108
- Consistent,
109
- ],
110
- "@stylistic/function-call-spacing": [
111
- ERROR,
112
- Never,
113
- ],
114
- "@stylistic/function-paren-newline": [
115
- ERROR,
116
- "multiline-arguments",
117
- ],
118
- "@stylistic/generator-star-spacing": [
119
- ERROR,
120
- {
121
- before: true,
122
- after: false,
123
- },
124
- ],
125
- "@stylistic/implicit-arrow-linebreak": [
126
- ERROR,
127
- Beside,
128
- ],
129
- "@stylistic/indent": [
130
- ERROR,
131
- 2,
132
- {
133
- ignoredNodes: [],
134
- SwitchCase: 1,
135
- VariableDeclarator: { "var": 0, let: 0, "const": 0 },
136
- outerIIFEBody: 0,
137
- MemberExpression: 1,
138
- FunctionDeclaration: { parameters: 1, body: 1 },
139
- FunctionExpression: { parameters: 1, body: 1 },
140
- StaticBlock: { body: 1 },
141
- CallExpression: { arguments: 1 },
142
- ArrayExpression: 1,
143
- ObjectExpression: 1,
144
- ImportDeclaration: 1,
145
- flatTernaryExpressions: false,
146
- offsetTernaryExpressions: true,
147
- ignoreComments: false,
148
- },
149
- ],
150
- "@stylistic/indent-binary-ops": [
151
- ERROR,
152
- 2,
153
- ],
154
- "@stylistic/key-spacing": [
155
- ERROR,
156
- {
157
- beforeColon: false,
158
- afterColon: true,
159
- mode: Strict,
160
- },
161
- ],
162
- "@stylistic/keyword-spacing": [
163
- ERROR,
164
- {
165
- before: true,
166
- after: true,
167
- overrides: {},
168
- },
169
- ],
170
- "@stylistic/line-comment-position": OFF,
171
- "@stylistic/lines-around-comment": [
172
- ERROR,
173
- {
174
- beforeBlockComment: false,
175
- afterBlockComment: false,
176
- beforeLineComment: true,
177
- afterLineComment: false,
178
- allowBlockStart: true,
179
- allowBlockEnd: true,
180
- allowObjectStart: true,
181
- allowObjectEnd: true,
182
- allowArrayStart: true,
183
- allowArrayEnd: true,
184
- allowClassStart: true,
185
- allowClassEnd: true,
186
- applyDefaultIgnorePatterns: true,
187
- afterHashbangComment: false,
188
- allowEnumEnd: true,
189
- allowEnumStart: true,
190
- allowInterfaceEnd: true,
191
- allowInterfaceStart: true,
192
- allowModuleEnd: true,
193
- allowModuleStart: true,
194
- allowTypeEnd: true,
195
- allowTypeStart: true,
196
- },
197
- ],
198
- "@stylistic/lines-between-class-members": [
199
- ERROR,
200
- {
201
- enforce: [
202
- { prev: "field", next: "field", blankLine: Never },
203
- { prev: "field", next: "method", blankLine: Always },
204
- { prev: "method", next: Star, blankLine: Always },
205
- ],
206
- },
207
- {
208
- exceptAfterSingleLine: false,
209
- exceptAfterOverload: true,
210
- },
211
- ],
212
- "@stylistic/max-len": [
213
- ERROR,
214
- {
215
- code: 150,
216
- tabWidth: 2,
217
- ignoreComments: true,
218
- ignoreTrailingComments: true,
219
- ignoreUrls: true,
220
- ignoreStrings: true,
221
- ignoreTemplateLiterals: true,
222
- ignoreRegExpLiterals: true,
223
- },
224
- ],
225
- "@stylistic/max-statements-per-line": [
226
- ERROR,
227
- {
228
- max: 1,
229
- },
230
- ],
231
- "@stylistic/member-delimiter-style": [
232
- ERROR,
233
- {
234
- multiline: {
235
- delimiter: "semi",
236
- requireLast: true,
237
- },
238
- singleline: {
239
- delimiter: "semi",
240
- requireLast: false,
241
- },
242
- multilineDetection: "brackets",
243
- },
244
- ],
245
- "@stylistic/multiline-comment-style": OFF,
246
- "@stylistic/multiline-ternary": [
247
- ERROR,
248
- AlwaysMultiline,
249
- ],
250
- "@stylistic/new-parens": [
251
- OFF,
252
- Never,
253
- ],
254
- "@stylistic/newline-per-chained-call": [
255
- ERROR,
256
- {
257
- ignoreChainWithDepth: 2,
258
- },
259
- ],
260
- "@stylistic/no-confusing-arrow": OFF,
261
- "@stylistic/no-extra-parens": [
262
- ERROR,
263
- All,
264
- {
265
- conditionalAssign: true,
266
- returnAssign: true,
267
- nestedBinaryExpressions: true,
268
- ternaryOperandBinaryExpressions: true,
269
- enforceForArrowConditionals: true,
270
- enforceForSequenceExpressions: true,
271
- enforceForNewInMemberExpressions: true,
272
- enforceForFunctionPrototypeMethods: true,
273
- },
274
- ],
275
- "@stylistic/no-extra-semi": ERROR,
276
- "@stylistic/no-floating-decimal": ERROR,
277
- "@stylistic/no-mixed-operators": OFF,
278
- "@stylistic/no-mixed-spaces-and-tabs": ERROR,
279
- "@stylistic/no-multi-spaces": [
280
- ERROR,
281
- {
282
- ignoreEOLComments: false,
283
- exceptions: {
284
- Property: false,
285
- ImportAttributes: false,
286
- },
287
- includeTabs: true,
288
- },
289
- ],
290
- "@stylistic/no-multiple-empty-lines": [
291
- ERROR,
292
- {
293
- max: 1,
294
- maxEOF: 1,
295
- maxBOF: 0,
296
- },
297
- ],
298
- "@stylistic/no-tabs": [
299
- ERROR,
300
- {
301
- allowIndentationTabs: false,
302
- },
303
- ],
304
- "@stylistic/no-trailing-spaces": [
305
- ERROR,
306
- {
307
- skipBlankLines: false,
308
- ignoreComments: false,
309
- },
310
- ],
311
- "@stylistic/no-whitespace-before-property": ERROR,
312
- "@stylistic/nonblock-statement-body-position": [
313
- ERROR,
314
- Below,
315
- {
316
- overrides: {
317
- "if": Below,
318
- "else": Below,
319
- "while": Below,
320
- "do": Below,
321
- "for": Below,
322
- },
323
- },
324
- ],
325
- "@stylistic/object-curly-newline": [
326
- ERROR,
327
- {
328
- ObjectExpression: {
329
- consistent: true,
330
- multiline: true,
331
- minProperties: 4,
332
- },
333
- ObjectPattern: {
334
- consistent: true,
335
- multiline: true,
336
- minProperties: 4,
337
- },
338
- ImportDeclaration: {
339
- consistent: true,
340
- multiline: true,
341
- minProperties: 4,
342
- },
343
- ExportDeclaration: {
344
- consistent: true,
345
- multiline: true,
346
- minProperties: 4,
347
- },
348
- },
349
- ],
350
- "@stylistic/object-curly-spacing": [
351
- ERROR,
352
- Always,
353
- {
354
- arraysInObjects: true,
355
- objectsInObjects: true,
356
- },
357
- ],
358
- "@stylistic/object-property-newline": [
359
- ERROR,
360
- {
361
- allowAllPropertiesOnSameLine: true,
362
- },
363
- ],
364
- "@stylistic/one-var-declaration-per-line": [
365
- ERROR,
366
- Always,
367
- ],
368
- "@stylistic/operator-linebreak": [
369
- ERROR,
370
- Before,
371
- {
372
- overrides: {
373
- "=": After,
374
- },
375
- },
376
- ],
377
- "@stylistic/padded-blocks": [
378
- ERROR,
379
- {
380
- blocks: Never,
381
- classes: Never,
382
- switches: Never,
383
- },
384
- {
385
- allowSingleLineBlocks: true,
386
- },
387
- ],
388
- "@stylistic/padding-line-between-statements": [
389
- ERROR,
390
- {
391
- prev: "directive",
392
- next: Star,
393
- blankLine: Always,
394
- },
395
- {
396
- prev: "directive",
397
- next: "directive",
398
- blankLine: Never,
399
- },
400
- {
401
- prev: ["import", "cjs-import"],
402
- next: Star,
403
- blankLine: Always,
404
- },
405
- {
406
- prev: ["import", "cjs-import"],
407
- next: ["import", "cjs-import"],
408
- blankLine: Never,
409
- },
410
- {
411
- prev: [
412
- "class",
413
- "interface",
414
- "try",
415
- "for",
416
- "if",
417
- "do",
418
- "while",
419
- "switch",
420
- "block",
421
- "block-like",
422
- "iife",
423
- "empty",
424
- "debugger",
425
- "with",
426
- ],
427
- next: Star,
428
- blankLine: Always,
429
- },
430
- {
431
- prev: "case",
432
- next: Star,
433
- blankLine: Always,
434
- },
435
- {
436
- prev: "case",
437
- next: ["case", "default"],
438
- blankLine: Always,
439
- },
440
- {
441
- prev: "default",
442
- next: Star,
443
- blankLine: Always,
444
- },
445
- {
446
- prev: "type",
447
- next: Star,
448
- blankLine: Always,
449
- },
450
- {
451
- prev: "type",
452
- next: "type",
453
- blankLine: Never,
454
- },
455
- {
456
- prev: "function",
457
- next: Star,
458
- blankLine: Always,
459
- },
460
- {
461
- prev: "function-overload",
462
- next: Star,
463
- blankLine: Always,
464
- },
465
- {
466
- prev: "function-overload",
467
- next: "function-overload",
468
- blankLine: Never,
469
- },
470
- {
471
- prev: "function-overload",
472
- next: "function",
473
- blankLine: Never,
474
- },
475
- {
476
- prev: ["const", "let", "var"],
477
- next: Star,
478
- blankLine: Always,
479
- },
480
- {
481
- prev: ["const", "let", "var"],
482
- next: ["const", "let", "var"],
483
- blankLine: Never,
484
- },
485
- {
486
- prev: "expression",
487
- next: Star,
488
- blankLine: Always,
489
- },
490
- {
491
- prev: "expression",
492
- next: "expression",
493
- blankLine: Never,
494
- },
495
- {
496
- prev: Star,
497
- next: [
498
- "throw",
499
- "return",
500
- "break",
501
- "continue",
502
- ],
503
- blankLine: Always,
504
- },
505
- {
506
- prev: Star,
507
- next: ["export", "cjs-export"],
508
- blankLine: Always,
509
- },
510
- {
511
- prev: ["export", "cjs-export"],
512
- next: ["export", "cjs-export"],
513
- blankLine: Never,
514
- },
515
- ],
516
- "@stylistic/quote-props": [
517
- ERROR,
518
- AsNeeded,
519
- {
520
- keywords: true,
521
- unnecessary: true,
522
- numbers: false,
523
- },
524
- ],
525
- "@stylistic/quotes": [
526
- ERROR,
527
- Double,
528
- {
529
- avoidEscape: true,
530
- allowTemplateLiterals: true,
531
- },
532
- ],
533
- "@stylistic/rest-spread-spacing": [
534
- ERROR,
535
- Never,
536
- ],
537
- "@stylistic/semi": [
538
- ERROR,
539
- Always,
540
- {
541
- omitLastInOneLineBlock: false,
542
- omitLastInOneLineClassBody: false,
543
- },
544
- ],
545
- "@stylistic/semi-spacing": [
546
- ERROR,
547
- {
548
- before: false,
549
- after: true,
550
- },
551
- ],
552
- "@stylistic/semi-style": [
553
- ERROR,
554
- Last,
555
- ],
556
- "@stylistic/space-before-blocks": [
557
- ERROR,
558
- {
559
- functions: Always,
560
- keywords: Always,
561
- classes: Always,
562
- },
563
- ],
564
- "@stylistic/space-before-function-paren": [
565
- ERROR,
566
- {
567
- anonymous: Always,
568
- named: Never,
569
- asyncArrow: Always,
570
- },
571
- ],
572
- "@stylistic/space-in-parens": [
573
- ERROR,
574
- Never,
575
- ],
576
- "@stylistic/space-infix-ops": [
577
- ERROR,
578
- {
579
- int32Hint: true,
580
- },
581
- ],
582
- "@stylistic/space-unary-ops": [
583
- ERROR,
584
- {
585
- words: true,
586
- nonwords: false,
587
- overrides: {},
588
- },
589
- ],
590
- "@stylistic/spaced-comment": [
591
- ERROR,
592
- Always,
593
- ],
594
- "@stylistic/switch-colon-spacing": [
595
- ERROR,
596
- {
597
- after: true,
598
- before: false,
599
- },
600
- ],
601
- "@stylistic/template-curly-spacing": [
602
- ERROR,
603
- Never,
604
- ],
605
- "@stylistic/template-tag-spacing": [
606
- ERROR,
607
- Never,
608
- ],
609
- "@stylistic/type-annotation-spacing": [
610
- ERROR,
611
- {
612
- before: true,
613
- after: true,
614
- overrides: {
615
- colon: {
616
- before: false,
617
- after: true,
618
- },
619
- },
620
- },
621
- ],
622
- "@stylistic/type-generic-spacing": ERROR,
623
- "@stylistic/type-named-tuple-spacing": ERROR,
624
- "@stylistic/wrap-iife": [
625
- ERROR,
626
- Inside,
627
- {
628
- functionPrototypeMethods: true,
629
- },
630
- ],
631
- "@stylistic/wrap-regex": ERROR,
632
- "@stylistic/yield-star-spacing": [
633
- ERROR,
634
- {
635
- before: false,
636
- after: true,
637
- },
638
- ],
639
- },
640
- ];
641
- //# sourceMappingURL=stylistic.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"stylistic.js","sourceRoot":"","sources":["../../../src/rules/js/stylistic.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,SAAS,EACT,KAAK,EACL,GAAG,EACH,KAAK,EACL,MAAM,EACN,eAAe,EACf,UAAU,EACV,QAAQ,EACR,MAAM,EACN,GAAG,EACH,IAAI,EACJ,IAAI,EACJ,MAAM,EACN,KAAK,EACL,KAAK,EACL,MAAM,EACN,MAAM,EACN,MAAM,GACP,MAAM,gBAAgB,CAAC;AAExB,eAAe;IACb,SAAS;IACT;QAEE,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,QAAQ;YACR;gBACE,mBAAmB,EAAE,KAAK;aAC3B;SACF;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;gBACE,eAAe,EAAE,IAAI;aACtB;SACF;QACD,yBAAyB,EAAE;YACzB,KAAK;YACL,eAAe;SAChB;QACD,0BAA0B,EAAE;YAC1B,KAAK;YAC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E;YAChC,KAAK;YACL;gBACE,SAAS,EAAE,MAAM;gBACjB,QAAQ,EAAE,MAAM;gBAChB,OAAO,EAAE,MAAM;aAChB;SACF;QACD,wCAAwC,EAAE;YACxC,KAAK;YACL;gBACE,SAAS,EAAE,MAAM;gBACjB,KAAK,EAAE,KAAK;gBACZ,UAAU,EAAE,MAAM;aACnB;SACF;QACD,4BAA4B,EAAE;YAC5B,KAAK;YACL,KAAK;SACN;QACD,4BAA4B,EAAE;YAC5B,KAAK;YACL;gBACE,SAAS,EAAE,IAAI;aAChB;SACF;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,IAAI;gBACZ,KAAK,EAAE,IAAI;gBACX,SAAS,EAAE;oBACT,KAAK,EAAE;wBACL,MAAM,EAAE,KAAK;wBACb,KAAK,EAAE,IAAI;qBACZ;iBACF;aACF;SACF;QACD,iCAAiC,EAAE,KAAK;QACxC,qCAAqC,EAAE,KAAK;QAC5C,sBAAsB,EAAE;YACtB,KAAK;YACL,MAAM;YACN;gBACE,wBAAwB,EAAE,IAAI;aAC/B;SACF;QACD,uBAAuB,EAAE,KAAK;QAC9B,+BAA+B,EAAE;YAC/B,KAAK;YACL;gBACE,MAAM,EAAE,KAAK;gBACb,KAAK,EAAE,IAAI;aACZ;SACF;KACF;CACO,CAAC"}
@@ -1,27 +0,0 @@
1
- declare const _default: readonly ["enable", {
2
- readonly "jsonc/auto": "off";
3
- readonly "jsonc/key-name-casing": "off";
4
- readonly "jsonc/no-bigint-literals": "error";
5
- readonly "jsonc/no-binary-expression": "error";
6
- readonly "jsonc/no-binary-numeric-literals": "error";
7
- readonly "jsonc/no-comments": "error";
8
- readonly "jsonc/no-escape-sequence-in-identifier": "error";
9
- readonly "jsonc/no-hexadecimal-numeric-literals": "error";
10
- readonly "jsonc/no-infinity": "error";
11
- readonly "jsonc/no-nan": "error";
12
- readonly "jsonc/no-number-props": "error";
13
- readonly "jsonc/no-numeric-separators": "error";
14
- readonly "jsonc/no-octal-numeric-literals": "error";
15
- readonly "jsonc/no-parenthesized": "error";
16
- readonly "jsonc/no-plus-sign": "error";
17
- readonly "jsonc/no-regexp-literals": "error";
18
- readonly "jsonc/no-template-literals": "error";
19
- readonly "jsonc/no-undefined-value": "error";
20
- readonly "jsonc/no-unicode-codepoint-escapes": "error";
21
- readonly "jsonc/sort-array-values": "off";
22
- readonly "jsonc/sort-keys": "off";
23
- readonly "jsonc/valid-json-number": "error";
24
- readonly "jsonc/vue-custom-block/no-parsing-error": "error";
25
- }];
26
- export default _default;
27
- //# sourceMappingURL=enable.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"enable.d.ts","sourceRoot":"","sources":["../../../src/rules/json/enable.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAMA,wBA4BW"}