linted 16.0.4 → 16.0.5-rc.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -7
- package/dist/index.js.map +1 -1
- package/dist/statics/rules/presets/Html.js +2 -2
- package/dist/statics/rules/presets/Html.js.map +1 -1
- package/dist/statics/rules/presets/Js.js +2 -2
- package/dist/statics/rules/presets/Js.js.map +1 -1
- package/dist/statics/rules/presets/Json.js +2 -2
- package/dist/statics/rules/presets/Json.js.map +1 -1
- package/dist/statics/rules/presets/Jsonc.js +1 -1
- package/dist/statics/rules/presets/Jsonc.js.map +1 -1
- package/dist/statics/rules/presets/Md.js +1 -1
- package/dist/statics/rules/presets/Md.js.map +1 -1
- package/dist/statics/rules/presets/Mocha.js +2 -2
- package/dist/statics/rules/presets/Mocha.js.map +1 -1
- package/dist/statics/rules/presets/Svelte.js +5 -5
- package/dist/statics/rules/presets/Svelte.js.map +1 -1
- package/dist/statics/rules/presets/Ts.js +4 -4
- package/dist/statics/rules/presets/Ts.js.map +1 -1
- package/dist/statics/rules/presets/Yml.js +2 -2
- package/dist/statics/rules/presets/Yml.js.map +1 -1
- package/dist/statics/rules/presets/html/Enable.d.ts +5 -0
- package/dist/statics/rules/presets/html/Enable.d.ts.map +1 -0
- package/dist/statics/rules/presets/html/Enable.js +7 -0
- package/dist/statics/rules/presets/html/Enable.js.map +1 -0
- package/dist/statics/rules/presets/html/Recommended.d.ts +3 -0
- package/dist/statics/rules/presets/html/Recommended.d.ts.map +1 -0
- package/dist/statics/rules/presets/html/Recommended.js +8 -0
- package/dist/statics/rules/presets/html/Recommended.js.map +1 -0
- package/dist/statics/rules/presets/index.d.ts +8 -0
- package/dist/statics/rules/presets/index.d.ts.map +1 -0
- package/dist/statics/rules/presets/index.js +2 -0
- package/dist/statics/rules/presets/index.js.map +1 -0
- package/dist/statics/rules/presets/js/Enable.d.ts +348 -0
- package/dist/statics/rules/presets/js/Enable.d.ts.map +1 -0
- package/dist/statics/rules/presets/js/Enable.js +463 -0
- package/dist/statics/rules/presets/js/Enable.js.map +1 -0
- package/dist/statics/rules/presets/js/EnableStylistic.d.ts +414 -0
- package/dist/statics/rules/presets/js/EnableStylistic.d.ts.map +1 -0
- package/dist/statics/rules/presets/js/EnableStylistic.js +664 -0
- package/dist/statics/rules/presets/js/EnableStylistic.js.map +1 -0
- package/dist/statics/rules/presets/json/Enable.d.ts +27 -0
- package/dist/statics/rules/presets/json/Enable.d.ts.map +1 -0
- package/dist/statics/rules/presets/json/Enable.js +31 -0
- package/dist/statics/rules/presets/json/Enable.js.map +1 -0
- package/dist/statics/rules/presets/json/EnableX.d.ts +50 -0
- package/dist/statics/rules/presets/json/EnableX.d.ts.map +1 -0
- package/dist/statics/rules/presets/json/EnableX.js +92 -0
- package/dist/statics/rules/presets/json/EnableX.js.map +1 -0
- package/dist/statics/rules/presets/jsonc/OverrideJson.d.ts +6 -0
- package/dist/statics/rules/presets/jsonc/OverrideJson.d.ts.map +1 -0
- package/dist/statics/rules/presets/jsonc/OverrideJson.js +13 -0
- package/dist/statics/rules/presets/jsonc/OverrideJson.js.map +1 -0
- package/dist/statics/rules/presets/md/Enable.d.ts +38 -0
- package/dist/statics/rules/presets/md/Enable.d.ts.map +1 -0
- package/dist/statics/rules/presets/md/Enable.js +58 -0
- package/dist/statics/rules/presets/md/Enable.js.map +1 -0
- package/dist/statics/rules/presets/mocha/Enable.d.ts +3 -0
- package/dist/statics/rules/presets/mocha/Enable.d.ts.map +1 -0
- package/dist/statics/rules/presets/mocha/Enable.js +7 -0
- package/dist/statics/rules/presets/mocha/Enable.js.map +1 -0
- package/dist/statics/rules/presets/mocha/Recommended.d.ts +3 -0
- package/dist/statics/rules/presets/mocha/Recommended.d.ts.map +1 -0
- package/dist/statics/rules/presets/mocha/Recommended.js +8 -0
- package/dist/statics/rules/presets/mocha/Recommended.js.map +1 -0
- package/dist/statics/rules/presets/svelte/DisableJS.d.ts +6 -0
- package/dist/statics/rules/presets/svelte/DisableJS.d.ts.map +1 -0
- package/dist/statics/rules/presets/svelte/DisableJS.js +10 -0
- package/dist/statics/rules/presets/svelte/DisableJS.js.map +1 -0
- package/dist/statics/rules/presets/svelte/DisableTS.d.ts +6 -0
- package/dist/statics/rules/presets/svelte/DisableTS.d.ts.map +1 -0
- package/dist/statics/rules/presets/svelte/DisableTS.js +10 -0
- package/dist/statics/rules/presets/svelte/DisableTS.js.map +1 -0
- package/dist/statics/rules/presets/svelte/DisableX.d.ts +5 -0
- package/dist/statics/rules/presets/svelte/DisableX.d.ts.map +1 -0
- package/dist/statics/rules/presets/svelte/DisableX.js +9 -0
- package/dist/statics/rules/presets/svelte/DisableX.js.map +1 -0
- package/dist/statics/rules/presets/svelte/Enable.d.ts +126 -0
- package/dist/statics/rules/presets/svelte/Enable.d.ts.map +1 -0
- package/dist/statics/rules/presets/svelte/Enable.js +179 -0
- package/dist/statics/rules/presets/svelte/Enable.js.map +1 -0
- package/dist/statics/rules/presets/svelte/EnableX.d.ts +8 -0
- package/dist/statics/rules/presets/svelte/EnableX.d.ts.map +1 -0
- package/dist/statics/rules/presets/svelte/EnableX.js +14 -0
- package/dist/statics/rules/presets/svelte/EnableX.js.map +1 -0
- package/dist/statics/rules/presets/ts/DisableCompiler.d.ts +18 -0
- package/dist/statics/rules/presets/ts/DisableCompiler.d.ts.map +1 -0
- package/dist/statics/rules/presets/ts/DisableCompiler.js +22 -0
- package/dist/statics/rules/presets/ts/DisableCompiler.js.map +1 -0
- package/dist/statics/rules/presets/ts/DisableX.d.ts +28 -0
- package/dist/statics/rules/presets/ts/DisableX.d.ts.map +1 -0
- package/dist/statics/rules/presets/ts/DisableX.js +32 -0
- package/dist/statics/rules/presets/ts/DisableX.js.map +1 -0
- package/dist/statics/rules/presets/ts/Enable.d.ts +262 -0
- package/dist/statics/rules/presets/ts/Enable.d.ts.map +1 -0
- package/dist/statics/rules/presets/ts/Enable.js +496 -0
- package/dist/statics/rules/presets/ts/Enable.js.map +1 -0
- package/dist/statics/rules/presets/ts/EnableX.d.ts +72 -0
- package/dist/statics/rules/presets/ts/EnableX.d.ts.map +1 -0
- package/dist/statics/rules/presets/ts/EnableX.js +107 -0
- package/dist/statics/rules/presets/ts/EnableX.js.map +1 -0
- package/dist/statics/rules/presets/yml/Enable.d.ts +39 -0
- package/dist/statics/rules/presets/yml/Enable.d.ts.map +1 -0
- package/dist/statics/rules/presets/yml/Enable.js +69 -0
- package/dist/statics/rules/presets/yml/Enable.js.map +1 -0
- package/dist/statics/rules/presets/yml/EnableX.d.ts +37 -0
- package/dist/statics/rules/presets/yml/EnableX.d.ts.map +1 -0
- package/dist/statics/rules/presets/yml/EnableX.js +67 -0
- package/dist/statics/rules/presets/yml/EnableX.js.map +1 -0
- package/package.json +1 -1
- package/src/index.ts +2 -8
- package/src/statics/rules/presets/Html.ts +3 -3
- package/src/statics/rules/presets/Js.ts +3 -3
- package/src/statics/rules/presets/Json.ts +3 -3
- package/src/statics/rules/presets/Jsonc.ts +2 -2
- package/src/statics/rules/presets/Md.ts +2 -2
- package/src/statics/rules/presets/Mocha.ts +3 -3
- package/src/statics/rules/presets/Svelte.ts +6 -6
- package/src/statics/rules/presets/Ts.ts +5 -5
- package/src/statics/rules/presets/Yml.ts +3 -3
- package/src/statics/rules/presets/{entries/index.ts → index.ts} +1 -1
- /package/src/statics/rules/presets/{entries/html → html}/Enable.ts +0 -0
- /package/src/statics/rules/presets/{entries/html → html}/Recommended.ts +0 -0
- /package/src/statics/rules/presets/{entries/js → js}/Enable.ts +0 -0
- /package/src/statics/rules/presets/{entries/js → js}/EnableStylistic.ts +0 -0
- /package/src/statics/rules/presets/{entries/json → json}/Enable.ts +0 -0
- /package/src/statics/rules/presets/{entries/json → json}/EnableX.ts +0 -0
- /package/src/statics/rules/presets/{entries/jsonc → jsonc}/OverrideJson.ts +0 -0
- /package/src/statics/rules/presets/{entries/md → md}/Enable.ts +0 -0
- /package/src/statics/rules/presets/{entries/mocha → mocha}/Enable.ts +0 -0
- /package/src/statics/rules/presets/{entries/mocha → mocha}/Recommended.ts +0 -0
- /package/src/statics/rules/presets/{entries/svelte → svelte}/DisableJS.ts +0 -0
- /package/src/statics/rules/presets/{entries/svelte → svelte}/DisableTS.ts +0 -0
- /package/src/statics/rules/presets/{entries/svelte → svelte}/DisableX.ts +0 -0
- /package/src/statics/rules/presets/{entries/svelte → svelte}/Enable.ts +0 -0
- /package/src/statics/rules/presets/{entries/svelte → svelte}/EnableX.ts +0 -0
- /package/src/statics/rules/presets/{entries/ts → ts}/DisableCompiler.ts +0 -0
- /package/src/statics/rules/presets/{entries/ts → ts}/DisableX.ts +0 -0
- /package/src/statics/rules/presets/{entries/ts → ts}/Enable.ts +0 -0
- /package/src/statics/rules/presets/{entries/ts → ts}/EnableX.ts +0 -0
- /package/src/statics/rules/presets/{entries/yml → yml}/Enable.ts +0 -0
- /package/src/statics/rules/presets/{entries/yml → yml}/EnableX.ts +0 -0
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"Enable.d.ts","sourceRoot":"","sources":["../../../../../src/statics/rules/presets/json/Enable.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAIA,wBA6B+B"}
|
@@ -0,0 +1,31 @@
|
|
1
|
+
import { Strings } from "../index.js";
|
2
|
+
const { Id: { Enable }, Level: { ERROR, OFF } } = Strings;
|
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/statics/rules/presets/json/Enable.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAkB,MAAM,aAAa,CAAC;AAEtD,MAAM,EAAE,EAAE,EAAE,EAAE,MAAM,EAAE,EAAE,KAAK,EAAE,EAAE,KAAK,EAAE,GAAG,EAAE,EAAE,GAAG,OAAO,CAAC;AAE1D,eAAe;IACb,MAAM;IACN;QAGE,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;CAC2B,CAAC"}
|
@@ -0,0 +1,50 @@
|
|
1
|
+
declare const _default: 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 multiline: true;
|
33
|
+
readonly minProperties: 2;
|
34
|
+
readonly consistent: true;
|
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
|
+
}];
|
49
|
+
export default _default;
|
50
|
+
//# sourceMappingURL=EnableX.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"EnableX.d.ts","sourceRoot":"","sources":["../../../../../src/statics/rules/presets/json/EnableX.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAeA,wBA0F+B"}
|
@@ -0,0 +1,92 @@
|
|
1
|
+
import { Strings } from "../index.js";
|
2
|
+
const { Id: { EnableX }, Level: { ERROR }, State: { NEVER, ALWAYS, CONSISTENT, STRICT, LAST, DOUBLE, }, } = Strings;
|
3
|
+
export default [
|
4
|
+
EnableX,
|
5
|
+
{
|
6
|
+
"jsonc/array-bracket-newline": [
|
7
|
+
ERROR,
|
8
|
+
CONSISTENT,
|
9
|
+
],
|
10
|
+
"jsonc/array-bracket-spacing": [
|
11
|
+
ERROR,
|
12
|
+
NEVER,
|
13
|
+
{
|
14
|
+
singleValue: false,
|
15
|
+
objectsInArrays: false,
|
16
|
+
arraysInArrays: false,
|
17
|
+
},
|
18
|
+
],
|
19
|
+
"jsonc/array-element-newline": [
|
20
|
+
ERROR,
|
21
|
+
ALWAYS,
|
22
|
+
],
|
23
|
+
"jsonc/comma-dangle": [
|
24
|
+
ERROR,
|
25
|
+
NEVER,
|
26
|
+
],
|
27
|
+
"jsonc/comma-style": [
|
28
|
+
ERROR,
|
29
|
+
LAST,
|
30
|
+
],
|
31
|
+
"jsonc/indent": [
|
32
|
+
ERROR,
|
33
|
+
2,
|
34
|
+
],
|
35
|
+
"jsonc/key-spacing": [
|
36
|
+
ERROR,
|
37
|
+
{
|
38
|
+
beforeColon: false,
|
39
|
+
afterColon: true,
|
40
|
+
mode: STRICT,
|
41
|
+
},
|
42
|
+
],
|
43
|
+
"jsonc/no-dupe-keys": ERROR,
|
44
|
+
"jsonc/no-floating-decimal": ERROR,
|
45
|
+
"jsonc/no-irregular-whitespace": [
|
46
|
+
ERROR,
|
47
|
+
{
|
48
|
+
skipStrings: true,
|
49
|
+
skipComments: true,
|
50
|
+
skipRegExps: true,
|
51
|
+
skipTemplates: true,
|
52
|
+
skipJSXText: true,
|
53
|
+
},
|
54
|
+
],
|
55
|
+
"jsonc/no-multi-str": ERROR,
|
56
|
+
"jsonc/no-octal-escape": ERROR,
|
57
|
+
"jsonc/no-octal": ERROR,
|
58
|
+
"jsonc/no-sparse-arrays": ERROR,
|
59
|
+
"jsonc/no-useless-escape": ERROR,
|
60
|
+
"jsonc/object-curly-newline": [
|
61
|
+
ERROR,
|
62
|
+
{
|
63
|
+
multiline: true,
|
64
|
+
minProperties: 2,
|
65
|
+
consistent: true,
|
66
|
+
},
|
67
|
+
],
|
68
|
+
"jsonc/object-curly-spacing": [
|
69
|
+
ERROR,
|
70
|
+
ALWAYS,
|
71
|
+
{
|
72
|
+
arraysInObjects: true,
|
73
|
+
objectsInObjects: true,
|
74
|
+
},
|
75
|
+
],
|
76
|
+
"jsonc/object-property-newline": [
|
77
|
+
ERROR,
|
78
|
+
{ allowAllPropertiesOnSameLine: false },
|
79
|
+
],
|
80
|
+
"jsonc/quote-props": [
|
81
|
+
ERROR,
|
82
|
+
ALWAYS,
|
83
|
+
],
|
84
|
+
"jsonc/quotes": [
|
85
|
+
ERROR,
|
86
|
+
DOUBLE,
|
87
|
+
{ avoidEscape: false },
|
88
|
+
],
|
89
|
+
"jsonc/space-unary-ops": ERROR,
|
90
|
+
},
|
91
|
+
];
|
92
|
+
//# sourceMappingURL=EnableX.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"EnableX.js","sourceRoot":"","sources":["../../../../../src/statics/rules/presets/json/EnableX.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAkB,MAAM,aAAa,CAAC;AAEtD,MAAM,EACJ,EAAE,EAAE,EAAE,OAAO,EAAE,EACf,KAAK,EAAE,EAAE,KAAK,EAAE,EAChB,KAAK,EAAE,EACL,KAAK,EACL,MAAM,EACN,UAAU,EACV,MAAM,EACN,IAAI,EACJ,MAAM,GACP,GACF,GAAG,OAAO,CAAC;AAEZ,eAAe;IACb,OAAO;IACP;QAGE,6BAA6B,EAAE;YAC7B,KAAK;YACL,UAAU;SACX;QACD,6BAA6B,EAAE;YAC7B,KAAK;YACL,KAAK;YACL;gBACE,WAAW,EAAE,KAAK;gBAClB,eAAe,EAAE,KAAK;gBACtB,cAAc,EAAE,KAAK;aACtB;SACF;QACD,6BAA6B,EAAE;YAC7B,KAAK;YACL,MAAM;SACP;QACD,oBAAoB,EAAE;YACpB,KAAK;YACL,KAAK;SACN;QACD,mBAAmB,EAAE;YACnB,KAAK;YACL,IAAI;SACL;QACD,cAAc,EAAE;YACd,KAAK;YACL,CAAC;SACF;QACD,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,SAAS,EAAE,IAAI;gBACf,aAAa,EAAE,CAAC;gBAChB,UAAU,EAAE,IAAI;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,EAAE,4BAA4B,EAAE,KAAK,EAAE;SACxC;QACD,mBAAmB,EAAE;YACnB,KAAK;YACL,MAAM;SACP;QACD,cAAc,EAAE;YACd,KAAK;YACL,MAAM;YACN,EAAE,WAAW,EAAE,KAAK,EAAE;SACvB;QACD,uBAAuB,EAAE,KAAK;KAC/B;CAC2B,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"OverrideJson.d.ts","sourceRoot":"","sources":["../../../../../src/statics/rules/presets/jsonc/OverrideJson.ts"],"names":[],"mappings":";;;;AAUA,wBAW+B"}
|
@@ -0,0 +1,13 @@
|
|
1
|
+
import { Strings } from "../index.js";
|
2
|
+
const { Id: { Override }, Level: { ERROR, OFF }, State: { ALWAYS_MULTILINE, }, } = Strings;
|
3
|
+
export default [
|
4
|
+
Override,
|
5
|
+
{
|
6
|
+
"jsonc/no-comments": OFF,
|
7
|
+
"jsonc/comma-dangle": [
|
8
|
+
ERROR,
|
9
|
+
ALWAYS_MULTILINE,
|
10
|
+
],
|
11
|
+
},
|
12
|
+
];
|
13
|
+
//# sourceMappingURL=OverrideJson.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"OverrideJson.js","sourceRoot":"","sources":["../../../../../src/statics/rules/presets/jsonc/OverrideJson.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAkB,MAAM,aAAa,CAAC;AAEtD,MAAM,EACJ,EAAE,EAAE,EAAE,QAAQ,EAAE,EAChB,KAAK,EAAE,EAAE,KAAK,EAAE,GAAG,EAAE,EACrB,KAAK,EAAE,EACL,gBAAgB,GACjB,GACF,GAAG,OAAO,CAAC;AAEZ,eAAe;IACb,QAAQ;IACR;QAGE,mBAAmB,EAAE,GAAG;QACxB,oBAAoB,EAAE;YACpB,KAAK;YACL,gBAAgB;SACjB;KACF;CAC2B,CAAC"}
|
@@ -0,0 +1,38 @@
|
|
1
|
+
declare const _default: readonly ["enable", {
|
2
|
+
readonly "markdownlint/md003": readonly ["error", {
|
3
|
+
readonly style: "atx";
|
4
|
+
}];
|
5
|
+
readonly "markdownlint/md004": readonly ["error", {
|
6
|
+
readonly style: "dash";
|
7
|
+
}];
|
8
|
+
readonly "markdownlint/md009": readonly ["error", {
|
9
|
+
readonly br_spaces: 0;
|
10
|
+
}];
|
11
|
+
readonly "markdownlint/md010": readonly ["error", {
|
12
|
+
readonly spaces_per_tab: 2;
|
13
|
+
}];
|
14
|
+
readonly "markdownlint/md013": "off";
|
15
|
+
readonly "markdownlint/md029": readonly ["error", {
|
16
|
+
readonly style: "one";
|
17
|
+
}];
|
18
|
+
readonly "markdownlint/md033": readonly ["error", {
|
19
|
+
readonly allowed_elements: readonly ["details", "summary"];
|
20
|
+
}];
|
21
|
+
readonly "markdownlint/md035": readonly ["error", {
|
22
|
+
readonly style: "---";
|
23
|
+
}];
|
24
|
+
readonly "markdownlint/md046": readonly ["error", {
|
25
|
+
readonly style: "fenced";
|
26
|
+
}];
|
27
|
+
readonly "markdownlint/md048": readonly ["error", {
|
28
|
+
readonly style: "backtick";
|
29
|
+
}];
|
30
|
+
readonly "markdownlint/md049": readonly ["error", {
|
31
|
+
readonly style: "underscore";
|
32
|
+
}];
|
33
|
+
readonly "markdownlint/md050": readonly ["error", {
|
34
|
+
readonly style: "underscore";
|
35
|
+
}];
|
36
|
+
}];
|
37
|
+
export default _default;
|
38
|
+
//# sourceMappingURL=Enable.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"Enable.d.ts","sourceRoot":"","sources":["../../../../../src/statics/rules/presets/md/Enable.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAIA,wBAyD+B"}
|
@@ -0,0 +1,58 @@
|
|
1
|
+
import { Strings } from "../index.js";
|
2
|
+
const { Id: { Enable }, Level: { ERROR, OFF } } = Strings;
|
3
|
+
export default [
|
4
|
+
Enable,
|
5
|
+
{
|
6
|
+
"markdownlint/md003": [
|
7
|
+
ERROR,
|
8
|
+
{ style: "atx" },
|
9
|
+
],
|
10
|
+
"markdownlint/md004": [
|
11
|
+
ERROR,
|
12
|
+
{ style: "dash" },
|
13
|
+
],
|
14
|
+
"markdownlint/md009": [
|
15
|
+
ERROR,
|
16
|
+
{ br_spaces: 0 },
|
17
|
+
],
|
18
|
+
"markdownlint/md010": [
|
19
|
+
ERROR,
|
20
|
+
{ spaces_per_tab: 2 },
|
21
|
+
],
|
22
|
+
"markdownlint/md013": OFF,
|
23
|
+
"markdownlint/md029": [
|
24
|
+
ERROR,
|
25
|
+
{ style: "one" },
|
26
|
+
],
|
27
|
+
"markdownlint/md033": [
|
28
|
+
ERROR,
|
29
|
+
{
|
30
|
+
allowed_elements: [
|
31
|
+
"details",
|
32
|
+
"summary",
|
33
|
+
],
|
34
|
+
},
|
35
|
+
],
|
36
|
+
"markdownlint/md035": [
|
37
|
+
ERROR,
|
38
|
+
{ style: "---" },
|
39
|
+
],
|
40
|
+
"markdownlint/md046": [
|
41
|
+
ERROR,
|
42
|
+
{ style: "fenced" },
|
43
|
+
],
|
44
|
+
"markdownlint/md048": [
|
45
|
+
ERROR,
|
46
|
+
{ style: "backtick" },
|
47
|
+
],
|
48
|
+
"markdownlint/md049": [
|
49
|
+
ERROR,
|
50
|
+
{ style: "underscore" },
|
51
|
+
],
|
52
|
+
"markdownlint/md050": [
|
53
|
+
ERROR,
|
54
|
+
{ style: "underscore" },
|
55
|
+
],
|
56
|
+
},
|
57
|
+
];
|
58
|
+
//# sourceMappingURL=Enable.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"Enable.js","sourceRoot":"","sources":["../../../../../src/statics/rules/presets/md/Enable.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAkB,MAAM,aAAa,CAAC;AAEtD,MAAM,EAAE,EAAE,EAAE,EAAE,MAAM,EAAE,EAAE,KAAK,EAAE,EAAE,KAAK,EAAE,GAAG,EAAE,EAAE,GAAG,OAAO,CAAC;AAE1D,eAAe;IACb,MAAM;IACN;QAIE,oBAAoB,EAAE;YACpB,KAAK;YACL,EAAE,KAAK,EAAE,KAAK,EAAE;SACjB;QACD,oBAAoB,EAAE;YACpB,KAAK;YACL,EAAE,KAAK,EAAE,MAAM,EAAE;SAClB;QACD,oBAAoB,EAAE;YACpB,KAAK;YACL,EAAE,SAAS,EAAE,CAAC,EAAE;SACjB;QACD,oBAAoB,EAAE;YACpB,KAAK;YACL,EAAE,cAAc,EAAE,CAAC,EAAE;SACtB;QACD,oBAAoB,EAAE,GAAG;QACzB,oBAAoB,EAAE;YACpB,KAAK;YACL,EAAE,KAAK,EAAE,KAAK,EAAE;SACjB;QACD,oBAAoB,EAAE;YACpB,KAAK;YACL;gBACE,gBAAgB,EAAE;oBAChB,SAAS;oBACT,SAAS;iBACV;aACF;SACF;QACD,oBAAoB,EAAE;YACpB,KAAK;YACL,EAAE,KAAK,EAAE,KAAK,EAAE;SACjB;QACD,oBAAoB,EAAE;YACpB,KAAK;YACL,EAAE,KAAK,EAAE,QAAQ,EAAE;SACpB;QACD,oBAAoB,EAAE;YACpB,KAAK;YACL,EAAE,KAAK,EAAE,UAAU,EAAE;SACtB;QACD,oBAAoB,EAAE;YACpB,KAAK;YACL,EAAE,KAAK,EAAE,YAAY,EAAE;SACxB;QACD,oBAAoB,EAAE;YACpB,KAAK;YACL,EAAE,KAAK,EAAE,YAAY,EAAE;SACxB;KACF;CAC2B,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"Enable.d.ts","sourceRoot":"","sources":["../../../../../src/statics/rules/presets/mocha/Enable.ts"],"names":[],"mappings":";AAIA,wBAG+B"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"Enable.js","sourceRoot":"","sources":["../../../../../src/statics/rules/presets/mocha/Enable.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAkB,MAAM,aAAa,CAAC;AAEtD,MAAM,EAAE,EAAE,EAAE,EAAE,MAAM,EAAE,EAAE,GAAG,OAAO,CAAC;AAEnC,eAAe;IACb,MAAM;IACN,EAAE;CAC0B,CAAC"}
|
@@ -0,0 +1,3 @@
|
|
1
|
+
declare const _default: readonly ["recommended", Readonly<Record<string, import("@eslinted/core/dist/boundary/input/rules/preset/entry/object/state/level.js").default | readonly [import("@eslinted/core/dist/boundary/input/rules/preset/entry/object/state/level.js").default, ...unknown[]]>>];
|
2
|
+
export default _default;
|
3
|
+
//# sourceMappingURL=Recommended.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"Recommended.d.ts","sourceRoot":"","sources":["../../../../../src/statics/rules/presets/mocha/Recommended.ts"],"names":[],"mappings":";AAKA,wBAG+B"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"Recommended.js","sourceRoot":"","sources":["../../../../../src/statics/rules/presets/mocha/Recommended.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,qBAAqB,CAAC;AACxC,OAAO,EAAE,OAAO,EAAkB,MAAM,aAAa,CAAC;AAEtD,MAAM,EAAE,EAAE,EAAE,EAAE,WAAW,EAAE,EAAE,GAAG,OAAO,CAAC;AAExC,eAAe;IACb,WAAW;IACV,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,WAAiD,CAAC,KAAK;CAC/C,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"DisableJS.d.ts","sourceRoot":"","sources":["../../../../../src/statics/rules/presets/svelte/DisableJS.ts"],"names":[],"mappings":";;;;AAIA,wBAS+B"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"DisableJS.js","sourceRoot":"","sources":["../../../../../src/statics/rules/presets/svelte/DisableJS.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAkB,MAAM,aAAa,CAAC;AAEtD,MAAM,EAAE,KAAK,EAAE,EAAE,GAAG,EAAE,EAAE,GAAG,OAAO,CAAC;AAEnC,eAAe;IACb,YAAY;IACZ;QAIE,uBAAuB,EAAE,GAAG;QAC5B,gBAAgB,EAAE,GAAG;KACtB;CAC2B,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"DisableTS.d.ts","sourceRoot":"","sources":["../../../../../src/statics/rules/presets/svelte/DisableTS.ts"],"names":[],"mappings":";;;;AAIA,wBAM+B"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"DisableTS.js","sourceRoot":"","sources":["../../../../../src/statics/rules/presets/svelte/DisableTS.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAkB,MAAM,aAAa,CAAC;AAEtD,MAAM,EAAE,KAAK,EAAE,EAAE,GAAG,EAAE,EAAE,GAAG,OAAO,CAAC;AAEnC,eAAe;IACb,YAAY;IACZ;QACE,gBAAgB,EAAE,GAAG;QACrB,mCAAmC,EAAE,GAAG;KACzC;CAC2B,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"DisableX.d.ts","sourceRoot":"","sources":["../../../../../src/statics/rules/presets/svelte/DisableX.ts"],"names":[],"mappings":";;;AAIA,wBAU+B"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"DisableX.js","sourceRoot":"","sources":["../../../../../src/statics/rules/presets/svelte/DisableX.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAkB,MAAM,aAAa,CAAC;AAEtD,MAAM,EAAE,EAAE,EAAE,EAAE,QAAQ,EAAE,EAAE,KAAK,EAAE,EAAE,GAAG,EAAE,EAAE,GAAG,OAAO,CAAC;AAErD,eAAe;IACb,QAAQ;IACR;QAGE,uBAAuB,EAAE,GAAG;KAI7B;CAC2B,CAAC"}
|
@@ -0,0 +1,126 @@
|
|
1
|
+
declare const _default: readonly ["enable", {
|
2
|
+
readonly "svelte/infinite-reactive-loop": "error";
|
3
|
+
readonly "svelte/no-dom-manipulating": "error";
|
4
|
+
readonly "svelte/no-dupe-else-if-blocks": "error";
|
5
|
+
readonly "svelte/no-dupe-on-directives": "error";
|
6
|
+
readonly "svelte/no-dupe-style-properties": "error";
|
7
|
+
readonly "svelte/no-dupe-use-directives": "error";
|
8
|
+
readonly "svelte/no-dynamic-slot-name": "error";
|
9
|
+
readonly "svelte/no-export-load-in-svelte-module-in-kit-pages": "error";
|
10
|
+
readonly "svelte/no-not-function-handler": "error";
|
11
|
+
readonly "svelte/no-object-in-text-mustaches": "error";
|
12
|
+
readonly "svelte/no-reactive-reassign": readonly ["error", {
|
13
|
+
readonly props: true;
|
14
|
+
}];
|
15
|
+
readonly "svelte/no-shorthand-style-property-overrides": "error";
|
16
|
+
readonly "svelte/no-store-async": "error";
|
17
|
+
readonly "svelte/no-unknown-style-directive-property": readonly ["error", {
|
18
|
+
readonly ignorePrefixed: true;
|
19
|
+
}];
|
20
|
+
readonly "svelte/require-store-callbacks-use-set-param": "error";
|
21
|
+
readonly "svelte/require-store-reactive-access": "error";
|
22
|
+
readonly "svelte/valid-compile": readonly ["error", {
|
23
|
+
readonly ignoreWarnings: false;
|
24
|
+
}];
|
25
|
+
readonly "svelte/valid-prop-names-in-kit-pages": "error";
|
26
|
+
readonly "svelte/no-at-html-tags": "error";
|
27
|
+
readonly "svelte/no-target-blank": readonly ["error", {
|
28
|
+
readonly allowReferrer: false;
|
29
|
+
readonly enforceDynamicLinks: "always";
|
30
|
+
}];
|
31
|
+
readonly "svelte/block-lang": readonly ["error", {
|
32
|
+
readonly enforceScriptPresent: true;
|
33
|
+
readonly enforceStylePresent: false;
|
34
|
+
readonly script: readonly ["ts"];
|
35
|
+
readonly style: readonly ["css", "scss"];
|
36
|
+
}];
|
37
|
+
readonly "svelte/button-has-type": readonly ["error", {
|
38
|
+
readonly button: true;
|
39
|
+
readonly submit: true;
|
40
|
+
readonly reset: true;
|
41
|
+
}];
|
42
|
+
readonly "svelte/no-at-debug-tags": "error";
|
43
|
+
readonly "svelte/no-ignored-unsubscribe": "error";
|
44
|
+
readonly "svelte/no-immutable-reactive-statements": "error";
|
45
|
+
readonly "svelte/no-inline-styles": readonly ["error", {
|
46
|
+
readonly allowTransitions: false;
|
47
|
+
}];
|
48
|
+
readonly "svelte/no-reactive-functions": "error";
|
49
|
+
readonly "svelte/no-reactive-literals": "error";
|
50
|
+
readonly "svelte/no-svelte-internal": "error";
|
51
|
+
readonly "svelte/no-unused-class-name": "error";
|
52
|
+
readonly "svelte/no-unused-svelte-ignore": "error";
|
53
|
+
readonly "svelte/no-useless-mustaches": readonly ["error", {
|
54
|
+
readonly ignoreIncludesComment: false;
|
55
|
+
readonly ignoreStringEscape: false;
|
56
|
+
}];
|
57
|
+
readonly "svelte/prefer-destructured-store-props": "error";
|
58
|
+
readonly "svelte/require-each-key": "error";
|
59
|
+
readonly "svelte/require-event-dispatcher-types": "error";
|
60
|
+
readonly "svelte/require-optimized-style-attribute": "error";
|
61
|
+
readonly "svelte/require-stores-init": "error";
|
62
|
+
readonly "svelte/valid-each-key": "error";
|
63
|
+
readonly "svelte/derived-has-same-inputs-outputs": "error";
|
64
|
+
readonly "svelte/first-attribute-linebreak": readonly ["error", {
|
65
|
+
readonly multiline: "below";
|
66
|
+
readonly singleline: "below";
|
67
|
+
}];
|
68
|
+
readonly "svelte/html-closing-bracket-spacing": readonly ["error", {
|
69
|
+
readonly startTag: "never";
|
70
|
+
readonly endTag: "never";
|
71
|
+
readonly selfClosingTag: "always";
|
72
|
+
}];
|
73
|
+
readonly "svelte/html-quotes": readonly ["error", {
|
74
|
+
readonly prefer: "double";
|
75
|
+
readonly dynamic: {
|
76
|
+
readonly quoted: false;
|
77
|
+
readonly avoidInvalidUnquotedInHTML: true;
|
78
|
+
};
|
79
|
+
}];
|
80
|
+
readonly "svelte/html-self-closing": readonly ["error", {
|
81
|
+
readonly void: "always";
|
82
|
+
readonly normal: "always";
|
83
|
+
readonly component: "always";
|
84
|
+
readonly svelte: "always";
|
85
|
+
}];
|
86
|
+
readonly "svelte/indent": readonly ["error", {
|
87
|
+
readonly indent: 2;
|
88
|
+
readonly switchCase: 1;
|
89
|
+
readonly alignAttributesVertically: true;
|
90
|
+
}];
|
91
|
+
readonly "svelte/max-attributes-per-line": readonly ["error", {
|
92
|
+
readonly multiline: 1;
|
93
|
+
readonly singleline: 1;
|
94
|
+
}];
|
95
|
+
readonly "svelte/mustache-spacing": readonly ["error", {
|
96
|
+
readonly textExpressions: "never";
|
97
|
+
readonly attributesAndProps: "never";
|
98
|
+
readonly directiveExpressions: "never";
|
99
|
+
readonly tags: {
|
100
|
+
readonly openingBrace: "never";
|
101
|
+
readonly closingBrace: "never";
|
102
|
+
};
|
103
|
+
}];
|
104
|
+
readonly "svelte/no-extra-reactive-curlies": "error";
|
105
|
+
readonly "svelte/no-restricted-html-elements": "off";
|
106
|
+
readonly "svelte/no-spaces-around-equal-signs-in-attribute": "error";
|
107
|
+
readonly "svelte/prefer-class-directive": readonly ["error", {
|
108
|
+
readonly prefer: "empty";
|
109
|
+
}];
|
110
|
+
readonly "svelte/prefer-style-directive": "error";
|
111
|
+
readonly "svelte/shorthand-attribute": readonly ["error", {
|
112
|
+
readonly prefer: "always";
|
113
|
+
}];
|
114
|
+
readonly "svelte/shorthand-directive": readonly ["error", {
|
115
|
+
readonly prefer: "always";
|
116
|
+
}];
|
117
|
+
readonly "svelte/sort-attributes": "off";
|
118
|
+
readonly "svelte/spaced-html-comment": readonly ["error", "always"];
|
119
|
+
readonly "svelte/no-goto-without-base": "error";
|
120
|
+
readonly "svelte/comment-directive": readonly ["error", {
|
121
|
+
readonly reportUnusedDisableDirectives: true;
|
122
|
+
}];
|
123
|
+
readonly "svelte/system": "error";
|
124
|
+
}];
|
125
|
+
export default _default;
|
126
|
+
//# sourceMappingURL=Enable.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"Enable.d.ts","sourceRoot":"","sources":["../../../../../src/statics/rules/presets/svelte/Enable.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAaA,wBA2M+B"}
|