@eslinted/defaults 17.10.0 → 18.0.0-rc.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +246 -265
- package/dist/index.d.ts.map +1 -1
- package/dist/rules/css/index.d.ts +9 -9
- package/dist/rules/css/index.js +9 -9
- package/dist/rules/css/index.js.map +1 -1
- package/dist/rules/html/index.d.ts +42 -42
- package/dist/rules/html/index.d.ts.map +1 -1
- package/dist/rules/html/index.js +42 -42
- package/dist/rules/html/index.js.map +1 -1
- package/dist/rules/index.d.ts +246 -265
- package/dist/rules/index.d.ts.map +1 -1
- package/dist/rules/js.d.ts +112 -119
- package/dist/rules/js.d.ts.map +1 -1
- package/dist/rules/js.eslint.d.ts +45 -52
- package/dist/rules/js.eslint.d.ts.map +1 -1
- package/dist/rules/js.eslint.js +45 -52
- package/dist/rules/js.eslint.js.map +1 -1
- package/dist/rules/js.stylistic.d.ts +67 -67
- package/dist/rules/js.stylistic.d.ts.map +1 -1
- package/dist/rules/js.stylistic.js +67 -67
- package/dist/rules/js.stylistic.js.map +1 -1
- package/dist/rules/json/index.d.ts +8 -11
- package/dist/rules/json/index.d.ts.map +1 -1
- package/dist/rules/json/plugin/extend.d.ts +8 -11
- package/dist/rules/json/plugin/extend.d.ts.map +1 -1
- package/dist/rules/json/plugin/extend.js +8 -11
- package/dist/rules/json/plugin/extend.js.map +1 -1
- package/dist/rules/jsoncc/index.d.ts +1 -1
- package/dist/rules/jsoncc/index.js +1 -1
- package/dist/rules/svelte/extend.d.ts +1 -1
- package/dist/rules/svelte/extend.js +1 -1
- package/dist/rules/svelte/extend.js.map +1 -1
- package/dist/rules/svelte/index.d.ts +24 -24
- package/dist/rules/svelte/svelte.d.ts +23 -23
- package/dist/rules/svelte/svelte.js +23 -23
- package/dist/rules/svelte/svelte.js.map +1 -1
- package/dist/rules/ts/extend.d.ts +4 -13
- package/dist/rules/ts/extend.d.ts.map +1 -1
- package/dist/rules/ts/extend.js +4 -13
- package/dist/rules/ts/extend.js.map +1 -1
- package/dist/rules/ts/index.d.ts +31 -41
- package/dist/rules/ts/index.d.ts.map +1 -1
- package/dist/rules/ts/ts.d.ts +27 -28
- package/dist/rules/ts/ts.d.ts.map +1 -1
- package/dist/rules/ts/ts.js +27 -28
- package/dist/rules/ts/ts.js.map +1 -1
- package/dist/rules/yml/extend.d.ts +7 -7
- package/dist/rules/yml/extend.js +7 -7
- package/dist/rules/yml/extend.js.map +1 -1
- package/dist/rules/yml/index.d.ts +19 -18
- package/dist/rules/yml/index.d.ts.map +1 -1
- package/dist/rules/yml/yml.d.ts +12 -11
- package/dist/rules/yml/yml.d.ts.map +1 -1
- package/dist/rules/yml/yml.js +12 -11
- package/dist/rules/yml/yml.js.map +1 -1
- package/package.json +1 -1
- package/src/rules/css/index.ts +11 -11
- package/src/rules/html/index.ts +50 -58
- package/src/rules/js.eslint.ts +143 -162
- package/src/rules/js.stylistic.ts +87 -88
- package/src/rules/json/json.ts +3 -3
- package/src/rules/json/plugin/extend.ts +11 -14
- package/src/rules/json/plugin/index.ts +3 -3
- package/src/rules/jsonc/index.ts +1 -1
- package/src/rules/jsoncc/index.ts +2 -2
- package/src/rules/svelte/disable.ts +3 -3
- package/src/rules/svelte/extend.ts +3 -3
- package/src/rules/svelte/svelte.ts +26 -26
- package/src/rules/ts/disable.ts +4 -4
- package/src/rules/ts/extend.ts +7 -15
- package/src/rules/ts/ts.ts +44 -44
- package/src/rules/yml/extend.ts +7 -7
- package/src/rules/yml/yml.ts +15 -15
|
@@ -1,27 +1,24 @@
|
|
|
1
1
|
import { State } from "../../state.js";
|
|
2
2
|
declare const _default: {
|
|
3
3
|
rules: {
|
|
4
|
-
readonly "jsonc/array-bracket-spacing": State.
|
|
4
|
+
readonly "jsonc/array-bracket-spacing": State.WARN;
|
|
5
5
|
readonly "jsonc/array-element-newline": readonly [
|
|
6
|
-
State.
|
|
6
|
+
State.WARN,
|
|
7
7
|
"consistent"
|
|
8
8
|
];
|
|
9
9
|
readonly "jsonc/comma-dangle": State.ON;
|
|
10
|
-
readonly "jsonc/comma-style": State.
|
|
10
|
+
readonly "jsonc/comma-style": State.WARN;
|
|
11
11
|
readonly "jsonc/indent": readonly [
|
|
12
|
-
State.
|
|
12
|
+
State.WARN,
|
|
13
13
|
2
|
|
14
14
|
];
|
|
15
|
-
readonly "jsonc/key-spacing": State.
|
|
15
|
+
readonly "jsonc/key-spacing": State.WARN;
|
|
16
16
|
readonly "jsonc/no-floating-decimal": State.ON;
|
|
17
17
|
readonly "jsonc/no-irregular-whitespace": readonly [
|
|
18
18
|
State.ON,
|
|
19
19
|
{
|
|
20
20
|
readonly skipStrings: true;
|
|
21
21
|
readonly skipComments: true;
|
|
22
|
-
readonly skipRegExps: true;
|
|
23
|
-
readonly skipTemplates: true;
|
|
24
|
-
readonly skipJSXText: true;
|
|
25
22
|
}
|
|
26
23
|
];
|
|
27
24
|
readonly "jsonc/no-multi-str": State.ON;
|
|
@@ -30,7 +27,7 @@ declare const _default: {
|
|
|
30
27
|
readonly "jsonc/no-sparse-arrays": State.ON;
|
|
31
28
|
readonly "jsonc/no-useless-escape": State.ON;
|
|
32
29
|
readonly "jsonc/object-curly-newline": readonly [
|
|
33
|
-
State.
|
|
30
|
+
State.WARN,
|
|
34
31
|
{
|
|
35
32
|
readonly consistent: true;
|
|
36
33
|
readonly multiline: true;
|
|
@@ -38,10 +35,10 @@ declare const _default: {
|
|
|
38
35
|
}
|
|
39
36
|
];
|
|
40
37
|
readonly "jsonc/object-curly-spacing": readonly [
|
|
41
|
-
State.
|
|
38
|
+
State.WARN,
|
|
42
39
|
"always"
|
|
43
40
|
];
|
|
44
|
-
readonly "jsonc/object-property-newline": State.
|
|
41
|
+
readonly "jsonc/object-property-newline": State.WARN;
|
|
45
42
|
readonly "jsonc/quote-props": State.ON;
|
|
46
43
|
readonly "jsonc/quotes": State.ON;
|
|
47
44
|
readonly "jsonc/space-unary-ops": State.ON;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"extend.d.ts","sourceRoot":"","sources":["../../../../src/rules/json/plugin/extend.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC
|
|
1
|
+
{"version":3,"file":"extend.d.ts","sourceRoot":"","sources":["../../../../src/rules/json/plugin/extend.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGpC,wBA8CE"}
|
|
@@ -1,26 +1,23 @@
|
|
|
1
1
|
export default {
|
|
2
2
|
rules: {
|
|
3
|
-
"jsonc/array-bracket-spacing":
|
|
3
|
+
"jsonc/array-bracket-spacing": 1,
|
|
4
4
|
"jsonc/array-element-newline": [
|
|
5
|
-
|
|
5
|
+
1,
|
|
6
6
|
"consistent",
|
|
7
7
|
],
|
|
8
8
|
"jsonc/comma-dangle": 2,
|
|
9
|
-
"jsonc/comma-style":
|
|
9
|
+
"jsonc/comma-style": 1,
|
|
10
10
|
"jsonc/indent": [
|
|
11
|
-
|
|
11
|
+
1,
|
|
12
12
|
2,
|
|
13
13
|
],
|
|
14
|
-
"jsonc/key-spacing":
|
|
14
|
+
"jsonc/key-spacing": 1,
|
|
15
15
|
"jsonc/no-floating-decimal": 2,
|
|
16
16
|
"jsonc/no-irregular-whitespace": [
|
|
17
17
|
2,
|
|
18
18
|
{
|
|
19
19
|
skipStrings: true,
|
|
20
20
|
skipComments: true,
|
|
21
|
-
skipRegExps: true,
|
|
22
|
-
skipTemplates: true,
|
|
23
|
-
skipJSXText: true,
|
|
24
21
|
},
|
|
25
22
|
],
|
|
26
23
|
"jsonc/no-multi-str": 2,
|
|
@@ -29,7 +26,7 @@ export default {
|
|
|
29
26
|
"jsonc/no-sparse-arrays": 2,
|
|
30
27
|
"jsonc/no-useless-escape": 2,
|
|
31
28
|
"jsonc/object-curly-newline": [
|
|
32
|
-
|
|
29
|
+
1,
|
|
33
30
|
{
|
|
34
31
|
consistent: true,
|
|
35
32
|
multiline: true,
|
|
@@ -37,10 +34,10 @@ export default {
|
|
|
37
34
|
},
|
|
38
35
|
],
|
|
39
36
|
"jsonc/object-curly-spacing": [
|
|
40
|
-
|
|
37
|
+
1,
|
|
41
38
|
"always",
|
|
42
39
|
],
|
|
43
|
-
"jsonc/object-property-newline":
|
|
40
|
+
"jsonc/object-property-newline": 1,
|
|
44
41
|
"jsonc/quote-props": 2,
|
|
45
42
|
"jsonc/quotes": 2,
|
|
46
43
|
"jsonc/space-unary-ops": 2,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"extend.js","sourceRoot":"","sources":["../../../../src/rules/json/plugin/extend.ts"],"names":[],"mappings":"AAGA,eAAe;IACb,KAAK,EAAE;QAEL,6BAA6B,
|
|
1
|
+
{"version":3,"file":"extend.js","sourceRoot":"","sources":["../../../../src/rules/json/plugin/extend.ts"],"names":[],"mappings":"AAGA,eAAe;IACb,KAAK,EAAE;QAEL,6BAA6B,GAAY;QACzC,6BAA6B,EAAE;;YAE7B,YAAY;SACb;QACD,oBAAoB,GAAU;QAC9B,mBAAmB,GAAY;QAC/B,cAAc,EAAE;;YAEd,CAAC;SACF;QACD,mBAAmB,GAAY;QAE/B,2BAA2B,GAAU;QACrC,+BAA+B,EAAE;;YAE/B;gBACE,WAAW,EAAE,IAAI;gBACjB,YAAY,EAAE,IAAI;aACnB;SACF;QACD,oBAAoB,GAAU;QAC9B,uBAAuB,GAAU;QACjC,gBAAgB,GAAU;QAC1B,wBAAwB,GAAU;QAClC,yBAAyB,GAAU;QACnC,4BAA4B,EAAE;;YAE5B;gBACE,UAAU,EAAE,IAAI;gBAChB,SAAS,EAAE,IAAI;gBACf,aAAa,EAAE,CAAC;aACjB;SACF;QACD,4BAA4B,EAAE;;YAE5B,QAAQ;SACT;QACD,+BAA+B,GAAY;QAC3C,mBAAmB,GAAU;QAC7B,cAAc,GAAU;QACxB,uBAAuB,GAAU;KACzB;CACX,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"extend.js","sourceRoot":"","sources":["../../../src/rules/svelte/extend.ts"],"names":[],"mappings":"AAGA,eAAe;IACb,KAAK,EAAE;
|
|
1
|
+
{"version":3,"file":"extend.js","sourceRoot":"","sources":["../../../src/rules/svelte/extend.ts"],"names":[],"mappings":"AAGA,eAAe;IACb,KAAK,EAAE;QACW,uBAAuB,GAAW;QAClD,8BAA8B,EAAE;;YAE9B,MAAM;SACP;QACe,8BAA8B,GAAW;QACzD,2BAA2B,GAAY;KAC/B;CACX,CAAC"}
|
|
@@ -32,7 +32,7 @@ declare const _default: ({
|
|
|
32
32
|
readonly "svelte/no-at-html-tags": import("../state.js").State.ON;
|
|
33
33
|
readonly "svelte/no-target-blank": import("../state.js").State.ON;
|
|
34
34
|
readonly "svelte/block-lang": readonly [
|
|
35
|
-
import("../state.js").State.
|
|
35
|
+
import("../state.js").State.WARN,
|
|
36
36
|
{
|
|
37
37
|
readonly script: readonly [
|
|
38
38
|
"ts"
|
|
@@ -53,64 +53,64 @@ declare const _default: ({
|
|
|
53
53
|
readonly "svelte/no-svelte-internal": import("../state.js").State.ON;
|
|
54
54
|
readonly "svelte/no-unnecessary-state-wrap": import("../state.js").State.ON;
|
|
55
55
|
readonly "svelte/no-unused-props": readonly [
|
|
56
|
-
import("../state.js").State.
|
|
56
|
+
import("../state.js").State.WARN,
|
|
57
57
|
{
|
|
58
58
|
readonly checkImportedTypes: true;
|
|
59
59
|
}
|
|
60
60
|
];
|
|
61
|
-
readonly "svelte/no-unused-svelte-ignore": import("../state.js").State.
|
|
62
|
-
readonly "svelte/no-useless-children-snippet": import("../state.js").State.
|
|
63
|
-
readonly "svelte/no-useless-mustaches": import("../state.js").State.
|
|
61
|
+
readonly "svelte/no-unused-svelte-ignore": import("../state.js").State.WARN;
|
|
62
|
+
readonly "svelte/no-useless-children-snippet": import("../state.js").State.WARN;
|
|
63
|
+
readonly "svelte/no-useless-mustaches": import("../state.js").State.WARN;
|
|
64
64
|
readonly "svelte/prefer-const": readonly [
|
|
65
|
-
import("../state.js").State.
|
|
65
|
+
import("../state.js").State.WARN,
|
|
66
66
|
{
|
|
67
67
|
readonly destructuring: "all";
|
|
68
68
|
}
|
|
69
69
|
];
|
|
70
|
-
readonly "svelte/prefer-destructured-store-props": import("../state.js").State.
|
|
71
|
-
readonly "svelte/prefer-writable-derived": import("../state.js").State.
|
|
70
|
+
readonly "svelte/prefer-destructured-store-props": import("../state.js").State.WARN;
|
|
71
|
+
readonly "svelte/prefer-writable-derived": import("../state.js").State.WARN;
|
|
72
72
|
readonly "svelte/require-each-key": import("../state.js").State.ON;
|
|
73
73
|
readonly "svelte/require-event-dispatcher-types": import("../state.js").State.ON;
|
|
74
74
|
readonly "svelte/require-optimized-style-attribute": import("../state.js").State.ON;
|
|
75
75
|
readonly "svelte/require-stores-init": import("../state.js").State.ON;
|
|
76
76
|
readonly "svelte/valid-each-key": import("../state.js").State.ON;
|
|
77
77
|
readonly "svelte/consistent-selector-style": readonly [
|
|
78
|
-
import("../state.js").State.
|
|
78
|
+
import("../state.js").State.WARN,
|
|
79
79
|
{
|
|
80
80
|
readonly checkGlobal: true;
|
|
81
81
|
}
|
|
82
82
|
];
|
|
83
83
|
readonly "svelte/derived-has-same-inputs-outputs": import("../state.js").State.ON;
|
|
84
84
|
readonly "svelte/first-attribute-linebreak": readonly [
|
|
85
|
-
import("../state.js").State.
|
|
85
|
+
import("../state.js").State.WARN,
|
|
86
86
|
{
|
|
87
87
|
readonly singleline: "below";
|
|
88
88
|
}
|
|
89
89
|
];
|
|
90
|
-
readonly "svelte/html-closing-bracket-new-line": import("../state.js").State.
|
|
90
|
+
readonly "svelte/html-closing-bracket-new-line": import("../state.js").State.WARN;
|
|
91
91
|
readonly "svelte/html-closing-bracket-spacing": readonly [
|
|
92
|
-
import("../state.js").State.
|
|
92
|
+
import("../state.js").State.WARN,
|
|
93
93
|
{
|
|
94
94
|
readonly selfClosingTag: "never";
|
|
95
95
|
}
|
|
96
96
|
];
|
|
97
|
-
readonly "svelte/html-self-closing": import("../state.js").State.
|
|
98
|
-
readonly "svelte/indent": import("../state.js").State.
|
|
99
|
-
readonly "svelte/max-attributes-per-line": import("../state.js").State.
|
|
100
|
-
readonly "svelte/mustache-spacing": import("../state.js").State.
|
|
101
|
-
readonly "svelte/no-extra-reactive-curlies": import("../state.js").State.
|
|
102
|
-
readonly "svelte/no-spaces-around-equal-signs-in-attribute": import("../state.js").State.
|
|
97
|
+
readonly "svelte/html-self-closing": import("../state.js").State.WARN;
|
|
98
|
+
readonly "svelte/indent": import("../state.js").State.WARN;
|
|
99
|
+
readonly "svelte/max-attributes-per-line": import("../state.js").State.WARN;
|
|
100
|
+
readonly "svelte/mustache-spacing": import("../state.js").State.WARN;
|
|
101
|
+
readonly "svelte/no-extra-reactive-curlies": import("../state.js").State.WARN;
|
|
102
|
+
readonly "svelte/no-spaces-around-equal-signs-in-attribute": import("../state.js").State.WARN;
|
|
103
103
|
readonly "svelte/prefer-class-directive": readonly [
|
|
104
|
-
import("../state.js").State.
|
|
104
|
+
import("../state.js").State.WARN,
|
|
105
105
|
{
|
|
106
106
|
readonly prefer: "empty";
|
|
107
107
|
}
|
|
108
108
|
];
|
|
109
|
-
readonly "svelte/prefer-style-directive": import("../state.js").State.
|
|
109
|
+
readonly "svelte/prefer-style-directive": import("../state.js").State.WARN;
|
|
110
110
|
readonly "svelte/require-event-prefix": import("../state.js").State.ON;
|
|
111
|
-
readonly "svelte/shorthand-attribute": import("../state.js").State.
|
|
112
|
-
readonly "svelte/shorthand-directive": import("../state.js").State.
|
|
113
|
-
readonly "svelte/spaced-html-comment": import("../state.js").State.
|
|
111
|
+
readonly "svelte/shorthand-attribute": import("../state.js").State.WARN;
|
|
112
|
+
readonly "svelte/shorthand-directive": import("../state.js").State.WARN;
|
|
113
|
+
readonly "svelte/spaced-html-comment": import("../state.js").State.WARN;
|
|
114
114
|
readonly "svelte/no-export-load-in-svelte-module-in-kit-pages": import("../state.js").State.ON;
|
|
115
115
|
readonly "svelte/no-navigation-without-resolve": import("../state.js").State.ON;
|
|
116
116
|
readonly "svelte/valid-prop-names-in-kit-pages": import("../state.js").State.ON;
|
|
@@ -125,7 +125,7 @@ declare const _default: ({
|
|
|
125
125
|
"both"
|
|
126
126
|
];
|
|
127
127
|
readonly "stylistic/no-trailing-spaces": import("../state.js").State.OFF;
|
|
128
|
-
readonly "svelte/no-trailing-spaces": import("../state.js").State.
|
|
128
|
+
readonly "svelte/no-trailing-spaces": import("../state.js").State.WARN;
|
|
129
129
|
};
|
|
130
130
|
})[];
|
|
131
131
|
export default _default;
|
|
@@ -23,7 +23,7 @@ declare const _default: {
|
|
|
23
23
|
readonly "svelte/no-at-html-tags": State.ON;
|
|
24
24
|
readonly "svelte/no-target-blank": State.ON;
|
|
25
25
|
readonly "svelte/block-lang": readonly [
|
|
26
|
-
State.
|
|
26
|
+
State.WARN,
|
|
27
27
|
{
|
|
28
28
|
readonly script: readonly [
|
|
29
29
|
"ts"
|
|
@@ -44,64 +44,64 @@ declare const _default: {
|
|
|
44
44
|
readonly "svelte/no-svelte-internal": State.ON;
|
|
45
45
|
readonly "svelte/no-unnecessary-state-wrap": State.ON;
|
|
46
46
|
readonly "svelte/no-unused-props": readonly [
|
|
47
|
-
State.
|
|
47
|
+
State.WARN,
|
|
48
48
|
{
|
|
49
49
|
readonly checkImportedTypes: true;
|
|
50
50
|
}
|
|
51
51
|
];
|
|
52
|
-
readonly "svelte/no-unused-svelte-ignore": State.
|
|
53
|
-
readonly "svelte/no-useless-children-snippet": State.
|
|
54
|
-
readonly "svelte/no-useless-mustaches": State.
|
|
52
|
+
readonly "svelte/no-unused-svelte-ignore": State.WARN;
|
|
53
|
+
readonly "svelte/no-useless-children-snippet": State.WARN;
|
|
54
|
+
readonly "svelte/no-useless-mustaches": State.WARN;
|
|
55
55
|
readonly "svelte/prefer-const": readonly [
|
|
56
|
-
State.
|
|
56
|
+
State.WARN,
|
|
57
57
|
{
|
|
58
58
|
readonly destructuring: "all";
|
|
59
59
|
}
|
|
60
60
|
];
|
|
61
|
-
readonly "svelte/prefer-destructured-store-props": State.
|
|
62
|
-
readonly "svelte/prefer-writable-derived": State.
|
|
61
|
+
readonly "svelte/prefer-destructured-store-props": State.WARN;
|
|
62
|
+
readonly "svelte/prefer-writable-derived": State.WARN;
|
|
63
63
|
readonly "svelte/require-each-key": State.ON;
|
|
64
64
|
readonly "svelte/require-event-dispatcher-types": State.ON;
|
|
65
65
|
readonly "svelte/require-optimized-style-attribute": State.ON;
|
|
66
66
|
readonly "svelte/require-stores-init": State.ON;
|
|
67
67
|
readonly "svelte/valid-each-key": State.ON;
|
|
68
68
|
readonly "svelte/consistent-selector-style": readonly [
|
|
69
|
-
State.
|
|
69
|
+
State.WARN,
|
|
70
70
|
{
|
|
71
71
|
readonly checkGlobal: true;
|
|
72
72
|
}
|
|
73
73
|
];
|
|
74
74
|
readonly "svelte/derived-has-same-inputs-outputs": State.ON;
|
|
75
75
|
readonly "svelte/first-attribute-linebreak": readonly [
|
|
76
|
-
State.
|
|
76
|
+
State.WARN,
|
|
77
77
|
{
|
|
78
78
|
readonly singleline: "below";
|
|
79
79
|
}
|
|
80
80
|
];
|
|
81
|
-
readonly "svelte/html-closing-bracket-new-line": State.
|
|
81
|
+
readonly "svelte/html-closing-bracket-new-line": State.WARN;
|
|
82
82
|
readonly "svelte/html-closing-bracket-spacing": readonly [
|
|
83
|
-
State.
|
|
83
|
+
State.WARN,
|
|
84
84
|
{
|
|
85
85
|
readonly selfClosingTag: "never";
|
|
86
86
|
}
|
|
87
87
|
];
|
|
88
|
-
readonly "svelte/html-self-closing": State.
|
|
89
|
-
readonly "svelte/indent": State.
|
|
90
|
-
readonly "svelte/max-attributes-per-line": State.
|
|
91
|
-
readonly "svelte/mustache-spacing": State.
|
|
92
|
-
readonly "svelte/no-extra-reactive-curlies": State.
|
|
93
|
-
readonly "svelte/no-spaces-around-equal-signs-in-attribute": State.
|
|
88
|
+
readonly "svelte/html-self-closing": State.WARN;
|
|
89
|
+
readonly "svelte/indent": State.WARN;
|
|
90
|
+
readonly "svelte/max-attributes-per-line": State.WARN;
|
|
91
|
+
readonly "svelte/mustache-spacing": State.WARN;
|
|
92
|
+
readonly "svelte/no-extra-reactive-curlies": State.WARN;
|
|
93
|
+
readonly "svelte/no-spaces-around-equal-signs-in-attribute": State.WARN;
|
|
94
94
|
readonly "svelte/prefer-class-directive": readonly [
|
|
95
|
-
State.
|
|
95
|
+
State.WARN,
|
|
96
96
|
{
|
|
97
97
|
readonly prefer: "empty";
|
|
98
98
|
}
|
|
99
99
|
];
|
|
100
|
-
readonly "svelte/prefer-style-directive": State.
|
|
100
|
+
readonly "svelte/prefer-style-directive": State.WARN;
|
|
101
101
|
readonly "svelte/require-event-prefix": State.ON;
|
|
102
|
-
readonly "svelte/shorthand-attribute": State.
|
|
103
|
-
readonly "svelte/shorthand-directive": State.
|
|
104
|
-
readonly "svelte/spaced-html-comment": State.
|
|
102
|
+
readonly "svelte/shorthand-attribute": State.WARN;
|
|
103
|
+
readonly "svelte/shorthand-directive": State.WARN;
|
|
104
|
+
readonly "svelte/spaced-html-comment": State.WARN;
|
|
105
105
|
readonly "svelte/no-export-load-in-svelte-module-in-kit-pages": State.ON;
|
|
106
106
|
readonly "svelte/no-navigation-without-resolve": State.ON;
|
|
107
107
|
readonly "svelte/valid-prop-names-in-kit-pages": State.ON;
|
|
@@ -22,7 +22,7 @@ export default {
|
|
|
22
22
|
"svelte/no-at-html-tags": 2,
|
|
23
23
|
"svelte/no-target-blank": 2,
|
|
24
24
|
"svelte/block-lang": [
|
|
25
|
-
|
|
25
|
+
1,
|
|
26
26
|
{
|
|
27
27
|
script: ["ts"],
|
|
28
28
|
style: ["css"],
|
|
@@ -39,64 +39,64 @@ export default {
|
|
|
39
39
|
"svelte/no-svelte-internal": 2,
|
|
40
40
|
"svelte/no-unnecessary-state-wrap": 2,
|
|
41
41
|
"svelte/no-unused-props": [
|
|
42
|
-
|
|
42
|
+
1,
|
|
43
43
|
{
|
|
44
44
|
checkImportedTypes: true,
|
|
45
45
|
},
|
|
46
46
|
],
|
|
47
|
-
"svelte/no-unused-svelte-ignore":
|
|
48
|
-
"svelte/no-useless-children-snippet":
|
|
49
|
-
"svelte/no-useless-mustaches":
|
|
47
|
+
"svelte/no-unused-svelte-ignore": 1,
|
|
48
|
+
"svelte/no-useless-children-snippet": 1,
|
|
49
|
+
"svelte/no-useless-mustaches": 1,
|
|
50
50
|
"svelte/prefer-const": [
|
|
51
|
-
|
|
51
|
+
1,
|
|
52
52
|
{
|
|
53
53
|
destructuring: "all",
|
|
54
54
|
},
|
|
55
55
|
],
|
|
56
|
-
"svelte/prefer-destructured-store-props":
|
|
57
|
-
"svelte/prefer-writable-derived":
|
|
56
|
+
"svelte/prefer-destructured-store-props": 1,
|
|
57
|
+
"svelte/prefer-writable-derived": 1,
|
|
58
58
|
"svelte/require-each-key": 2,
|
|
59
59
|
"svelte/require-event-dispatcher-types": 2,
|
|
60
60
|
"svelte/require-optimized-style-attribute": 2,
|
|
61
61
|
"svelte/require-stores-init": 2,
|
|
62
62
|
"svelte/valid-each-key": 2,
|
|
63
63
|
"svelte/consistent-selector-style": [
|
|
64
|
-
|
|
64
|
+
1,
|
|
65
65
|
{
|
|
66
66
|
checkGlobal: true,
|
|
67
67
|
},
|
|
68
68
|
],
|
|
69
69
|
"svelte/derived-has-same-inputs-outputs": 2,
|
|
70
70
|
"svelte/first-attribute-linebreak": [
|
|
71
|
-
|
|
71
|
+
1,
|
|
72
72
|
{
|
|
73
73
|
singleline: "below",
|
|
74
74
|
},
|
|
75
75
|
],
|
|
76
|
-
"svelte/html-closing-bracket-new-line":
|
|
76
|
+
"svelte/html-closing-bracket-new-line": 1,
|
|
77
77
|
"svelte/html-closing-bracket-spacing": [
|
|
78
|
-
|
|
78
|
+
1,
|
|
79
79
|
{
|
|
80
80
|
selfClosingTag: "never",
|
|
81
81
|
},
|
|
82
82
|
],
|
|
83
|
-
"svelte/html-self-closing":
|
|
84
|
-
"svelte/indent":
|
|
85
|
-
"svelte/max-attributes-per-line":
|
|
86
|
-
"svelte/mustache-spacing":
|
|
87
|
-
"svelte/no-extra-reactive-curlies":
|
|
88
|
-
"svelte/no-spaces-around-equal-signs-in-attribute":
|
|
83
|
+
"svelte/html-self-closing": 1,
|
|
84
|
+
"svelte/indent": 1,
|
|
85
|
+
"svelte/max-attributes-per-line": 1,
|
|
86
|
+
"svelte/mustache-spacing": 1,
|
|
87
|
+
"svelte/no-extra-reactive-curlies": 1,
|
|
88
|
+
"svelte/no-spaces-around-equal-signs-in-attribute": 1,
|
|
89
89
|
"svelte/prefer-class-directive": [
|
|
90
|
-
|
|
90
|
+
1,
|
|
91
91
|
{
|
|
92
92
|
prefer: "empty",
|
|
93
93
|
},
|
|
94
94
|
],
|
|
95
|
-
"svelte/prefer-style-directive":
|
|
95
|
+
"svelte/prefer-style-directive": 1,
|
|
96
96
|
"svelte/require-event-prefix": 2,
|
|
97
|
-
"svelte/shorthand-attribute":
|
|
98
|
-
"svelte/shorthand-directive":
|
|
99
|
-
"svelte/spaced-html-comment":
|
|
97
|
+
"svelte/shorthand-attribute": 1,
|
|
98
|
+
"svelte/shorthand-directive": 1,
|
|
99
|
+
"svelte/spaced-html-comment": 1,
|
|
100
100
|
"svelte/no-export-load-in-svelte-module-in-kit-pages": 2,
|
|
101
101
|
"svelte/no-navigation-without-resolve": 2,
|
|
102
102
|
"svelte/valid-prop-names-in-kit-pages": 2,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"svelte.js","sourceRoot":"","sources":["../../../src/rules/svelte/svelte.ts"],"names":[],"mappings":"AAGA,eAAe;IACb,KAAK,EAAE;QAGL,+BAA+B,GAAU;QACzC,4BAA4B,GAAU;QACtC,+BAA+B,GAAU;QACzC,8BAA8B,GAAU;QACxC,iCAAiC,GAAU;QAC3C,+BAA+B,GAAU;QACzC,gCAAgC,GAAU;QAC1C,oCAAoC,G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A0B,GAAU;QACpC,eAAe,GAAU;KAEjB;CACX,CAAC"}
|
|
@@ -3,7 +3,7 @@ declare const _default: {
|
|
|
3
3
|
rules: {
|
|
4
4
|
readonly "dot-notation": State.OFF;
|
|
5
5
|
readonly "ts/dot-notation": readonly [
|
|
6
|
-
State.
|
|
6
|
+
State.WARN,
|
|
7
7
|
{
|
|
8
8
|
readonly allowPrivateClassPropertyAccess: true;
|
|
9
9
|
readonly allowProtectedClassPropertyAccess: true;
|
|
@@ -14,27 +14,18 @@ declare const _default: {
|
|
|
14
14
|
readonly "ts/no-implied-eval": State.ON;
|
|
15
15
|
readonly "no-restricted-imports": State.OFF;
|
|
16
16
|
readonly "no-unused-vars": State.OFF;
|
|
17
|
-
readonly "ts/no-unused-vars": State.
|
|
17
|
+
readonly "ts/no-unused-vars": State.WARN;
|
|
18
18
|
readonly "no-throw-literal": State.OFF;
|
|
19
19
|
readonly "ts/only-throw-error": readonly [
|
|
20
|
-
State.
|
|
20
|
+
State.WARN,
|
|
21
21
|
{
|
|
22
22
|
readonly allowThrowingAny: false;
|
|
23
23
|
}
|
|
24
24
|
];
|
|
25
25
|
readonly "prefer-destructuring": State.OFF;
|
|
26
|
-
readonly "ts/prefer-destructuring": readonly [
|
|
27
|
-
State.ON,
|
|
28
|
-
{
|
|
29
|
-
readonly AssignmentExpression: {
|
|
30
|
-
readonly array: false;
|
|
31
|
-
readonly object: false;
|
|
32
|
-
};
|
|
33
|
-
}
|
|
34
|
-
];
|
|
35
26
|
readonly "prefer-promise-reject-errors": State.OFF;
|
|
36
27
|
readonly "ts/prefer-promise-reject-errors": readonly [
|
|
37
|
-
State.
|
|
28
|
+
State.WARN,
|
|
38
29
|
{
|
|
39
30
|
readonly allowThrowingUnknown: true;
|
|
40
31
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"extend.d.ts","sourceRoot":"","sources":["../../../src/rules/ts/extend.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC
|
|
1
|
+
{"version":3,"file":"extend.d.ts","sourceRoot":"","sources":["../../../src/rules/ts/extend.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGjC,wBAsCE"}
|
package/dist/rules/ts/extend.js
CHANGED
|
@@ -2,7 +2,7 @@ export default {
|
|
|
2
2
|
rules: {
|
|
3
3
|
"dot-notation": 0,
|
|
4
4
|
"ts/dot-notation": [
|
|
5
|
-
|
|
5
|
+
1,
|
|
6
6
|
{
|
|
7
7
|
allowPrivateClassPropertyAccess: true,
|
|
8
8
|
allowProtectedClassPropertyAccess: true,
|
|
@@ -13,27 +13,18 @@ export default {
|
|
|
13
13
|
"ts/no-implied-eval": 2,
|
|
14
14
|
"no-restricted-imports": 0,
|
|
15
15
|
"no-unused-vars": 0,
|
|
16
|
-
"ts/no-unused-vars":
|
|
16
|
+
"ts/no-unused-vars": 1,
|
|
17
17
|
"no-throw-literal": 0,
|
|
18
18
|
"ts/only-throw-error": [
|
|
19
|
-
|
|
19
|
+
1,
|
|
20
20
|
{
|
|
21
21
|
allowThrowingAny: false,
|
|
22
22
|
},
|
|
23
23
|
],
|
|
24
24
|
"prefer-destructuring": 0,
|
|
25
|
-
"ts/prefer-destructuring": [
|
|
26
|
-
2,
|
|
27
|
-
{
|
|
28
|
-
AssignmentExpression: {
|
|
29
|
-
array: false,
|
|
30
|
-
object: false,
|
|
31
|
-
},
|
|
32
|
-
},
|
|
33
|
-
],
|
|
34
25
|
"prefer-promise-reject-errors": 0,
|
|
35
26
|
"ts/prefer-promise-reject-errors": [
|
|
36
|
-
|
|
27
|
+
1,
|
|
37
28
|
{
|
|
38
29
|
allowThrowingUnknown: true,
|
|
39
30
|
},
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"extend.js","sourceRoot":"","sources":["../../../src/rules/ts/extend.ts"],"names":[],"mappings":"AAGA,eAAe;IACb,KAAK,EAAE;QACW,cAAc,GAAW;QACzC,iBAAiB,EAAE;;YAEjB;gBAEE,+BAA+B,EAAE,IAAI;gBACrC,iCAAiC,EAAE,IAAI;gBACvC,iCAAiC,EAAE,IAAI;aACxC;SACF;QACe,iBAAiB,GAAW;QAC5C,oBAAoB,GAAU;QAEd,uBAAuB,GAAW;QAElC,gBAAgB,GAAW;QAC3C,mBAAmB,
|
|
1
|
+
{"version":3,"file":"extend.js","sourceRoot":"","sources":["../../../src/rules/ts/extend.ts"],"names":[],"mappings":"AAGA,eAAe;IACb,KAAK,EAAE;QACW,cAAc,GAAW;QACzC,iBAAiB,EAAE;;YAEjB;gBAEE,+BAA+B,EAAE,IAAI;gBACrC,iCAAiC,EAAE,IAAI;gBACvC,iCAAiC,EAAE,IAAI;aACxC;SACF;QACe,iBAAiB,GAAW;QAC5C,oBAAoB,GAAU;QAEd,uBAAuB,GAAW;QAElC,gBAAgB,GAAW;QAC3C,mBAAmB,GAAY;QACf,kBAAkB,GAAW;QAC7C,qBAAqB,EAAE;;YAErB;gBACE,gBAAgB,EAAE,KAAK;aACxB;SACF;QACe,sBAAsB,GAAW;QAEjC,8BAA8B,GAAW;QACzD,iCAAiC,EAAE;;YAEjC;gBACE,oBAAoB,EAAE,IAAI;aAC3B;SACF;QACe,eAAe,GAAW;QAC1C,kBAAkB,GAAU;KACpB;CACX,CAAC"}
|