immosquare-cleaner 0.1.9 → 0.1.10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/immosquare-cleaner/version.rb +1 -1
- data/lib/immosquare-cleaner.rb +3 -2
- data/linters/eslintrc.json +54 -27
- data/package.json +7 -8
- metadata +30 -69
- data/node_modules/eslint-plugin-jsonc/LICENSE +0 -21
- data/node_modules/eslint-plugin-jsonc/README.md +0 -279
- data/node_modules/eslint-plugin-jsonc/conf/eslint-all.js +0 -11
- data/node_modules/eslint-plugin-jsonc/conf/eslint-recommended.js +0 -13
- data/node_modules/eslint-plugin-jsonc/conf/rules.js +0 -10
- data/node_modules/eslint-plugin-jsonc/dist/configs/all.js +0 -18
- data/node_modules/eslint-plugin-jsonc/dist/configs/auto-config.js +0 -13
- data/node_modules/eslint-plugin-jsonc/dist/configs/base.js +0 -15
- data/node_modules/eslint-plugin-jsonc/dist/configs/prettier.js +0 -26
- data/node_modules/eslint-plugin-jsonc/dist/configs/recommended-with-json.js +0 -41
- data/node_modules/eslint-plugin-jsonc/dist/configs/recommended-with-json5.js +0 -30
- data/node_modules/eslint-plugin-jsonc/dist/configs/recommended-with-jsonc.js +0 -39
- data/node_modules/eslint-plugin-jsonc/dist/index.js +0 -68
- data/node_modules/eslint-plugin-jsonc/dist/meta.js +0 -5
- data/node_modules/eslint-plugin-jsonc/dist/rules/array-bracket-newline.js +0 -23
- data/node_modules/eslint-plugin-jsonc/dist/rules/array-bracket-spacing.js +0 -23
- data/node_modules/eslint-plugin-jsonc/dist/rules/array-element-newline.js +0 -23
- data/node_modules/eslint-plugin-jsonc/dist/rules/auto.js +0 -66
- data/node_modules/eslint-plugin-jsonc/dist/rules/comma-dangle.js +0 -27
- data/node_modules/eslint-plugin-jsonc/dist/rules/comma-style.js +0 -23
- data/node_modules/eslint-plugin-jsonc/dist/rules/indent.js +0 -23
- data/node_modules/eslint-plugin-jsonc/dist/rules/key-name-casing.js +0 -94
- data/node_modules/eslint-plugin-jsonc/dist/rules/key-spacing.js +0 -23
- data/node_modules/eslint-plugin-jsonc/dist/rules/no-bigint-literals.js +0 -33
- data/node_modules/eslint-plugin-jsonc/dist/rules/no-binary-expression.js +0 -38
- data/node_modules/eslint-plugin-jsonc/dist/rules/no-binary-numeric-literals.js +0 -39
- data/node_modules/eslint-plugin-jsonc/dist/rules/no-comments.js +0 -34
- data/node_modules/eslint-plugin-jsonc/dist/rules/no-dupe-keys.js +0 -23
- data/node_modules/eslint-plugin-jsonc/dist/rules/no-escape-sequence-in-identifier.js +0 -57
- data/node_modules/eslint-plugin-jsonc/dist/rules/no-floating-decimal.js +0 -23
- data/node_modules/eslint-plugin-jsonc/dist/rules/no-hexadecimal-numeric-literals.js +0 -39
- data/node_modules/eslint-plugin-jsonc/dist/rules/no-infinity.js +0 -37
- data/node_modules/eslint-plugin-jsonc/dist/rules/no-irregular-whitespace.js +0 -23
- data/node_modules/eslint-plugin-jsonc/dist/rules/no-multi-str.js +0 -23
- data/node_modules/eslint-plugin-jsonc/dist/rules/no-nan.js +0 -37
- data/node_modules/eslint-plugin-jsonc/dist/rules/no-number-props.js +0 -41
- data/node_modules/eslint-plugin-jsonc/dist/rules/no-numeric-separators.js +0 -42
- data/node_modules/eslint-plugin-jsonc/dist/rules/no-octal-escape.js +0 -23
- data/node_modules/eslint-plugin-jsonc/dist/rules/no-octal-numeric-literals.js +0 -39
- data/node_modules/eslint-plugin-jsonc/dist/rules/no-octal.js +0 -23
- data/node_modules/eslint-plugin-jsonc/dist/rules/no-parenthesized.js +0 -70
- data/node_modules/eslint-plugin-jsonc/dist/rules/no-plus-sign.js +0 -39
- data/node_modules/eslint-plugin-jsonc/dist/rules/no-regexp-literals.js +0 -33
- data/node_modules/eslint-plugin-jsonc/dist/rules/no-sparse-arrays.js +0 -23
- data/node_modules/eslint-plugin-jsonc/dist/rules/no-template-literals.js +0 -36
- data/node_modules/eslint-plugin-jsonc/dist/rules/no-undefined-value.js +0 -35
- data/node_modules/eslint-plugin-jsonc/dist/rules/no-unicode-codepoint-escapes.js +0 -73
- data/node_modules/eslint-plugin-jsonc/dist/rules/no-useless-escape.js +0 -23
- data/node_modules/eslint-plugin-jsonc/dist/rules/object-curly-newline.js +0 -23
- data/node_modules/eslint-plugin-jsonc/dist/rules/object-curly-spacing.js +0 -23
- data/node_modules/eslint-plugin-jsonc/dist/rules/object-property-newline.js +0 -23
- data/node_modules/eslint-plugin-jsonc/dist/rules/quote-props.js +0 -27
- data/node_modules/eslint-plugin-jsonc/dist/rules/quotes.js +0 -27
- data/node_modules/eslint-plugin-jsonc/dist/rules/sort-array-values.js +0 -371
- data/node_modules/eslint-plugin-jsonc/dist/rules/sort-keys.js +0 -413
- data/node_modules/eslint-plugin-jsonc/dist/rules/space-unary-ops.js +0 -23
- data/node_modules/eslint-plugin-jsonc/dist/rules/valid-json-number.js +0 -138
- data/node_modules/eslint-plugin-jsonc/dist/rules/vue-custom-block/no-parsing-error.js +0 -86
- data/node_modules/eslint-plugin-jsonc/dist/types.js +0 -2
- data/node_modules/eslint-plugin-jsonc/dist/utils/casing.js +0 -134
- data/node_modules/eslint-plugin-jsonc/dist/utils/get-auto-jsonc-rules-config.js +0 -97
- data/node_modules/eslint-plugin-jsonc/dist/utils/index.js +0 -121
- data/node_modules/eslint-plugin-jsonc/dist/utils/rules.js +0 -96
- data/node_modules/eslint-plugin-jsonc/index.d.ts +0 -364
- data/node_modules/eslint-plugin-jsonc/package.json +0 -123
@@ -1,364 +0,0 @@
|
|
1
|
-
// Generated by dts-bundle v0.7.3
|
2
|
-
// Dependencies for this module:
|
3
|
-
// ../jsonc-eslint-parser
|
4
|
-
// ../json-schema
|
5
|
-
// ../eslint
|
6
|
-
|
7
|
-
declare module 'eslint-plugin-jsonc' {
|
8
|
-
import type { RuleModule } from "eslint-plugin-jsonc/types";
|
9
|
-
import * as meta from "eslint-plugin-jsonc/meta";
|
10
|
-
import { parseForESLint, parseJSON, traverseNodes, AST, getStaticJSONValue } from "jsonc-eslint-parser";
|
11
|
-
const configs: {
|
12
|
-
base: {
|
13
|
-
plugins: string[];
|
14
|
-
overrides: {
|
15
|
-
files: string[];
|
16
|
-
parser: string;
|
17
|
-
rules: {
|
18
|
-
strict: string;
|
19
|
-
"no-unused-expressions": string;
|
20
|
-
"no-unused-vars": string;
|
21
|
-
};
|
22
|
-
}[];
|
23
|
-
};
|
24
|
-
"auto-config": {
|
25
|
-
extends: string[];
|
26
|
-
rules: {
|
27
|
-
"jsonc/auto": string;
|
28
|
-
};
|
29
|
-
};
|
30
|
-
"recommended-with-json": {
|
31
|
-
extends: string[];
|
32
|
-
rules: {
|
33
|
-
"jsonc/comma-dangle": string;
|
34
|
-
"jsonc/no-bigint-literals": string;
|
35
|
-
"jsonc/no-binary-expression": string;
|
36
|
-
"jsonc/no-binary-numeric-literals": string;
|
37
|
-
"jsonc/no-comments": string;
|
38
|
-
"jsonc/no-dupe-keys": string;
|
39
|
-
"jsonc/no-escape-sequence-in-identifier": string;
|
40
|
-
"jsonc/no-floating-decimal": string;
|
41
|
-
"jsonc/no-hexadecimal-numeric-literals": string;
|
42
|
-
"jsonc/no-infinity": string;
|
43
|
-
"jsonc/no-multi-str": string;
|
44
|
-
"jsonc/no-nan": string;
|
45
|
-
"jsonc/no-number-props": string;
|
46
|
-
"jsonc/no-numeric-separators": string;
|
47
|
-
"jsonc/no-octal-numeric-literals": string;
|
48
|
-
"jsonc/no-octal": string;
|
49
|
-
"jsonc/no-parenthesized": string;
|
50
|
-
"jsonc/no-plus-sign": string;
|
51
|
-
"jsonc/no-regexp-literals": string;
|
52
|
-
"jsonc/no-sparse-arrays": string;
|
53
|
-
"jsonc/no-template-literals": string;
|
54
|
-
"jsonc/no-undefined-value": string;
|
55
|
-
"jsonc/no-unicode-codepoint-escapes": string;
|
56
|
-
"jsonc/no-useless-escape": string;
|
57
|
-
"jsonc/quote-props": string;
|
58
|
-
"jsonc/quotes": string;
|
59
|
-
"jsonc/space-unary-ops": string;
|
60
|
-
"jsonc/valid-json-number": string;
|
61
|
-
"jsonc/vue-custom-block/no-parsing-error": string;
|
62
|
-
};
|
63
|
-
};
|
64
|
-
"recommended-with-jsonc": {
|
65
|
-
extends: string[];
|
66
|
-
rules: {
|
67
|
-
"jsonc/no-bigint-literals": string;
|
68
|
-
"jsonc/no-binary-expression": string;
|
69
|
-
"jsonc/no-binary-numeric-literals": string;
|
70
|
-
"jsonc/no-dupe-keys": string;
|
71
|
-
"jsonc/no-escape-sequence-in-identifier": string;
|
72
|
-
"jsonc/no-floating-decimal": string;
|
73
|
-
"jsonc/no-hexadecimal-numeric-literals": string;
|
74
|
-
"jsonc/no-infinity": string;
|
75
|
-
"jsonc/no-multi-str": string;
|
76
|
-
"jsonc/no-nan": string;
|
77
|
-
"jsonc/no-number-props": string;
|
78
|
-
"jsonc/no-numeric-separators": string;
|
79
|
-
"jsonc/no-octal-numeric-literals": string;
|
80
|
-
"jsonc/no-octal": string;
|
81
|
-
"jsonc/no-parenthesized": string;
|
82
|
-
"jsonc/no-plus-sign": string;
|
83
|
-
"jsonc/no-regexp-literals": string;
|
84
|
-
"jsonc/no-sparse-arrays": string;
|
85
|
-
"jsonc/no-template-literals": string;
|
86
|
-
"jsonc/no-undefined-value": string;
|
87
|
-
"jsonc/no-unicode-codepoint-escapes": string;
|
88
|
-
"jsonc/no-useless-escape": string;
|
89
|
-
"jsonc/quote-props": string;
|
90
|
-
"jsonc/quotes": string;
|
91
|
-
"jsonc/space-unary-ops": string;
|
92
|
-
"jsonc/valid-json-number": string;
|
93
|
-
"jsonc/vue-custom-block/no-parsing-error": string;
|
94
|
-
};
|
95
|
-
};
|
96
|
-
"recommended-with-json5": {
|
97
|
-
extends: string[];
|
98
|
-
rules: {
|
99
|
-
"jsonc/no-bigint-literals": string;
|
100
|
-
"jsonc/no-binary-expression": string;
|
101
|
-
"jsonc/no-binary-numeric-literals": string;
|
102
|
-
"jsonc/no-dupe-keys": string;
|
103
|
-
"jsonc/no-escape-sequence-in-identifier": string;
|
104
|
-
"jsonc/no-number-props": string;
|
105
|
-
"jsonc/no-numeric-separators": string;
|
106
|
-
"jsonc/no-octal-numeric-literals": string;
|
107
|
-
"jsonc/no-octal": string;
|
108
|
-
"jsonc/no-parenthesized": string;
|
109
|
-
"jsonc/no-regexp-literals": string;
|
110
|
-
"jsonc/no-sparse-arrays": string;
|
111
|
-
"jsonc/no-template-literals": string;
|
112
|
-
"jsonc/no-undefined-value": string;
|
113
|
-
"jsonc/no-unicode-codepoint-escapes": string;
|
114
|
-
"jsonc/no-useless-escape": string;
|
115
|
-
"jsonc/space-unary-ops": string;
|
116
|
-
"jsonc/vue-custom-block/no-parsing-error": string;
|
117
|
-
};
|
118
|
-
};
|
119
|
-
prettier: {
|
120
|
-
extends: string[];
|
121
|
-
rules: {
|
122
|
-
"jsonc/array-bracket-newline": string;
|
123
|
-
"jsonc/array-bracket-spacing": string;
|
124
|
-
"jsonc/array-element-newline": string;
|
125
|
-
"jsonc/comma-dangle": string;
|
126
|
-
"jsonc/comma-style": string;
|
127
|
-
"jsonc/indent": string;
|
128
|
-
"jsonc/key-spacing": string;
|
129
|
-
"jsonc/no-floating-decimal": string;
|
130
|
-
"jsonc/object-curly-newline": string;
|
131
|
-
"jsonc/object-curly-spacing": string;
|
132
|
-
"jsonc/object-property-newline": string;
|
133
|
-
"jsonc/quote-props": string;
|
134
|
-
"jsonc/quotes": string;
|
135
|
-
"jsonc/space-unary-ops": string;
|
136
|
-
};
|
137
|
-
};
|
138
|
-
all: {
|
139
|
-
extends: string[];
|
140
|
-
rules: {
|
141
|
-
[x: string]: string;
|
142
|
-
};
|
143
|
-
};
|
144
|
-
};
|
145
|
-
const rules: {
|
146
|
-
[key: string]: RuleModule;
|
147
|
-
};
|
148
|
-
const _default: {
|
149
|
-
meta: typeof meta;
|
150
|
-
configs: {
|
151
|
-
base: {
|
152
|
-
plugins: string[];
|
153
|
-
overrides: {
|
154
|
-
files: string[];
|
155
|
-
parser: string;
|
156
|
-
rules: {
|
157
|
-
strict: string;
|
158
|
-
"no-unused-expressions": string;
|
159
|
-
"no-unused-vars": string;
|
160
|
-
};
|
161
|
-
}[];
|
162
|
-
};
|
163
|
-
"auto-config": {
|
164
|
-
extends: string[];
|
165
|
-
rules: {
|
166
|
-
"jsonc/auto": string;
|
167
|
-
};
|
168
|
-
};
|
169
|
-
"recommended-with-json": {
|
170
|
-
extends: string[];
|
171
|
-
rules: {
|
172
|
-
"jsonc/comma-dangle": string;
|
173
|
-
"jsonc/no-bigint-literals": string;
|
174
|
-
"jsonc/no-binary-expression": string;
|
175
|
-
"jsonc/no-binary-numeric-literals": string;
|
176
|
-
"jsonc/no-comments": string;
|
177
|
-
"jsonc/no-dupe-keys": string;
|
178
|
-
"jsonc/no-escape-sequence-in-identifier": string;
|
179
|
-
"jsonc/no-floating-decimal": string;
|
180
|
-
"jsonc/no-hexadecimal-numeric-literals": string;
|
181
|
-
"jsonc/no-infinity": string;
|
182
|
-
"jsonc/no-multi-str": string;
|
183
|
-
"jsonc/no-nan": string;
|
184
|
-
"jsonc/no-number-props": string;
|
185
|
-
"jsonc/no-numeric-separators": string;
|
186
|
-
"jsonc/no-octal-numeric-literals": string;
|
187
|
-
"jsonc/no-octal": string;
|
188
|
-
"jsonc/no-parenthesized": string;
|
189
|
-
"jsonc/no-plus-sign": string;
|
190
|
-
"jsonc/no-regexp-literals": string;
|
191
|
-
"jsonc/no-sparse-arrays": string;
|
192
|
-
"jsonc/no-template-literals": string;
|
193
|
-
"jsonc/no-undefined-value": string;
|
194
|
-
"jsonc/no-unicode-codepoint-escapes": string;
|
195
|
-
"jsonc/no-useless-escape": string;
|
196
|
-
"jsonc/quote-props": string;
|
197
|
-
"jsonc/quotes": string;
|
198
|
-
"jsonc/space-unary-ops": string;
|
199
|
-
"jsonc/valid-json-number": string;
|
200
|
-
"jsonc/vue-custom-block/no-parsing-error": string;
|
201
|
-
};
|
202
|
-
};
|
203
|
-
"recommended-with-jsonc": {
|
204
|
-
extends: string[];
|
205
|
-
rules: {
|
206
|
-
"jsonc/no-bigint-literals": string;
|
207
|
-
"jsonc/no-binary-expression": string;
|
208
|
-
"jsonc/no-binary-numeric-literals": string;
|
209
|
-
"jsonc/no-dupe-keys": string;
|
210
|
-
"jsonc/no-escape-sequence-in-identifier": string;
|
211
|
-
"jsonc/no-floating-decimal": string;
|
212
|
-
"jsonc/no-hexadecimal-numeric-literals": string;
|
213
|
-
"jsonc/no-infinity": string;
|
214
|
-
"jsonc/no-multi-str": string;
|
215
|
-
"jsonc/no-nan": string;
|
216
|
-
"jsonc/no-number-props": string;
|
217
|
-
"jsonc/no-numeric-separators": string;
|
218
|
-
"jsonc/no-octal-numeric-literals": string;
|
219
|
-
"jsonc/no-octal": string;
|
220
|
-
"jsonc/no-parenthesized": string;
|
221
|
-
"jsonc/no-plus-sign": string;
|
222
|
-
"jsonc/no-regexp-literals": string;
|
223
|
-
"jsonc/no-sparse-arrays": string;
|
224
|
-
"jsonc/no-template-literals": string;
|
225
|
-
"jsonc/no-undefined-value": string;
|
226
|
-
"jsonc/no-unicode-codepoint-escapes": string;
|
227
|
-
"jsonc/no-useless-escape": string;
|
228
|
-
"jsonc/quote-props": string;
|
229
|
-
"jsonc/quotes": string;
|
230
|
-
"jsonc/space-unary-ops": string;
|
231
|
-
"jsonc/valid-json-number": string;
|
232
|
-
"jsonc/vue-custom-block/no-parsing-error": string;
|
233
|
-
};
|
234
|
-
};
|
235
|
-
"recommended-with-json5": {
|
236
|
-
extends: string[];
|
237
|
-
rules: {
|
238
|
-
"jsonc/no-bigint-literals": string;
|
239
|
-
"jsonc/no-binary-expression": string;
|
240
|
-
"jsonc/no-binary-numeric-literals": string;
|
241
|
-
"jsonc/no-dupe-keys": string;
|
242
|
-
"jsonc/no-escape-sequence-in-identifier": string;
|
243
|
-
"jsonc/no-number-props": string;
|
244
|
-
"jsonc/no-numeric-separators": string;
|
245
|
-
"jsonc/no-octal-numeric-literals": string;
|
246
|
-
"jsonc/no-octal": string;
|
247
|
-
"jsonc/no-parenthesized": string;
|
248
|
-
"jsonc/no-regexp-literals": string;
|
249
|
-
"jsonc/no-sparse-arrays": string;
|
250
|
-
"jsonc/no-template-literals": string;
|
251
|
-
"jsonc/no-undefined-value": string;
|
252
|
-
"jsonc/no-unicode-codepoint-escapes": string;
|
253
|
-
"jsonc/no-useless-escape": string;
|
254
|
-
"jsonc/space-unary-ops": string;
|
255
|
-
"jsonc/vue-custom-block/no-parsing-error": string;
|
256
|
-
};
|
257
|
-
};
|
258
|
-
prettier: {
|
259
|
-
extends: string[];
|
260
|
-
rules: {
|
261
|
-
"jsonc/array-bracket-newline": string;
|
262
|
-
"jsonc/array-bracket-spacing": string;
|
263
|
-
"jsonc/array-element-newline": string;
|
264
|
-
"jsonc/comma-dangle": string;
|
265
|
-
"jsonc/comma-style": string;
|
266
|
-
"jsonc/indent": string;
|
267
|
-
"jsonc/key-spacing": string;
|
268
|
-
"jsonc/no-floating-decimal": string;
|
269
|
-
"jsonc/object-curly-newline": string;
|
270
|
-
"jsonc/object-curly-spacing": string;
|
271
|
-
"jsonc/object-property-newline": string;
|
272
|
-
"jsonc/quote-props": string;
|
273
|
-
"jsonc/quotes": string;
|
274
|
-
"jsonc/space-unary-ops": string;
|
275
|
-
};
|
276
|
-
};
|
277
|
-
all: {
|
278
|
-
extends: string[];
|
279
|
-
rules: {
|
280
|
-
[x: string]: string;
|
281
|
-
};
|
282
|
-
};
|
283
|
-
};
|
284
|
-
rules: {
|
285
|
-
[key: string]: RuleModule;
|
286
|
-
};
|
287
|
-
parseForESLint: typeof parseForESLint;
|
288
|
-
parseJSON: typeof parseJSON;
|
289
|
-
traverseNodes: typeof traverseNodes;
|
290
|
-
getStaticJSONValue: typeof getStaticJSONValue;
|
291
|
-
};
|
292
|
-
export default _default;
|
293
|
-
export { meta, configs, rules, parseForESLint, parseJSON, traverseNodes, getStaticJSONValue, AST, };
|
294
|
-
}
|
295
|
-
|
296
|
-
declare module 'eslint-plugin-jsonc/types' {
|
297
|
-
import type { JSONSchema4 } from "json-schema";
|
298
|
-
import type { Rule } from "eslint";
|
299
|
-
export interface RuleListener {
|
300
|
-
[key: string]: ((node: never) => void) | undefined;
|
301
|
-
}
|
302
|
-
export interface RuleModule {
|
303
|
-
meta: RuleMetaData;
|
304
|
-
jsoncDefineRule: PartialRuleModule;
|
305
|
-
create(context: Rule.RuleContext): RuleListener;
|
306
|
-
}
|
307
|
-
export interface RuleMetaData {
|
308
|
-
docs: {
|
309
|
-
description: string;
|
310
|
-
recommended: ("json" | "jsonc" | "json5")[] | null;
|
311
|
-
url: string;
|
312
|
-
ruleId: string;
|
313
|
-
ruleName: string;
|
314
|
-
default?: "error" | "warn";
|
315
|
-
extensionRule: boolean | string | {
|
316
|
-
plugin: string;
|
317
|
-
url: string;
|
318
|
-
};
|
319
|
-
layout: boolean;
|
320
|
-
};
|
321
|
-
messages: {
|
322
|
-
[messageId: string]: string;
|
323
|
-
};
|
324
|
-
fixable?: "code" | "whitespace";
|
325
|
-
hasSuggestions?: boolean;
|
326
|
-
schema: JSONSchema4 | JSONSchema4[];
|
327
|
-
deprecated?: boolean;
|
328
|
-
replacedBy?: [];
|
329
|
-
type: "problem" | "suggestion" | "layout";
|
330
|
-
}
|
331
|
-
export interface PartialRuleModule {
|
332
|
-
meta: PartialRuleMetaData;
|
333
|
-
create(context: Rule.RuleContext, params: {
|
334
|
-
customBlock: boolean;
|
335
|
-
}): RuleListener;
|
336
|
-
}
|
337
|
-
export interface PartialRuleMetaData {
|
338
|
-
docs: {
|
339
|
-
description: string;
|
340
|
-
recommended: ("json" | "jsonc" | "json5")[] | null;
|
341
|
-
default?: "error" | "warn";
|
342
|
-
extensionRule: boolean | string | {
|
343
|
-
plugin: string;
|
344
|
-
url: string;
|
345
|
-
};
|
346
|
-
layout: boolean;
|
347
|
-
};
|
348
|
-
messages: {
|
349
|
-
[messageId: string]: string;
|
350
|
-
};
|
351
|
-
fixable?: "code" | "whitespace";
|
352
|
-
hasSuggestions?: boolean;
|
353
|
-
schema: JSONSchema4 | JSONSchema4[];
|
354
|
-
deprecated?: boolean;
|
355
|
-
replacedBy?: [];
|
356
|
-
type: "problem" | "suggestion" | "layout";
|
357
|
-
}
|
358
|
-
}
|
359
|
-
|
360
|
-
declare module 'eslint-plugin-jsonc/meta' {
|
361
|
-
export const name: "eslint-plugin-jsonc";
|
362
|
-
export const version: "2.9.0";
|
363
|
-
}
|
364
|
-
|
@@ -1,123 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"name": "eslint-plugin-jsonc",
|
3
|
-
"version": "2.9.0",
|
4
|
-
"description": "ESLint plugin for JSON, JSONC and JSON5 files.",
|
5
|
-
"main": "dist/index.js",
|
6
|
-
"typescript": {
|
7
|
-
"definition": "index.d.ts"
|
8
|
-
},
|
9
|
-
"types": "index.d.ts",
|
10
|
-
"files": [
|
11
|
-
"dist",
|
12
|
-
"index.d.ts",
|
13
|
-
"conf"
|
14
|
-
],
|
15
|
-
"engines": {
|
16
|
-
"node": "^12.22.0 || ^14.17.0 || >=16.0.0"
|
17
|
-
},
|
18
|
-
"scripts": {
|
19
|
-
"prebuild": "npm run -s clean",
|
20
|
-
"build": "npm run build:meta && npm run build:ts && npm run build:dts",
|
21
|
-
"build:meta": "ts-node --transpile-only ./tools/update-meta.ts",
|
22
|
-
"build:ts": "tsc --project ./tsconfig.build.json",
|
23
|
-
"build:dts": "npm run build:dts-step1 && npm run build:dts-step2",
|
24
|
-
"build:dts-step1": "tsc --declaration --outDir dist-ts --project ./tsconfig.build.json",
|
25
|
-
"build:dts-step2": "dts-bundle --name eslint-plugin-jsonc --main ./dist-ts/index.d.ts --out ../index.d.ts",
|
26
|
-
"clean": "rimraf .nyc_output dist coverage",
|
27
|
-
"lint": "eslint . --ext .js,.vue,.ts,.md,.json,.json5,.yaml,.yml",
|
28
|
-
"eslint-fix": "eslint . --ext .js,.vue,.ts,.md,.json,.json5,.yaml,.yml --fix",
|
29
|
-
"test:base": "mocha --require ts-node/register \"tests/lib/**/*.ts\" --reporter dot --timeout 60000",
|
30
|
-
"test": "npm run test:base",
|
31
|
-
"test:nyc": "nyc --reporter=lcov npm run test:base",
|
32
|
-
"test:debug": "mocha --require ts-node/register/transpile-only \"tests/lib/**/*.ts\" --reporter dot",
|
33
|
-
"pretest:integrations": "npm run build:ts && npm pack",
|
34
|
-
"test:integrations": "mocha --require ts-node/register \"tests-integrations/lib/**/*.ts\" --reporter dot --timeout 120000",
|
35
|
-
"update": "ts-node --transpile-only ./tools/update.ts && npm run eslint-fix && npm run test:nyc",
|
36
|
-
"update-only": "ts-node --transpile-only ./tools/update.ts",
|
37
|
-
"new": "ts-node ./tools/new-rule.ts",
|
38
|
-
"predocs:watch": "npm run build:ts",
|
39
|
-
"docs:watch": "vuepress dev --debug docs",
|
40
|
-
"docs:build": "npm run build:ts && vuepress build docs --no-cache",
|
41
|
-
"prerelease": "npm run test && npm run build",
|
42
|
-
"release": "changeset publish",
|
43
|
-
"preversion": "npm test && git add .",
|
44
|
-
"version": "env-cmd -e version npm run update && git add .",
|
45
|
-
"preversion:ci": "npm run build",
|
46
|
-
"version:ci": "env-cmd -e version-ci npm run update && changeset version"
|
47
|
-
},
|
48
|
-
"repository": {
|
49
|
-
"type": "git",
|
50
|
-
"url": "git+https://github.com/ota-meshi/eslint-plugin-jsonc.git"
|
51
|
-
},
|
52
|
-
"keywords": [
|
53
|
-
"eslint",
|
54
|
-
"eslintplugin",
|
55
|
-
"eslint-plugin",
|
56
|
-
"lint",
|
57
|
-
"jsonc",
|
58
|
-
"json5",
|
59
|
-
"json"
|
60
|
-
],
|
61
|
-
"author": "Yosuke Ota",
|
62
|
-
"funding": "https://github.com/sponsors/ota-meshi",
|
63
|
-
"license": "MIT",
|
64
|
-
"bugs": {
|
65
|
-
"url": "https://github.com/ota-meshi/eslint-plugin-jsonc/issues"
|
66
|
-
},
|
67
|
-
"homepage": "https://ota-meshi.github.io/eslint-plugin-jsonc/",
|
68
|
-
"dependencies": {
|
69
|
-
"@eslint-community/eslint-utils": "^4.2.0",
|
70
|
-
"jsonc-eslint-parser": "^2.0.4",
|
71
|
-
"natural-compare": "^1.4.0"
|
72
|
-
},
|
73
|
-
"peerDependencies": {
|
74
|
-
"eslint": ">=6.0.0"
|
75
|
-
},
|
76
|
-
"devDependencies": {
|
77
|
-
"@babel/eslint-parser": "^7.11.0",
|
78
|
-
"@changesets/changelog-github": "^0.4.6",
|
79
|
-
"@changesets/cli": "^2.24.2",
|
80
|
-
"@ota-meshi/eslint-plugin": "^0.13.0",
|
81
|
-
"@types/eslint": "^8.0.0",
|
82
|
-
"@types/eslint-scope": "^3.7.0",
|
83
|
-
"@types/eslint-visitor-keys": "^1.0.0",
|
84
|
-
"@types/mocha": "^10.0.0",
|
85
|
-
"@types/natural-compare": "^1.4.0",
|
86
|
-
"@types/node": "^18.0.0",
|
87
|
-
"@types/semver": "^7.3.1",
|
88
|
-
"@typescript-eslint/eslint-plugin": "^5.0.0",
|
89
|
-
"@typescript-eslint/parser": "^5.0.0",
|
90
|
-
"dts-bundle": "^0.7.3",
|
91
|
-
"env-cmd": "^10.1.0",
|
92
|
-
"eslint": "^8.0.0",
|
93
|
-
"eslint-config-prettier": "^8.0.0",
|
94
|
-
"eslint-plugin-eslint-comments": "^3.2.0",
|
95
|
-
"eslint-plugin-eslint-plugin": "^5.0.0",
|
96
|
-
"eslint-plugin-json-schema-validator": "^4.0.0",
|
97
|
-
"eslint-plugin-jsonc": "^2.0.0",
|
98
|
-
"eslint-plugin-markdown": "^3.0.0",
|
99
|
-
"eslint-plugin-node": "^11.1.0",
|
100
|
-
"eslint-plugin-node-dependencies": "^0.11.0",
|
101
|
-
"eslint-plugin-prettier": "^4.0.0",
|
102
|
-
"eslint-plugin-regexp": "^1.0.0",
|
103
|
-
"eslint-plugin-vue": "^9.0.0",
|
104
|
-
"eslint-plugin-yml": "^1.0.0",
|
105
|
-
"mocha": "^10.0.0",
|
106
|
-
"nyc": "^15.1.0",
|
107
|
-
"prettier": "^2.0.5",
|
108
|
-
"raw-loader": "^4.0.1",
|
109
|
-
"semver": "^7.3.2",
|
110
|
-
"stylelint": "^15.0.0",
|
111
|
-
"stylelint-config-recommended-vue": "^1.0.0",
|
112
|
-
"stylelint-config-standard": "^33.0.0",
|
113
|
-
"stylelint-stylus": "^0.18.0",
|
114
|
-
"ts-node": "^10.0.0",
|
115
|
-
"typescript": "~5.0.0",
|
116
|
-
"vue-eslint-editor": "^1.1.0",
|
117
|
-
"vue-eslint-parser": "^9.0.0",
|
118
|
-
"vuepress": "^1.8.2"
|
119
|
-
},
|
120
|
-
"publishConfig": {
|
121
|
-
"access": "public"
|
122
|
-
}
|
123
|
-
}
|