linted 16.12.2-rc.0 → 16.12.2-rc.2
Sign up to get free protection for your applications and to get access to all the features.
- package/.github/workflows/RELEASE.yml +35 -35
- package/.github/workflows/rc.yml +35 -35
- package/LICENSE +21 -21
- package/README.md +390 -390
- package/SECURITY.md +9 -9
- package/dist/imports/plugins.d.ts.map +1 -1
- package/dist/imports.d.ts.map +1 -1
- package/dist/rules/html/enable.d.ts +8 -0
- package/dist/rules/html/enable.d.ts.map +1 -0
- package/dist/rules/html/enable.js +15 -0
- package/dist/rules/html/enable.js.map +1 -0
- package/dist/rules/html/enable_recommended.d.ts +3 -0
- package/dist/rules/html/enable_recommended.d.ts.map +1 -0
- package/dist/rules/html/enable_recommended.js +8 -0
- package/dist/rules/html/enable_recommended.js.map +1 -0
- package/dist/rules/html.d.ts +8 -0
- package/dist/rules/html.d.ts.map +1 -0
- package/dist/rules/html.js +4 -0
- package/dist/rules/html.js.map +1 -0
- package/dist/rules/js/enable.d.ts +348 -0
- package/dist/rules/js/enable.d.ts.map +1 -0
- package/dist/rules/js/enable.js +496 -0
- package/dist/rules/js/enable.js.map +1 -0
- package/dist/rules/js/enable_stylistic.d.ts +420 -0
- package/dist/rules/js/enable_stylistic.d.ts.map +1 -0
- package/dist/rules/js/enable_stylistic.js +585 -0
- package/dist/rules/js/enable_stylistic.js.map +1 -0
- package/dist/rules/js.d.ts +765 -0
- package/dist/rules/js.d.ts.map +1 -0
- package/dist/rules/js.js +4 -0
- package/dist/rules/js.js.map +1 -0
- package/dist/rules/json/enable.d.ts +27 -0
- package/dist/rules/json/enable.d.ts.map +1 -0
- package/dist/rules/json/enable.js +31 -0
- package/dist/rules/json/enable.js.map +1 -0
- package/dist/rules/json/enable_x.d.ts.map +1 -1
- package/dist/rules/json/enable_x.js +48 -8
- package/dist/rules/json/enable_x.js.map +1 -1
- package/dist/rules/json.d.ts +74 -0
- package/dist/rules/json.d.ts.map +1 -0
- package/dist/rules/json.js +4 -0
- package/dist/rules/json.js.map +1 -0
- package/dist/rules/jsonc/override.d.ts.map +1 -1
- package/dist/rules/jsonc/override.js +12 -3
- package/dist/rules/jsonc/override.js.map +1 -1
- package/dist/rules/jsonc.d.ts +77 -0
- package/dist/rules/jsonc.d.ts.map +1 -0
- package/dist/rules/jsonc.js +4 -0
- package/dist/rules/jsonc.js.map +1 -0
- package/dist/rules/md/enable.d.ts +7 -0
- package/dist/rules/md/enable.d.ts.map +1 -0
- package/dist/rules/md/enable.js +14 -0
- package/dist/rules/md/enable.js.map +1 -0
- package/dist/rules/md.d.ts +7 -0
- package/dist/rules/md.d.ts.map +1 -0
- package/dist/rules/md.js +3 -0
- package/dist/rules/md.js.map +1 -0
- package/dist/rules/mocha/enable.d.ts +3 -0
- package/dist/rules/mocha/enable.d.ts.map +1 -0
- package/dist/rules/mocha/enable.js +3 -0
- package/dist/rules/mocha/enable.js.map +1 -0
- package/dist/rules/mocha/enable_recommended.d.ts +3 -0
- package/dist/rules/mocha/enable_recommended.d.ts.map +1 -0
- package/dist/rules/mocha/enable_recommended.js +8 -0
- package/dist/rules/mocha/enable_recommended.js.map +1 -0
- package/dist/rules/mocha.d.ts +8 -0
- package/dist/rules/mocha.d.ts.map +1 -0
- package/dist/rules/mocha.js +4 -0
- package/dist/rules/mocha.js.map +1 -0
- package/dist/rules/svelte/disable.d.ts +5 -0
- package/dist/rules/svelte/disable.d.ts.map +1 -0
- package/dist/rules/svelte/disable.js +8 -0
- package/dist/rules/svelte/disable.js.map +1 -0
- package/dist/rules/svelte/disable_js.d.ts.map +1 -1
- package/dist/rules/svelte/disable_js.js +8 -3
- package/dist/rules/svelte/disable_js.js.map +1 -1
- package/dist/rules/svelte/disable_ts.d.ts.map +1 -1
- package/dist/rules/svelte/disable_ts.js +8 -3
- package/dist/rules/svelte/disable_ts.js.map +1 -1
- package/dist/rules/svelte/enable.d.ts +126 -0
- package/dist/rules/svelte/enable.d.ts.map +1 -0
- package/dist/rules/svelte/enable.js +190 -0
- package/dist/rules/svelte/enable.js.map +1 -0
- package/dist/rules/svelte/enable_x.d.ts.map +1 -1
- package/dist/rules/svelte/enable_x.js +15 -3
- package/dist/rules/svelte/enable_x.js.map +1 -1
- package/dist/rules/svelte.d.ts +1269 -0
- package/dist/rules/svelte.d.ts.map +1 -0
- package/dist/rules/svelte.js +15 -0
- package/dist/rules/svelte.js.map +1 -0
- package/dist/rules/ts/disable.d.ts +18 -0
- package/dist/rules/ts/disable.d.ts.map +1 -0
- package/dist/rules/ts/disable.js +21 -0
- package/dist/rules/ts/disable.js.map +1 -0
- package/dist/rules/ts/disable_x.d.ts.map +1 -1
- package/dist/rules/ts/disable_x.js +1 -2
- package/dist/rules/ts/disable_x.js.map +1 -1
- package/dist/rules/ts/enable.d.ts +262 -0
- package/dist/rules/ts/enable.d.ts.map +1 -0
- package/dist/rules/ts/enable.js +503 -0
- package/dist/rules/ts/enable.js.map +1 -0
- package/dist/rules/ts/enable_x.d.ts.map +1 -1
- package/dist/rules/ts/enable_x.js +32 -5
- package/dist/rules/ts/enable_x.js.map +1 -1
- package/dist/rules/ts.d.ts +1133 -0
- package/dist/rules/ts.d.ts.map +1 -0
- package/dist/rules/ts.js +13 -0
- package/dist/rules/ts.js.map +1 -0
- package/dist/rules/yml/enable.d.ts +39 -0
- package/dist/rules/yml/enable.d.ts.map +1 -0
- package/dist/rules/yml/enable.js +60 -0
- package/dist/rules/yml/enable.js.map +1 -0
- package/dist/rules/yml/enable_x.d.ts.map +1 -1
- package/dist/rules/yml/enable_x.js +57 -9
- package/dist/rules/yml/enable_x.js.map +1 -1
- package/dist/rules/yml.d.ts +73 -0
- package/dist/rules/yml.d.ts.map +1 -0
- package/dist/rules/yml.js +4 -0
- package/dist/rules/yml.js.map +1 -0
- package/dist/rules.d.ts +75 -75
- package/dist/rules.js +9 -9
- package/dist/rules.js.map +1 -1
- package/eslint.config.js +3 -3
- package/package.json +99 -99
- package/src/files/html.ts +1 -1
- package/src/files/js.ts +1 -1
- package/src/files/json.ts +1 -1
- package/src/files/jsonc.ts +4 -4
- package/src/files/md.ts +1 -1
- package/src/files/mocha.ts +1 -1
- package/src/files/svelte.ts +1 -1
- package/src/files/ts.ts +5 -5
- package/src/files/yml.ts +5 -5
- package/src/files.ts +22 -22
- package/src/imports/parsers.ts +15 -15
- package/src/imports/plugins.ts +19 -19
- package/src/imports.ts +8 -8
- package/src/index.ts +36 -36
- package/src/rules/_strings/id.ts +18 -18
- package/src/rules/_strings/level.ts +6 -6
- package/src/rules/_strings/state.ts +56 -56
- package/src/rules/_strings.ts +6 -6
- package/src/rules/html/enable.ts +16 -0
- package/src/rules/html/enable_recommended.ts +9 -0
- package/src/rules/html.ts +4 -0
- package/src/rules/js/enable.ts +524 -0
- package/src/rules/js/enable_stylistic.ts +608 -0
- package/src/rules/js.ts +4 -0
- package/src/rules/json/{_enable.ts → enable.ts} +33 -35
- package/src/rules/json/enable_x.ts +89 -50
- package/src/rules/{_json.ts → json.ts} +4 -4
- package/src/rules/jsonc/override.ts +16 -9
- package/src/rules/{_jsonc.ts → jsonc.ts} +4 -4
- package/src/rules/md/enable.ts +15 -0
- package/src/rules/md.ts +3 -0
- package/src/rules/mocha/enable.ts +3 -0
- package/src/rules/mocha/enable_recommended.ts +9 -0
- package/src/rules/mocha.ts +4 -0
- package/src/rules/svelte/disable.ts +9 -0
- package/src/rules/svelte/disable_js.ts +11 -7
- package/src/rules/svelte/disable_ts.ts +9 -5
- package/src/rules/svelte/{_enable.ts → enable.ts} +228 -129
- package/src/rules/svelte/enable_x.ts +20 -9
- package/src/rules/{_svelte.ts → svelte.ts} +15 -15
- package/src/rules/ts/{disable_compiler.ts → disable.ts} +22 -23
- package/src/rules/ts/disable_x.ts +32 -36
- package/src/rules/ts/{_enable.ts → enable.ts} +549 -406
- package/src/rules/ts/enable_x.ts +115 -90
- package/src/rules/{_ts.ts → ts.ts} +13 -13
- package/src/rules/yml/{_enable.ts → enable.ts} +64 -33
- package/src/rules/yml/enable_x.ts +68 -21
- package/src/rules/{_yml.ts → yml.ts} +4 -4
- package/src/rules.ts +22 -22
- package/tsconfig.json +161 -161
- package/types/markdownlint/index.d.ts +3 -3
- package/types/markdownlint/parser.d.ts +9 -9
- package/types/mocha/index.d.ts +8 -8
- package/src/rules/_html.ts +0 -4
- package/src/rules/_js.ts +0 -4
- package/src/rules/_md.ts +0 -3
- package/src/rules/_mocha.ts +0 -4
- package/src/rules/html/_enable.ts +0 -13
- package/src/rules/html/_recommended.ts +0 -7
- package/src/rules/js/_enable.ts +0 -287
- package/src/rules/js/stylistic.ts +0 -294
- package/src/rules/md/_enable.ts +0 -14
- package/src/rules/mocha/_enable.ts +0 -5
- package/src/rules/mocha/_recommended.ts +0 -7
- package/src/rules/svelte/disable_x.ts +0 -8
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"js.d.ts","sourceRoot":"","sources":["../../src/rules/js.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGA,wBAAkD"}
|
package/dist/rules/js.js
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"js.js","sourceRoot":"","sources":["../../src/rules/js.ts"],"names":[],"mappings":"AAAA,OAAO,eAAe,MAAM,0BAA0B,CAAC;AACvD,OAAO,MAAM,MAAM,gBAAgB,CAAC;AAEpC,eAAe,CAAC,eAAe,EAAE,MAAM,CAAU,CAAC"}
|
@@ -0,0 +1,27 @@
|
|
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
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"enable.d.ts","sourceRoot":"","sources":["../../../src/rules/json/enable.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAIA,wBA4BW"}
|
@@ -0,0 +1,31 @@
|
|
1
|
+
import { enable, level } from "../_strings.js";
|
2
|
+
const { ERROR, OFF } = level;
|
3
|
+
export default [
|
4
|
+
enable,
|
5
|
+
{
|
6
|
+
"jsonc/auto": OFF,
|
7
|
+
"jsonc/key-name-casing": OFF,
|
8
|
+
"jsonc/no-bigint-literals": ERROR,
|
9
|
+
"jsonc/no-binary-expression": ERROR,
|
10
|
+
"jsonc/no-binary-numeric-literals": ERROR,
|
11
|
+
"jsonc/no-comments": ERROR,
|
12
|
+
"jsonc/no-escape-sequence-in-identifier": ERROR,
|
13
|
+
"jsonc/no-hexadecimal-numeric-literals": ERROR,
|
14
|
+
"jsonc/no-infinity": ERROR,
|
15
|
+
"jsonc/no-nan": ERROR,
|
16
|
+
"jsonc/no-number-props": ERROR,
|
17
|
+
"jsonc/no-numeric-separators": ERROR,
|
18
|
+
"jsonc/no-octal-numeric-literals": ERROR,
|
19
|
+
"jsonc/no-parenthesized": ERROR,
|
20
|
+
"jsonc/no-plus-sign": ERROR,
|
21
|
+
"jsonc/no-regexp-literals": ERROR,
|
22
|
+
"jsonc/no-template-literals": ERROR,
|
23
|
+
"jsonc/no-undefined-value": ERROR,
|
24
|
+
"jsonc/no-unicode-codepoint-escapes": ERROR,
|
25
|
+
"jsonc/sort-array-values": OFF,
|
26
|
+
"jsonc/sort-keys": OFF,
|
27
|
+
"jsonc/valid-json-number": ERROR,
|
28
|
+
"jsonc/vue-custom-block/no-parsing-error": ERROR,
|
29
|
+
},
|
30
|
+
];
|
31
|
+
//# sourceMappingURL=enable.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"enable.js","sourceRoot":"","sources":["../../../src/rules/json/enable.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAC;AAE/C,MAAM,EAAE,KAAK,EAAE,GAAG,EAAE,GAAG,KAAK,CAAC;AAE7B,eAAe;IACb,MAAM;IACN;QAEE,YAAY,EAAE,GAAG;QACjB,uBAAuB,EAAE,GAAG;QAC5B,0BAA0B,EAAE,KAAK;QACjC,4BAA4B,EAAE,KAAK;QACnC,kCAAkC,EAAE,KAAK;QACzC,mBAAmB,EAAE,KAAK;QAC1B,wCAAwC,EAAE,KAAK;QAC/C,uCAAuC,EAAE,KAAK;QAC9C,mBAAmB,EAAE,KAAK;QAC1B,cAAc,EAAE,KAAK;QACrB,uBAAuB,EAAE,KAAK;QAC9B,6BAA6B,EAAE,KAAK;QACpC,iCAAiC,EAAE,KAAK;QACxC,wBAAwB,EAAE,KAAK;QAC/B,oBAAoB,EAAE,KAAK;QAC3B,0BAA0B,EAAE,KAAK;QACjC,4BAA4B,EAAE,KAAK;QACnC,0BAA0B,EAAE,KAAK;QACjC,oCAAoC,EAAE,KAAK;QAC3C,yBAAyB,EAAE,GAAG;QAC9B,iBAAiB,EAAE,GAAG;QACtB,yBAAyB,EAAE,KAAK;QAChC,yCAAyC,EAAE,KAAK;KACjD;CACO,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"enable_x.d.ts","sourceRoot":"","sources":["../../../src/rules/json/enable_x.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
1
|
+
{"version":3,"file":"enable_x.d.ts","sourceRoot":"","sources":["../../../src/rules/json/enable_x.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAaA,wBA2EW"}
|
@@ -1,15 +1,30 @@
|
|
1
|
-
import {
|
2
|
-
const {
|
1
|
+
import { enable_x, level, state } from "../_strings.js";
|
2
|
+
const { ERROR } = level, { Never, Always, Consistent, Strict, Last, Double, } = state;
|
3
3
|
export default [
|
4
4
|
enable_x,
|
5
5
|
{
|
6
6
|
"jsonc/array-bracket-newline": [ERROR, Consistent],
|
7
|
-
"jsonc/array-bracket-spacing": [
|
7
|
+
"jsonc/array-bracket-spacing": [
|
8
|
+
ERROR,
|
9
|
+
Never,
|
10
|
+
{
|
11
|
+
singleValue: false,
|
12
|
+
objectsInArrays: false,
|
13
|
+
arraysInArrays: false,
|
14
|
+
},
|
15
|
+
],
|
8
16
|
"jsonc/array-element-newline": [ERROR, Always],
|
9
17
|
"jsonc/comma-dangle": [ERROR, Never],
|
10
18
|
"jsonc/comma-style": [ERROR, Last],
|
11
19
|
"jsonc/indent": [ERROR, 2],
|
12
|
-
"jsonc/key-spacing": [
|
20
|
+
"jsonc/key-spacing": [
|
21
|
+
ERROR,
|
22
|
+
{
|
23
|
+
beforeColon: false,
|
24
|
+
afterColon: true,
|
25
|
+
mode: Strict,
|
26
|
+
},
|
27
|
+
],
|
13
28
|
"jsonc/no-dupe-keys": ERROR,
|
14
29
|
"jsonc/no-floating-decimal": ERROR,
|
15
30
|
"jsonc/no-irregular-whitespace": [
|
@@ -27,11 +42,36 @@ export default [
|
|
27
42
|
"jsonc/no-octal": ERROR,
|
28
43
|
"jsonc/no-sparse-arrays": ERROR,
|
29
44
|
"jsonc/no-useless-escape": ERROR,
|
30
|
-
"jsonc/object-curly-newline": [
|
31
|
-
|
32
|
-
|
45
|
+
"jsonc/object-curly-newline": [
|
46
|
+
ERROR,
|
47
|
+
{
|
48
|
+
consistent: true,
|
49
|
+
multiline: true,
|
50
|
+
minProperties: 2,
|
51
|
+
},
|
52
|
+
],
|
53
|
+
"jsonc/object-curly-spacing": [
|
54
|
+
ERROR,
|
55
|
+
Always,
|
56
|
+
{
|
57
|
+
arraysInObjects: true,
|
58
|
+
objectsInObjects: true,
|
59
|
+
},
|
60
|
+
],
|
61
|
+
"jsonc/object-property-newline": [
|
62
|
+
ERROR,
|
63
|
+
{
|
64
|
+
allowAllPropertiesOnSameLine: false,
|
65
|
+
},
|
66
|
+
],
|
33
67
|
"jsonc/quote-props": [ERROR, Always],
|
34
|
-
"jsonc/quotes": [
|
68
|
+
"jsonc/quotes": [
|
69
|
+
ERROR,
|
70
|
+
Double,
|
71
|
+
{
|
72
|
+
avoidEscape: false,
|
73
|
+
},
|
74
|
+
],
|
35
75
|
"jsonc/space-unary-ops": ERROR,
|
36
76
|
},
|
37
77
|
];
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"enable_x.js","sourceRoot":"","sources":["../../../src/rules/json/enable_x.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
1
|
+
{"version":3,"file":"enable_x.js","sourceRoot":"","sources":["../../../src/rules/json/enable_x.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAC;AAExD,MACA,EAAE,KAAK,EAAE,GAAG,KAAK,EACjB,EACE,KAAK,EACL,MAAM,EACN,UAAU,EACV,MAAM,EACN,IAAI,EACJ,MAAM,GACP,GAAG,KAAK,CAAC;AAEV,eAAe;IACb,QAAQ;IACR;QAEE,6BAA6B,EAAE,CAAC,KAAK,EAAE,UAAU,CAAC;QAClD,6BAA6B,EAAE;YAC7B,KAAK;YACL,KAAK;YACL;gBACE,WAAW,EAAE,KAAK;gBAClB,eAAe,EAAE,KAAK;gBACtB,cAAc,EAAE,KAAK;aACtB;SACF;QACD,6BAA6B,EAAE,CAAC,KAAK,EAAE,MAAM,CAAC;QAC9C,oBAAoB,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC;QACpC,mBAAmB,EAAE,CAAC,KAAK,EAAE,IAAI,CAAC;QAClC,cAAc,EAAE,CAAC,KAAK,EAAE,CAAC,CAAC;QAC1B,mBAAmB,EAAE;YACnB,KAAK;YACL;gBACE,WAAW,EAAE,KAAK;gBAClB,UAAU,EAAE,IAAI;gBAChB,IAAI,EAAE,MAAM;aACb;SACF;QACD,oBAAoB,EAAE,KAAK;QAC3B,2BAA2B,EAAE,KAAK;QAClC,+BAA+B,EAAE;YAC/B,KAAK;YACL;gBACE,WAAW,EAAE,IAAI;gBACjB,YAAY,EAAE,IAAI;gBAClB,WAAW,EAAE,IAAI;gBACjB,aAAa,EAAE,IAAI;gBACnB,WAAW,EAAE,IAAI;aAClB;SACF;QACD,oBAAoB,EAAE,KAAK;QAC3B,uBAAuB,EAAE,KAAK;QAC9B,gBAAgB,EAAE,KAAK;QACvB,wBAAwB,EAAE,KAAK;QAC/B,yBAAyB,EAAE,KAAK;QAChC,4BAA4B,EAAE;YAC5B,KAAK;YACL;gBACE,UAAU,EAAE,IAAI;gBAChB,SAAS,EAAE,IAAI;gBACf,aAAa,EAAE,CAAC;aACjB;SACF;QACD,4BAA4B,EAAE;YAC5B,KAAK;YACL,MAAM;YACN;gBACE,eAAe,EAAE,IAAI;gBACrB,gBAAgB,EAAE,IAAI;aACvB;SACF;QACD,+BAA+B,EAAE;YAC/B,KAAK;YACL;gBACE,4BAA4B,EAAE,KAAK;aACpC;SACF;QACD,mBAAmB,EAAE,CAAC,KAAK,EAAE,MAAM,CAAC;QACpC,cAAc,EAAE;YACd,KAAK;YACL,MAAM;YACN;gBACE,WAAW,EAAE,KAAK;aACnB;SACF;QACD,uBAAuB,EAAE,KAAK;KAC/B;CACO,CAAC"}
|
@@ -0,0 +1,74 @@
|
|
1
|
+
declare const _default: readonly [readonly ["enable-extend", {
|
2
|
+
readonly "jsonc/array-bracket-newline": readonly ["error", "consistent"];
|
3
|
+
readonly "jsonc/array-bracket-spacing": readonly ["error", "never", {
|
4
|
+
readonly singleValue: false;
|
5
|
+
readonly objectsInArrays: false;
|
6
|
+
readonly arraysInArrays: false;
|
7
|
+
}];
|
8
|
+
readonly "jsonc/array-element-newline": readonly ["error", "always"];
|
9
|
+
readonly "jsonc/comma-dangle": readonly ["error", "never"];
|
10
|
+
readonly "jsonc/comma-style": readonly ["error", "last"];
|
11
|
+
readonly "jsonc/indent": readonly ["error", 2];
|
12
|
+
readonly "jsonc/key-spacing": readonly ["error", {
|
13
|
+
readonly beforeColon: false;
|
14
|
+
readonly afterColon: true;
|
15
|
+
readonly mode: "strict";
|
16
|
+
}];
|
17
|
+
readonly "jsonc/no-dupe-keys": "error";
|
18
|
+
readonly "jsonc/no-floating-decimal": "error";
|
19
|
+
readonly "jsonc/no-irregular-whitespace": readonly ["error", {
|
20
|
+
readonly skipStrings: true;
|
21
|
+
readonly skipComments: true;
|
22
|
+
readonly skipRegExps: true;
|
23
|
+
readonly skipTemplates: true;
|
24
|
+
readonly skipJSXText: true;
|
25
|
+
}];
|
26
|
+
readonly "jsonc/no-multi-str": "error";
|
27
|
+
readonly "jsonc/no-octal-escape": "error";
|
28
|
+
readonly "jsonc/no-octal": "error";
|
29
|
+
readonly "jsonc/no-sparse-arrays": "error";
|
30
|
+
readonly "jsonc/no-useless-escape": "error";
|
31
|
+
readonly "jsonc/object-curly-newline": readonly ["error", {
|
32
|
+
readonly consistent: true;
|
33
|
+
readonly multiline: true;
|
34
|
+
readonly minProperties: 2;
|
35
|
+
}];
|
36
|
+
readonly "jsonc/object-curly-spacing": readonly ["error", "always", {
|
37
|
+
readonly arraysInObjects: true;
|
38
|
+
readonly objectsInObjects: true;
|
39
|
+
}];
|
40
|
+
readonly "jsonc/object-property-newline": readonly ["error", {
|
41
|
+
readonly allowAllPropertiesOnSameLine: false;
|
42
|
+
}];
|
43
|
+
readonly "jsonc/quote-props": readonly ["error", "always"];
|
44
|
+
readonly "jsonc/quotes": readonly ["error", "double", {
|
45
|
+
readonly avoidEscape: false;
|
46
|
+
}];
|
47
|
+
readonly "jsonc/space-unary-ops": "error";
|
48
|
+
}], readonly ["enable", {
|
49
|
+
readonly "jsonc/auto": "off";
|
50
|
+
readonly "jsonc/key-name-casing": "off";
|
51
|
+
readonly "jsonc/no-bigint-literals": "error";
|
52
|
+
readonly "jsonc/no-binary-expression": "error";
|
53
|
+
readonly "jsonc/no-binary-numeric-literals": "error";
|
54
|
+
readonly "jsonc/no-comments": "error";
|
55
|
+
readonly "jsonc/no-escape-sequence-in-identifier": "error";
|
56
|
+
readonly "jsonc/no-hexadecimal-numeric-literals": "error";
|
57
|
+
readonly "jsonc/no-infinity": "error";
|
58
|
+
readonly "jsonc/no-nan": "error";
|
59
|
+
readonly "jsonc/no-number-props": "error";
|
60
|
+
readonly "jsonc/no-numeric-separators": "error";
|
61
|
+
readonly "jsonc/no-octal-numeric-literals": "error";
|
62
|
+
readonly "jsonc/no-parenthesized": "error";
|
63
|
+
readonly "jsonc/no-plus-sign": "error";
|
64
|
+
readonly "jsonc/no-regexp-literals": "error";
|
65
|
+
readonly "jsonc/no-template-literals": "error";
|
66
|
+
readonly "jsonc/no-undefined-value": "error";
|
67
|
+
readonly "jsonc/no-unicode-codepoint-escapes": "error";
|
68
|
+
readonly "jsonc/sort-array-values": "off";
|
69
|
+
readonly "jsonc/sort-keys": "off";
|
70
|
+
readonly "jsonc/valid-json-number": "error";
|
71
|
+
readonly "jsonc/vue-custom-block/no-parsing-error": "error";
|
72
|
+
}]];
|
73
|
+
export default _default;
|
74
|
+
//# sourceMappingURL=json.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"json.d.ts","sourceRoot":"","sources":["../../src/rules/json.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGA,wBAA0C"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"json.js","sourceRoot":"","sources":["../../src/rules/json.ts"],"names":[],"mappings":"AAAA,OAAO,OAAO,MAAM,oBAAoB,CAAC;AACzC,OAAO,MAAM,MAAM,kBAAkB,CAAC;AAEtC,eAAe,CAAC,OAAO,EAAE,MAAM,CAAU,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"override.d.ts","sourceRoot":"","sources":["../../../src/rules/jsonc/override.ts"],"names":[],"mappings":";;;;
|
1
|
+
{"version":3,"file":"override.d.ts","sourceRoot":"","sources":["../../../src/rules/jsonc/override.ts"],"names":[],"mappings":";;;;AAKA,wBAUW"}
|
@@ -1,4 +1,13 @@
|
|
1
|
-
import {
|
2
|
-
const {
|
3
|
-
export default [
|
1
|
+
import { override, level, state } from "../_strings.js";
|
2
|
+
const { ERROR, OFF } = level, { AlwaysMultiline } = state;
|
3
|
+
export default [
|
4
|
+
override,
|
5
|
+
{
|
6
|
+
"jsonc/no-comments": OFF,
|
7
|
+
"jsonc/comma-dangle": [
|
8
|
+
ERROR,
|
9
|
+
AlwaysMultiline,
|
10
|
+
],
|
11
|
+
},
|
12
|
+
];
|
4
13
|
//# sourceMappingURL=override.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"override.js","sourceRoot":"","sources":["../../../src/rules/jsonc/override.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
1
|
+
{"version":3,"file":"override.js","sourceRoot":"","sources":["../../../src/rules/jsonc/override.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAC;AAExD,MAAM,EAAE,KAAK,EAAE,GAAG,EAAE,GAAG,KAAK,EAC5B,EAAE,eAAe,EAAE,GAAG,KAAK,CAAC;AAE5B,eAAe;IACb,QAAQ;IACR;QAEE,mBAAmB,EAAE,GAAG;QACxB,oBAAoB,EAAE;YACpB,KAAK;YACL,eAAe;SAChB;KACF;CACO,CAAC"}
|
@@ -0,0 +1,77 @@
|
|
1
|
+
declare const _default: readonly [readonly ["enable-extend", {
|
2
|
+
readonly "jsonc/array-bracket-newline": readonly ["error", "consistent"];
|
3
|
+
readonly "jsonc/array-bracket-spacing": readonly ["error", "never", {
|
4
|
+
readonly singleValue: false;
|
5
|
+
readonly objectsInArrays: false;
|
6
|
+
readonly arraysInArrays: false;
|
7
|
+
}];
|
8
|
+
readonly "jsonc/array-element-newline": readonly ["error", "always"];
|
9
|
+
readonly "jsonc/comma-dangle": readonly ["error", "never"];
|
10
|
+
readonly "jsonc/comma-style": readonly ["error", "last"];
|
11
|
+
readonly "jsonc/indent": readonly ["error", 2];
|
12
|
+
readonly "jsonc/key-spacing": readonly ["error", {
|
13
|
+
readonly beforeColon: false;
|
14
|
+
readonly afterColon: true;
|
15
|
+
readonly mode: "strict";
|
16
|
+
}];
|
17
|
+
readonly "jsonc/no-dupe-keys": "error";
|
18
|
+
readonly "jsonc/no-floating-decimal": "error";
|
19
|
+
readonly "jsonc/no-irregular-whitespace": readonly ["error", {
|
20
|
+
readonly skipStrings: true;
|
21
|
+
readonly skipComments: true;
|
22
|
+
readonly skipRegExps: true;
|
23
|
+
readonly skipTemplates: true;
|
24
|
+
readonly skipJSXText: true;
|
25
|
+
}];
|
26
|
+
readonly "jsonc/no-multi-str": "error";
|
27
|
+
readonly "jsonc/no-octal-escape": "error";
|
28
|
+
readonly "jsonc/no-octal": "error";
|
29
|
+
readonly "jsonc/no-sparse-arrays": "error";
|
30
|
+
readonly "jsonc/no-useless-escape": "error";
|
31
|
+
readonly "jsonc/object-curly-newline": readonly ["error", {
|
32
|
+
readonly consistent: true;
|
33
|
+
readonly multiline: true;
|
34
|
+
readonly minProperties: 2;
|
35
|
+
}];
|
36
|
+
readonly "jsonc/object-curly-spacing": readonly ["error", "always", {
|
37
|
+
readonly arraysInObjects: true;
|
38
|
+
readonly objectsInObjects: true;
|
39
|
+
}];
|
40
|
+
readonly "jsonc/object-property-newline": readonly ["error", {
|
41
|
+
readonly allowAllPropertiesOnSameLine: false;
|
42
|
+
}];
|
43
|
+
readonly "jsonc/quote-props": readonly ["error", "always"];
|
44
|
+
readonly "jsonc/quotes": readonly ["error", "double", {
|
45
|
+
readonly avoidEscape: false;
|
46
|
+
}];
|
47
|
+
readonly "jsonc/space-unary-ops": "error";
|
48
|
+
}], readonly ["enable", {
|
49
|
+
readonly "jsonc/auto": "off";
|
50
|
+
readonly "jsonc/key-name-casing": "off";
|
51
|
+
readonly "jsonc/no-bigint-literals": "error";
|
52
|
+
readonly "jsonc/no-binary-expression": "error";
|
53
|
+
readonly "jsonc/no-binary-numeric-literals": "error";
|
54
|
+
readonly "jsonc/no-comments": "error";
|
55
|
+
readonly "jsonc/no-escape-sequence-in-identifier": "error";
|
56
|
+
readonly "jsonc/no-hexadecimal-numeric-literals": "error";
|
57
|
+
readonly "jsonc/no-infinity": "error";
|
58
|
+
readonly "jsonc/no-nan": "error";
|
59
|
+
readonly "jsonc/no-number-props": "error";
|
60
|
+
readonly "jsonc/no-numeric-separators": "error";
|
61
|
+
readonly "jsonc/no-octal-numeric-literals": "error";
|
62
|
+
readonly "jsonc/no-parenthesized": "error";
|
63
|
+
readonly "jsonc/no-plus-sign": "error";
|
64
|
+
readonly "jsonc/no-regexp-literals": "error";
|
65
|
+
readonly "jsonc/no-template-literals": "error";
|
66
|
+
readonly "jsonc/no-undefined-value": "error";
|
67
|
+
readonly "jsonc/no-unicode-codepoint-escapes": "error";
|
68
|
+
readonly "jsonc/sort-array-values": "off";
|
69
|
+
readonly "jsonc/sort-keys": "off";
|
70
|
+
readonly "jsonc/valid-json-number": "error";
|
71
|
+
readonly "jsonc/vue-custom-block/no-parsing-error": "error";
|
72
|
+
}], readonly ["override", {
|
73
|
+
readonly "jsonc/no-comments": "off";
|
74
|
+
readonly "jsonc/comma-dangle": readonly ["error", "always-multiline"];
|
75
|
+
}]];
|
76
|
+
export default _default;
|
77
|
+
//# sourceMappingURL=jsonc.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"jsonc.d.ts","sourceRoot":"","sources":["../../src/rules/jsonc.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGA,wBAAgD"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"jsonc.js","sourceRoot":"","sources":["../../src/rules/jsonc.ts"],"names":[],"mappings":"AAAA,OAAO,IAAI,MAAM,WAAW,CAAC;AAC7B,OAAO,YAAY,MAAM,qBAAqB,CAAC;AAE/C,eAAe,CAAC,GAAG,IAAI,EAAE,YAAY,CAAU,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"enable.d.ts","sourceRoot":"","sources":["../../../src/rules/md/enable.ts"],"names":[],"mappings":";;;;;AAIA,wBAUW"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"enable.js","sourceRoot":"","sources":["../../../src/rules/md/enable.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAC;AAE/C,MAAM,EAAE,KAAK,EAAE,GAAG,KAAK,CAAC;AAExB,eAAe;IACb,MAAM;IACN;QACE,oBAAoB,EAAE;YACpB,KAAK;YACL;gBACE,KAAK,EAAE,KAAK;aACb;SACF;KACF;CACO,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"md.d.ts","sourceRoot":"","sources":["../../src/rules/md.ts"],"names":[],"mappings":";;;;;AAEA,wBAAiC"}
|
package/dist/rules/md.js
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"md.js","sourceRoot":"","sources":["../../src/rules/md.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,gBAAgB,CAAC;AAEpC,eAAe,CAAC,MAAM,CAAU,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"enable.d.ts","sourceRoot":"","sources":["../../../src/rules/mocha/enable.ts"],"names":[],"mappings":";AAEA,wBAAqC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"enable.js","sourceRoot":"","sources":["../../../src/rules/mocha/enable.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAExC,eAAe,CAAC,MAAM,EAAE,EAAE,CAAU,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"enable_recommended.d.ts","sourceRoot":"","sources":["../../../src/rules/mocha/enable_recommended.ts"],"names":[],"mappings":";AAIA,wBAIW"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"enable_recommended.js","sourceRoot":"","sources":["../../../src/rules/mocha/enable_recommended.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,KAAK,MAAM,qBAAqB,CAAC;AAGxC,eAAe;IACb,WAAW;IACV,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,WAAsD;SACvE,KAAK;CACA,CAAC"}
|
@@ -0,0 +1,8 @@
|
|
1
|
+
declare const _default: readonly [readonly ["recommended", Record<string, "off">], readonly ["enable", {
|
2
|
+
readonly "@html-eslint/require-title": "off";
|
3
|
+
readonly "@html-eslint/element-newline": readonly ["error", {
|
4
|
+
readonly skip: readonly ["head"];
|
5
|
+
}];
|
6
|
+
}]];
|
7
|
+
export default _default;
|
8
|
+
//# sourceMappingURL=mocha.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"mocha.d.ts","sourceRoot":"","sources":["../../src/rules/mocha.ts"],"names":[],"mappings":";;;;;;AAGA,wBAA8C"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"mocha.js","sourceRoot":"","sources":["../../src/rules/mocha.ts"],"names":[],"mappings":"AAAA,OAAO,WAAW,MAAM,+BAA+B,CAAC;AACxD,OAAO,MAAM,MAAM,kBAAkB,CAAC;AAEtC,eAAe,CAAC,WAAW,EAAE,MAAM,CAAU,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"disable.d.ts","sourceRoot":"","sources":["../../../src/rules/svelte/disable.ts"],"names":[],"mappings":";;;AAEA,wBAMW"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"disable.js","sourceRoot":"","sources":["../../../src/rules/svelte/disable.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,GAAG,EAAE,MAAM,gBAAgB,CAAC;AAE9C,eAAe;IACb,OAAO;IACP;QAEE,uBAAuB,EAAE,GAAG;KAC7B;CACO,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"disable_js.d.ts","sourceRoot":"","sources":["../../../src/rules/svelte/disable_js.ts"],"names":[],"mappings":";;;;
|
1
|
+
{"version":3,"file":"disable_js.d.ts","sourceRoot":"","sources":["../../../src/rules/svelte/disable_js.ts"],"names":[],"mappings":";;;;AAEA,wBAQW"}
|
@@ -1,4 +1,9 @@
|
|
1
|
-
import {
|
2
|
-
|
3
|
-
|
1
|
+
import { OFF } from "../_strings.js";
|
2
|
+
export default [
|
3
|
+
"disable-js",
|
4
|
+
{
|
5
|
+
"no-inner-declarations": OFF,
|
6
|
+
"no-self-assign": OFF,
|
7
|
+
},
|
8
|
+
];
|
4
9
|
//# sourceMappingURL=disable_js.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"disable_js.js","sourceRoot":"","sources":["../../../src/rules/svelte/disable_js.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
1
|
+
{"version":3,"file":"disable_js.js","sourceRoot":"","sources":["../../../src/rules/svelte/disable_js.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,gBAAgB,CAAC;AAErC,eAAe;IACb,YAAY;IACZ;QAGE,uBAAuB,EAAE,GAAG;QAC5B,gBAAgB,EAAE,GAAG;KACtB;CACO,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"disable_ts.d.ts","sourceRoot":"","sources":["../../../src/rules/svelte/disable_ts.ts"],"names":[],"mappings":";;;;
|
1
|
+
{"version":3,"file":"disable_ts.d.ts","sourceRoot":"","sources":["../../../src/rules/svelte/disable_ts.ts"],"names":[],"mappings":";;;;AAEA,wBAMW"}
|
@@ -1,4 +1,9 @@
|
|
1
|
-
import {
|
2
|
-
|
3
|
-
|
1
|
+
import { OFF } from "../_strings.js";
|
2
|
+
export default [
|
3
|
+
"disable-ts",
|
4
|
+
{
|
5
|
+
"no-unused-vars": OFF,
|
6
|
+
"@typescript-eslint/no-unused-vars": OFF,
|
7
|
+
},
|
8
|
+
];
|
4
9
|
//# sourceMappingURL=disable_ts.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"disable_ts.js","sourceRoot":"","sources":["../../../src/rules/svelte/disable_ts.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
1
|
+
{"version":3,"file":"disable_ts.js","sourceRoot":"","sources":["../../../src/rules/svelte/disable_ts.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,gBAAgB,CAAC;AAErC,eAAe;IACb,YAAY;IACZ;QACE,gBAAgB,EAAE,GAAG;QACrB,mCAAmC,EAAE,GAAG;KACzC;CACO,CAAC"}
|