linted 22.0.0 → 22.0.2

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 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/rules/js/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGA,wBAGE"}
@@ -1,7 +0,0 @@
1
- import stylistic from "./stylistic.js";
2
- import enable from "./enable.js";
3
- export default [
4
- stylistic,
5
- enable,
6
- ];
7
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/rules/js/index.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,aAAa,CAAC;AACpC,OAAO,MAAM,MAAM,UAAU,CAAC;AAE9B,eAAe;IACb,SAAS;IACT,MAAM;CACP,CAAC"}
@@ -1,421 +0,0 @@
1
- declare const _default: readonly ["stylistic", {
2
- readonly "@stylistic/array-bracket-newline": readonly ["error", {
3
- readonly multiline: true;
4
- readonly minItems: null;
5
- }];
6
- readonly "@stylistic/array-bracket-spacing": readonly ["error", "never", {
7
- readonly singleValue: false;
8
- readonly objectsInArrays: false;
9
- readonly arraysInArrays: false;
10
- }];
11
- readonly "@stylistic/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 "@stylistic/arrow-parens": readonly ["error", "as-needed", {
24
- readonly requireForBlockBody: false;
25
- }];
26
- readonly "@stylistic/arrow-spacing": readonly ["error", {
27
- readonly before: true;
28
- readonly after: true;
29
- }];
30
- readonly "@stylistic/block-spacing": readonly ["error", "always"];
31
- readonly "@stylistic/brace-style": readonly ["error", "stroustrup", {
32
- readonly allowSingleLine: true;
33
- }];
34
- readonly "@stylistic/comma-dangle": readonly ["error", "always-multiline"];
35
- readonly "@stylistic/comma-spacing": readonly ["error", {
36
- readonly before: false;
37
- readonly after: true;
38
- }];
39
- readonly "@stylistic/comma-style": readonly ["error", "last", {
40
- readonly exceptions: {
41
- readonly ArrayExpression: false;
42
- readonly ArrayPattern: false;
43
- readonly ArrowFunctionExpression: false;
44
- readonly CallExpression: false;
45
- readonly FunctionDeclaration: false;
46
- readonly FunctionExpression: false;
47
- readonly ImportDeclaration: false;
48
- readonly ObjectExpression: false;
49
- readonly ObjectPattern: false;
50
- readonly VariableDeclaration: false;
51
- readonly NewExpression: false;
52
- };
53
- }];
54
- readonly "@stylistic/computed-property-spacing": readonly ["error", "never", {
55
- readonly enforceForClassMembers: true;
56
- }];
57
- readonly "@stylistic/dot-location": readonly ["error", "property"];
58
- readonly "@stylistic/eol-last": readonly ["error", "always"];
59
- readonly "@stylistic/function-call-argument-newline": readonly ["error", "consistent"];
60
- readonly "@stylistic/function-call-spacing": readonly ["error", "never"];
61
- readonly "@stylistic/function-paren-newline": readonly ["error", "multiline-arguments"];
62
- readonly "@stylistic/generator-star-spacing": readonly ["error", {
63
- readonly before: true;
64
- readonly after: false;
65
- }];
66
- readonly "@stylistic/implicit-arrow-linebreak": readonly ["error", "beside"];
67
- readonly "@stylistic/indent": readonly ["error", 2, {
68
- readonly ignoredNodes: readonly [];
69
- readonly SwitchCase: 1;
70
- readonly VariableDeclarator: {
71
- readonly var: 0;
72
- readonly let: 0;
73
- readonly const: 0;
74
- };
75
- readonly outerIIFEBody: 0;
76
- readonly MemberExpression: 1;
77
- readonly FunctionDeclaration: {
78
- readonly parameters: 1;
79
- readonly body: 1;
80
- };
81
- readonly FunctionExpression: {
82
- readonly parameters: 1;
83
- readonly body: 1;
84
- };
85
- readonly StaticBlock: {
86
- readonly body: 1;
87
- };
88
- readonly CallExpression: {
89
- readonly arguments: 1;
90
- };
91
- readonly ArrayExpression: 1;
92
- readonly ObjectExpression: 1;
93
- readonly ImportDeclaration: 1;
94
- readonly flatTernaryExpressions: false;
95
- readonly offsetTernaryExpressions: true;
96
- readonly ignoreComments: false;
97
- }];
98
- readonly "@stylistic/indent-binary-ops": readonly ["error", 2];
99
- readonly "@stylistic/key-spacing": readonly ["error", {
100
- readonly beforeColon: false;
101
- readonly afterColon: true;
102
- readonly mode: "strict";
103
- }];
104
- readonly "@stylistic/keyword-spacing": readonly ["error", {
105
- readonly before: true;
106
- readonly after: true;
107
- readonly overrides: {};
108
- }];
109
- readonly "@stylistic/line-comment-position": "off";
110
- readonly "@stylistic/lines-around-comment": readonly ["error", {
111
- readonly beforeBlockComment: false;
112
- readonly afterBlockComment: false;
113
- readonly beforeLineComment: true;
114
- readonly afterLineComment: false;
115
- readonly allowBlockStart: true;
116
- readonly allowBlockEnd: true;
117
- readonly allowObjectStart: true;
118
- readonly allowObjectEnd: true;
119
- readonly allowArrayStart: true;
120
- readonly allowArrayEnd: true;
121
- readonly allowClassStart: true;
122
- readonly allowClassEnd: true;
123
- readonly applyDefaultIgnorePatterns: true;
124
- readonly afterHashbangComment: false;
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
- }];
134
- readonly "@stylistic/lines-between-class-members": readonly ["error", {
135
- readonly enforce: readonly [{
136
- readonly prev: "field";
137
- readonly next: "field";
138
- readonly blankLine: "never";
139
- }, {
140
- readonly prev: "field";
141
- readonly next: "method";
142
- readonly blankLine: "always";
143
- }, {
144
- readonly prev: "method";
145
- readonly next: "*";
146
- readonly blankLine: "always";
147
- }];
148
- }, {
149
- readonly exceptAfterSingleLine: false;
150
- readonly exceptAfterOverload: true;
151
- }];
152
- readonly "@stylistic/max-len": readonly ["error", {
153
- readonly code: 150;
154
- readonly tabWidth: 2;
155
- readonly ignoreComments: true;
156
- readonly ignoreTrailingComments: true;
157
- readonly ignoreUrls: true;
158
- readonly ignoreStrings: true;
159
- readonly ignoreTemplateLiterals: true;
160
- readonly ignoreRegExpLiterals: true;
161
- }];
162
- readonly "@stylistic/max-statements-per-line": readonly ["error", {
163
- readonly max: 1;
164
- }];
165
- readonly "@stylistic/member-delimiter-style": readonly ["error", {
166
- readonly multiline: {
167
- readonly delimiter: "semi";
168
- readonly requireLast: true;
169
- };
170
- readonly singleline: {
171
- readonly delimiter: "semi";
172
- readonly requireLast: false;
173
- };
174
- readonly multilineDetection: "brackets";
175
- }];
176
- readonly "@stylistic/multiline-comment-style": "off";
177
- readonly "@stylistic/multiline-ternary": readonly ["error", "always-multiline"];
178
- readonly "@stylistic/new-parens": readonly ["off", "never"];
179
- readonly "@stylistic/newline-per-chained-call": readonly ["error", {
180
- readonly ignoreChainWithDepth: 2;
181
- }];
182
- readonly "@stylistic/no-confusing-arrow": "off";
183
- readonly "@stylistic/no-extra-parens": readonly ["error", "all", {
184
- readonly conditionalAssign: true;
185
- readonly returnAssign: true;
186
- readonly nestedBinaryExpressions: true;
187
- readonly ternaryOperandBinaryExpressions: true;
188
- readonly enforceForArrowConditionals: true;
189
- readonly enforceForSequenceExpressions: true;
190
- readonly enforceForNewInMemberExpressions: true;
191
- readonly enforceForFunctionPrototypeMethods: true;
192
- }];
193
- readonly "@stylistic/no-extra-semi": "error";
194
- readonly "@stylistic/no-floating-decimal": "error";
195
- readonly "@stylistic/no-mixed-operators": "off";
196
- readonly "@stylistic/no-mixed-spaces-and-tabs": "error";
197
- readonly "@stylistic/no-multi-spaces": readonly ["error", {
198
- readonly ignoreEOLComments: false;
199
- readonly exceptions: {
200
- readonly Property: false;
201
- readonly ImportAttributes: false;
202
- };
203
- readonly includeTabs: true;
204
- }];
205
- readonly "@stylistic/no-multiple-empty-lines": readonly ["error", {
206
- readonly max: 1;
207
- readonly maxEOF: 1;
208
- readonly maxBOF: 0;
209
- }];
210
- readonly "@stylistic/no-tabs": readonly ["error", {
211
- readonly allowIndentationTabs: false;
212
- }];
213
- readonly "@stylistic/no-trailing-spaces": readonly ["error", {
214
- readonly skipBlankLines: false;
215
- readonly ignoreComments: false;
216
- }];
217
- readonly "@stylistic/no-whitespace-before-property": "error";
218
- readonly "@stylistic/nonblock-statement-body-position": readonly ["error", "below", {
219
- readonly overrides: {
220
- readonly if: "below";
221
- readonly else: "below";
222
- readonly while: "below";
223
- readonly do: "below";
224
- readonly for: "below";
225
- };
226
- }];
227
- readonly "@stylistic/object-curly-newline": readonly ["error", {
228
- readonly ObjectExpression: {
229
- readonly consistent: true;
230
- readonly multiline: true;
231
- readonly minProperties: 4;
232
- };
233
- readonly ObjectPattern: {
234
- readonly consistent: true;
235
- readonly multiline: true;
236
- readonly minProperties: 4;
237
- };
238
- readonly ImportDeclaration: {
239
- readonly consistent: true;
240
- readonly multiline: true;
241
- readonly minProperties: 4;
242
- };
243
- readonly ExportDeclaration: {
244
- readonly consistent: true;
245
- readonly multiline: true;
246
- readonly minProperties: 4;
247
- };
248
- }];
249
- readonly "@stylistic/object-curly-spacing": readonly ["error", "always", {
250
- readonly arraysInObjects: true;
251
- readonly objectsInObjects: true;
252
- }];
253
- readonly "@stylistic/object-property-newline": readonly ["error", {
254
- readonly allowAllPropertiesOnSameLine: true;
255
- }];
256
- readonly "@stylistic/one-var-declaration-per-line": readonly ["error", "always"];
257
- readonly "@stylistic/operator-linebreak": readonly ["error", "before", {
258
- readonly overrides: {
259
- readonly "=": "after";
260
- };
261
- }];
262
- readonly "@stylistic/padded-blocks": readonly ["error", {
263
- readonly blocks: "never";
264
- readonly classes: "never";
265
- readonly switches: "never";
266
- }, {
267
- readonly allowSingleLineBlocks: true;
268
- }];
269
- readonly "@stylistic/padding-line-between-statements": readonly ["error", {
270
- readonly prev: "directive";
271
- readonly next: "*";
272
- readonly blankLine: "always";
273
- }, {
274
- readonly prev: "directive";
275
- readonly next: "directive";
276
- readonly blankLine: "never";
277
- }, {
278
- readonly prev: readonly ["import", "cjs-import"];
279
- readonly next: "*";
280
- readonly blankLine: "always";
281
- }, {
282
- readonly prev: readonly ["import", "cjs-import"];
283
- readonly next: readonly ["import", "cjs-import"];
284
- readonly blankLine: "never";
285
- }, {
286
- readonly prev: readonly ["class", "interface", "try", "for", "if", "do", "while", "switch", "block", "block-like", "iife", "empty", "debugger", "with"];
287
- readonly next: "*";
288
- readonly blankLine: "always";
289
- }, {
290
- readonly prev: "case";
291
- readonly next: "*";
292
- readonly blankLine: "always";
293
- }, {
294
- readonly prev: "case";
295
- readonly next: readonly ["case", "default"];
296
- readonly blankLine: "always";
297
- }, {
298
- readonly prev: "default";
299
- readonly next: "*";
300
- readonly blankLine: "always";
301
- }, {
302
- readonly prev: "type";
303
- readonly next: "*";
304
- readonly blankLine: "always";
305
- }, {
306
- readonly prev: "type";
307
- readonly next: "type";
308
- readonly blankLine: "never";
309
- }, {
310
- readonly prev: "function";
311
- readonly next: "*";
312
- readonly blankLine: "always";
313
- }, {
314
- readonly prev: "function-overload";
315
- readonly next: "*";
316
- readonly blankLine: "always";
317
- }, {
318
- readonly prev: "function-overload";
319
- readonly next: "function-overload";
320
- readonly blankLine: "never";
321
- }, {
322
- readonly prev: "function-overload";
323
- readonly next: "function";
324
- readonly blankLine: "never";
325
- }, {
326
- readonly prev: readonly ["const", "let", "var"];
327
- readonly next: "*";
328
- readonly blankLine: "always";
329
- }, {
330
- readonly prev: readonly ["const", "let", "var"];
331
- readonly next: readonly ["const", "let", "var"];
332
- readonly blankLine: "never";
333
- }, {
334
- readonly prev: "expression";
335
- readonly next: "*";
336
- readonly blankLine: "always";
337
- }, {
338
- readonly prev: "expression";
339
- readonly next: "expression";
340
- readonly blankLine: "never";
341
- }, {
342
- readonly prev: "*";
343
- readonly next: readonly ["throw", "return", "break", "continue"];
344
- readonly blankLine: "always";
345
- }, {
346
- readonly prev: "*";
347
- readonly next: readonly ["export", "cjs-export"];
348
- readonly blankLine: "always";
349
- }, {
350
- readonly prev: readonly ["export", "cjs-export"];
351
- readonly next: readonly ["export", "cjs-export"];
352
- readonly blankLine: "never";
353
- }];
354
- readonly "@stylistic/quote-props": readonly ["error", "as-needed", {
355
- readonly keywords: true;
356
- readonly unnecessary: true;
357
- readonly numbers: false;
358
- }];
359
- readonly "@stylistic/quotes": readonly ["error", "double", {
360
- readonly avoidEscape: true;
361
- readonly allowTemplateLiterals: true;
362
- }];
363
- readonly "@stylistic/rest-spread-spacing": readonly ["error", "never"];
364
- readonly "@stylistic/semi": readonly ["error", "always", {
365
- readonly omitLastInOneLineBlock: false;
366
- readonly omitLastInOneLineClassBody: false;
367
- }];
368
- readonly "@stylistic/semi-spacing": readonly ["error", {
369
- readonly before: false;
370
- readonly after: true;
371
- }];
372
- readonly "@stylistic/semi-style": readonly ["error", "last"];
373
- readonly "@stylistic/space-before-blocks": readonly ["error", {
374
- readonly functions: "always";
375
- readonly keywords: "always";
376
- readonly classes: "always";
377
- }];
378
- readonly "@stylistic/space-before-function-paren": readonly ["error", {
379
- readonly anonymous: "always";
380
- readonly named: "never";
381
- readonly asyncArrow: "always";
382
- }];
383
- readonly "@stylistic/space-in-parens": readonly ["error", "never"];
384
- readonly "@stylistic/space-infix-ops": readonly ["error", {
385
- readonly int32Hint: true;
386
- }];
387
- readonly "@stylistic/space-unary-ops": readonly ["error", {
388
- readonly words: true;
389
- readonly nonwords: false;
390
- readonly overrides: {};
391
- }];
392
- readonly "@stylistic/spaced-comment": readonly ["error", "always"];
393
- readonly "@stylistic/switch-colon-spacing": readonly ["error", {
394
- readonly after: true;
395
- readonly before: false;
396
- }];
397
- readonly "@stylistic/template-curly-spacing": readonly ["error", "never"];
398
- readonly "@stylistic/template-tag-spacing": readonly ["error", "never"];
399
- readonly "@stylistic/type-annotation-spacing": readonly ["error", {
400
- readonly before: true;
401
- readonly after: true;
402
- readonly overrides: {
403
- readonly colon: {
404
- readonly before: false;
405
- readonly after: true;
406
- };
407
- };
408
- }];
409
- readonly "@stylistic/type-generic-spacing": "error";
410
- readonly "@stylistic/type-named-tuple-spacing": "error";
411
- readonly "@stylistic/wrap-iife": readonly ["error", "inside", {
412
- readonly functionPrototypeMethods: true;
413
- }];
414
- readonly "@stylistic/wrap-regex": "error";
415
- readonly "@stylistic/yield-star-spacing": readonly ["error", {
416
- readonly before: false;
417
- readonly after: true;
418
- }];
419
- }];
420
- export default _default;
421
- //# sourceMappingURL=stylistic.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"stylistic.d.ts","sourceRoot":"","sources":["../../../src/rules/js/stylistic.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAqBA,wBAkoBW"}