linted 16.12.2-rc.1 → 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.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.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.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.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.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.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.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.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.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/html/_enable.d.ts +8 -0
- package/dist/rules/html/_enable.d.ts.map +1 -0
- package/dist/rules/html/_enable.js +10 -0
- package/dist/rules/html/_enable.js.map +1 -0
- package/dist/rules/html/_recommended.d.ts +3 -0
- package/dist/rules/html/_recommended.d.ts.map +1 -0
- package/dist/rules/html/_recommended.js +5 -0
- package/dist/rules/html/_recommended.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 +260 -0
- package/dist/rules/js/_enable.js.map +1 -0
- package/dist/rules/js/stylistic.d.ts +420 -0
- package/dist/rules/js/stylistic.d.ts.map +1 -0
- package/dist/rules/js/stylistic.js +270 -0
- package/dist/rules/js/stylistic.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/md/_enable.d.ts +7 -0
- package/dist/rules/md/_enable.d.ts.map +1 -0
- package/dist/rules/md/_enable.js +9 -0
- package/dist/rules/md/_enable.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 +4 -0
- package/dist/rules/mocha/_enable.js.map +1 -0
- package/dist/rules/mocha/_recommended.d.ts +3 -0
- package/dist/rules/mocha/_recommended.d.ts.map +1 -0
- package/dist/rules/mocha/_recommended.js +5 -0
- package/dist/rules/mocha/_recommended.js.map +1 -0
- 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 +90 -0
- package/dist/rules/svelte/_enable.js.map +1 -0
- package/dist/rules/svelte/disable_x.d.ts +5 -0
- package/dist/rules/svelte/disable_x.d.ts.map +1 -0
- package/dist/rules/svelte/disable_x.js +4 -0
- package/dist/rules/svelte/disable_x.js.map +1 -0
- 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 +359 -0
- package/dist/rules/ts/_enable.js.map +1 -0
- package/dist/rules/ts/disable_compiler.d.ts +18 -0
- package/dist/rules/ts/disable_compiler.d.ts.map +1 -0
- package/dist/rules/ts/disable_compiler.js +22 -0
- package/dist/rules/ts/disable_compiler.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 +28 -0
- package/dist/rules/yml/_enable.js.map +1 -0
- 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 -16
- package/src/rules/html/enable_recommended.ts +9 -9
- package/src/rules/html.ts +4 -4
- package/src/rules/js/enable.ts +524 -524
- package/src/rules/js/enable_stylistic.ts +608 -608
- package/src/rules/js.ts +4 -4
- package/src/rules/json/enable.ts +33 -33
- package/src/rules/json/enable_x.ts +89 -89
- package/src/rules/json.ts +4 -4
- package/src/rules/jsonc/override.ts +16 -16
- package/src/rules/jsonc.ts +4 -4
- package/src/rules/md/enable.ts +15 -15
- package/src/rules/md.ts +3 -3
- package/src/rules/mocha/enable.ts +3 -3
- package/src/rules/mocha/enable_recommended.ts +9 -9
- package/src/rules/mocha.ts +4 -4
- package/src/rules/svelte/disable.ts +9 -9
- package/src/rules/svelte/disable_js.ts +11 -11
- package/src/rules/svelte/disable_ts.ts +9 -9
- package/src/rules/svelte/enable.ts +228 -228
- package/src/rules/svelte/enable_x.ts +20 -20
- package/src/rules/svelte.ts +15 -15
- package/src/rules/ts/disable.ts +22 -22
- package/src/rules/ts/disable_x.ts +32 -32
- package/src/rules/ts/enable.ts +549 -549
- package/src/rules/ts/enable_x.ts +115 -115
- package/src/rules/ts.ts +13 -13
- package/src/rules/yml/enable.ts +64 -64
- package/src/rules/yml/enable_x.ts +68 -68
- package/src/rules/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
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"_js.d.ts","sourceRoot":"","sources":["../../src/rules/_js.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGA,wBAAkD"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"_js.js","sourceRoot":"","sources":["../../src/rules/_js.ts"],"names":[],"mappings":"AAAA,OAAO,eAAe,MAAM,mBAAmB,CAAC;AAChD,OAAO,MAAM,MAAM,iBAAiB,CAAC;AAErC,eAAe,CAAC,eAAe,EAAE,MAAM,CAAU,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,mBAAmB,CAAC;AAEvC,eAAe,CAAC,OAAO,EAAE,MAAM,CAAU,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,YAAY,CAAC;AAC9B,OAAO,YAAY,MAAM,qBAAqB,CAAC;AAE/C,eAAe,CAAC,GAAG,IAAI,EAAE,YAAY,CAAU,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"_md.d.ts","sourceRoot":"","sources":["../../src/rules/_md.ts"],"names":[],"mappings":";;;;;AAEA,wBAAiC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"_md.js","sourceRoot":"","sources":["../../src/rules/_md.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,iBAAiB,CAAC;AAErC,eAAe,CAAC,MAAM,CAAU,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,yBAAyB,CAAC;AAClD,OAAO,MAAM,MAAM,mBAAmB,CAAC;AAEvC,eAAe,CAAC,WAAW,EAAE,MAAM,CAAU,CAAC"}
|