@eslinted/defaults 17.2.7 → 17.2.8
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 +792 -1139
- package/dist/rules/css/index.d.ts +1 -2
- package/dist/rules/css/index.d.ts.map +1 -1
- package/dist/rules/css/index.js.map +1 -1
- package/dist/rules/disable.d.ts +1 -2
- package/dist/rules/disable.d.ts.map +1 -1
- package/dist/rules/disable.js.map +1 -1
- package/dist/rules/html/index.d.ts +17 -37
- package/dist/rules/html/index.d.ts.map +1 -1
- package/dist/rules/html/index.js.map +1 -1
- package/dist/rules/index.d.ts +792 -1139
- package/dist/rules/js.d.ts +357 -560
- package/dist/rules/js.eslint.d.ts +90 -184
- package/dist/rules/js.eslint.d.ts.map +1 -1
- package/dist/rules/js.eslint.js.map +1 -1
- package/dist/rules/js.stylistic.d.ts +108 -219
- package/dist/rules/js.stylistic.d.ts.map +1 -1
- package/dist/rules/js.stylistic.js.map +1 -1
- package/dist/rules/json/index.d.ts +53 -68
- package/dist/rules/json/json.d.ts +1 -2
- package/dist/rules/json/json.d.ts.map +1 -1
- package/dist/rules/json/json.js.map +1 -1
- package/dist/rules/json/plugin/extend.d.ts +16 -32
- package/dist/rules/json/plugin/extend.d.ts.map +1 -1
- package/dist/rules/json/plugin/extend.js.map +1 -1
- package/dist/rules/json/plugin/index.d.ts +1 -2
- package/dist/rules/json/plugin/index.d.ts.map +1 -1
- package/dist/rules/json/plugin/index.js.map +1 -1
- package/dist/rules/jsonc/index.d.ts +1 -2
- package/dist/rules/jsonc/index.d.ts.map +1 -1
- package/dist/rules/jsonc/index.js.map +1 -1
- package/dist/rules/jsoncc/index.d.ts +2 -6
- package/dist/rules/jsoncc/index.d.ts.map +1 -1
- package/dist/rules/jsoncc/index.js.map +1 -1
- package/dist/rules/mocha/chai/expect.d.ts +1 -2
- package/dist/rules/mocha/chai/expect.d.ts.map +1 -1
- package/dist/rules/mocha/chai/expect.js.map +1 -1
- package/dist/rules/mocha/chai/index.d.ts +5 -9
- package/dist/rules/mocha/chai/index.d.ts.map +1 -1
- package/dist/rules/mocha/chai/index.js.map +1 -1
- package/dist/rules/mocha/index.d.ts +26 -29
- package/dist/rules/mocha/mocha.d.ts +1 -2
- package/dist/rules/mocha/mocha.d.ts.map +1 -1
- package/dist/rules/mocha/mocha.js.map +1 -1
- package/dist/rules/svelte/disable.d.ts +1 -2
- package/dist/rules/svelte/disable.d.ts.map +1 -1
- package/dist/rules/svelte/disable.js.map +1 -1
- package/dist/rules/svelte/extend.d.ts +2 -6
- package/dist/rules/svelte/extend.d.ts.map +1 -1
- package/dist/rules/svelte/extend.js.map +1 -1
- package/dist/rules/svelte/index.d.ts +93 -121
- package/dist/rules/svelte/svelte.d.ts +23 -49
- package/dist/rules/svelte/svelte.d.ts.map +1 -1
- package/dist/rules/svelte/svelte.js.map +1 -1
- package/dist/rules/ts/disable.d.ts +1 -2
- package/dist/rules/ts/disable.d.ts.map +1 -1
- package/dist/rules/ts/disable.js.map +1 -1
- package/dist/rules/ts/extend.d.ts +18 -31
- package/dist/rules/ts/extend.d.ts.map +1 -1
- package/dist/rules/ts/extend.js.map +1 -1
- package/dist/rules/ts/index.d.ts +169 -220
- package/dist/rules/ts/ts.d.ts +53 -93
- package/dist/rules/ts/ts.d.ts.map +1 -1
- package/dist/rules/ts/ts.js.map +1 -1
- package/dist/rules/yml/extend.d.ts +18 -44
- package/dist/rules/yml/extend.d.ts.map +1 -1
- package/dist/rules/yml/extend.js.map +1 -1
- package/dist/rules/yml/index.d.ts +33 -58
- package/dist/rules/yml/yml.d.ts +1 -2
- package/dist/rules/yml/yml.d.ts.map +1 -1
- package/dist/rules/yml/yml.js.map +1 -1
- package/package.json +1 -1
- package/src/_pattern/tsconfig.json +6 -0
- package/src/files/tsconfig.json +11 -0
- package/src/ignores/tsconfig.json +11 -0
- package/src/rules/css/index.ts +0 -2
- package/src/rules/disable.ts +0 -2
- package/src/rules/html/index.ts +0 -2
- package/src/rules/js.eslint.ts +0 -2
- package/src/rules/js.stylistic.ts +0 -2
- package/src/rules/json/json.ts +0 -2
- package/src/rules/json/plugin/extend.ts +0 -2
- package/src/rules/json/plugin/index.ts +0 -2
- package/src/rules/jsonc/index.ts +0 -2
- package/src/rules/jsoncc/index.ts +0 -2
- package/src/rules/mocha/chai/expect.ts +0 -2
- package/src/rules/mocha/chai/index.ts +0 -2
- package/src/rules/mocha/mocha.ts +0 -2
- package/src/rules/svelte/disable.ts +0 -2
- package/src/rules/svelte/extend.ts +0 -2
- package/src/rules/svelte/svelte.ts +0 -2
- package/src/rules/ts/disable.ts +0 -2
- package/src/rules/ts/extend.ts +0 -2
- package/src/rules/ts/ts.ts +0 -2
- package/src/rules/tsconfig.json +7 -0
- package/src/rules/yml/extend.ts +0 -2
- package/src/rules/yml/yml.ts +0 -2
- package/src/tsconfig-src.json +8 -0
- package/src/tsconfig.json +12 -7
- package/tests/tsconfig.json +1 -4
- package/typings/index.d.ts +5 -0
- package/dist/rules/state.d.ts +0 -6
- package/dist/rules/state.d.ts.map +0 -1
- package/dist/rules/state.js +0 -2
- package/dist/rules/state.js.map +0 -1
- package/src/rules/state.ts +0 -5
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { State } from "../../state.js";
|
|
2
1
|
declare const _default: {
|
|
3
2
|
rules: {
|
|
4
3
|
readonly "jsonc/no-bigint-literals": State.ON;
|
|
@@ -23,4 +22,4 @@ declare const _default: {
|
|
|
23
22
|
};
|
|
24
23
|
};
|
|
25
24
|
export default _default;
|
|
26
|
-
//# sourceMappingURL=index.d.ts.map
|
|
25
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/rules/json/plugin/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/rules/json/plugin/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;AACA,wBA0BE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/rules/json/plugin/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/rules/json/plugin/index.ts"],"names":[],"mappings":"AACA,eAAe;IACb,KAAK,EAAE;QAGL,0BAA0B,GAAU;QACpC,4BAA4B,GAAU;QACtC,kCAAkC,GAAU;QAC5C,mBAAmB,GAAU;QAC7B,wCAAwC,GAAU;QAClD,uCAAuC,GAAU;QACjD,mBAAmB,GAAU;QAC7B,cAAc,GAAU;QACxB,uBAAuB,GAAU;QACjC,6BAA6B,GAAU;QACvC,iCAAiC,GAAU;QAC3C,wBAAwB,GAAU;QAClC,oBAAoB,GAAU;QAC9B,0BAA0B,GAAU;QACpC,4BAA4B,GAAU;QACtC,0BAA0B,GAAU;QACpC,oCAAoC,GAAU;QAG9C,yBAAyB,GAAU;QACnC,yCAAyC,GAAU;KAC3C;CACX,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/rules/jsonc/index.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/rules/jsonc/index.ts"],"names":[],"mappings":";;;;;AAAA,wBAME"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/rules/jsonc/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/rules/jsonc/index.ts"],"names":[],"mappings":"AAAA,eAAe;IACb;QACE,KAAK,EAAE;YACL,mBAAmB,GAAW;SACtB;KACX;CACF,CAAC"}
|
|
@@ -1,11 +1,7 @@
|
|
|
1
|
-
import { State } from "../state.js";
|
|
2
1
|
declare const _default: {
|
|
3
2
|
rules: {
|
|
4
|
-
readonly "jsonc/comma-dangle": readonly [
|
|
5
|
-
State.ON,
|
|
6
|
-
"always-multiline"
|
|
7
|
-
];
|
|
3
|
+
readonly "jsonc/comma-dangle": readonly [State.ON, "always-multiline"];
|
|
8
4
|
};
|
|
9
5
|
}[];
|
|
10
6
|
export default _default;
|
|
11
|
-
//# sourceMappingURL=index.d.ts.map
|
|
7
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/rules/jsoncc/index.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/rules/jsoncc/index.ts"],"names":[],"mappings":";;;;;AAAA,wBASE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/rules/jsoncc/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/rules/jsoncc/index.ts"],"names":[],"mappings":"AAAA,eAAe;IACb;QACE,KAAK,EAAE;YACL,oBAAoB,EAAE;;gBAEpB,kBAAkB;aACnB;SACO;KACX;CACF,CAAC"}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { State } from "../../state.js";
|
|
2
1
|
declare const _default: {
|
|
3
2
|
rules: {
|
|
4
3
|
readonly "chai-expect/no-inner-compare": State.ON;
|
|
@@ -7,4 +6,4 @@ declare const _default: {
|
|
|
7
6
|
};
|
|
8
7
|
};
|
|
9
8
|
export default _default;
|
|
10
|
-
//# sourceMappingURL=expect.d.ts.map
|
|
9
|
+
//# sourceMappingURL=expect.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"expect.d.ts","sourceRoot":"","sources":["../../../../src/rules/mocha/chai/expect.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"expect.d.ts","sourceRoot":"","sources":["../../../../src/rules/mocha/chai/expect.ts"],"names":[],"mappings":";;;;;;;AACA,wBAOE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"expect.js","sourceRoot":"","sources":["../../../../src/rules/mocha/chai/expect.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"expect.js","sourceRoot":"","sources":["../../../../src/rules/mocha/chai/expect.ts"],"names":[],"mappings":"AACA,eAAe;IACb,KAAK,EAAE;QACL,8BAA8B,GAAU;QACxC,8BAA8B,GAAU;QACxC,+BAA+B,GAAU;KAEjC;CACX,CAAC"}
|
|
@@ -1,15 +1,11 @@
|
|
|
1
|
-
import { State } from "../../state.js";
|
|
2
1
|
declare const _default: {
|
|
3
2
|
rules: {
|
|
4
3
|
readonly "no-unused-expressions": State.OFF;
|
|
5
|
-
readonly "chai/no-unused-expressions": readonly [
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
readonly allowTernary: true;
|
|
10
|
-
}
|
|
11
|
-
];
|
|
4
|
+
readonly "chai/no-unused-expressions": readonly [State.ON, {
|
|
5
|
+
readonly allowShortCircuit: true;
|
|
6
|
+
readonly allowTernary: true;
|
|
7
|
+
}];
|
|
12
8
|
};
|
|
13
9
|
};
|
|
14
10
|
export default _default;
|
|
15
|
-
//# sourceMappingURL=index.d.ts.map
|
|
11
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/rules/mocha/chai/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/rules/mocha/chai/index.ts"],"names":[],"mappings":";;;;;;;;;AACA,wBAWE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/rules/mocha/chai/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/rules/mocha/chai/index.ts"],"names":[],"mappings":"AACA,eAAe;IACb,KAAK,EAAE;QACW,uBAAuB,GAAW;QAClD,4BAA4B,EAAE;;YAE5B;gBACE,iBAAiB,EAAE,IAAI;gBACvB,YAAY,EAAE,IAAI;aACnB;SACF;KACO;CACX,CAAC"}
|
|
@@ -1,40 +1,37 @@
|
|
|
1
1
|
declare const _default: ({
|
|
2
2
|
rules: {
|
|
3
|
-
readonly "mocha/handle-done-callback":
|
|
4
|
-
readonly "mocha/max-top-level-suites":
|
|
5
|
-
readonly "mocha/no-async-suite":
|
|
6
|
-
readonly "mocha/no-empty-title":
|
|
7
|
-
readonly "mocha/no-exclusive-tests":
|
|
8
|
-
readonly "mocha/no-exports":
|
|
9
|
-
readonly "mocha/no-global-tests":
|
|
10
|
-
readonly "mocha/no-identical-title":
|
|
11
|
-
readonly "mocha/no-mocha-arrows":
|
|
12
|
-
readonly "mocha/no-nested-tests":
|
|
13
|
-
readonly "mocha/no-pending-tests":
|
|
14
|
-
readonly "mocha/no-return-and-callback":
|
|
15
|
-
readonly "mocha/no-return-from-async":
|
|
16
|
-
readonly "mocha/no-sibling-hooks":
|
|
17
|
-
readonly "mocha/no-top-level-hooks":
|
|
18
|
-
readonly "prefer-arrow-callback":
|
|
19
|
-
readonly "mocha/prefer-arrow-callback":
|
|
3
|
+
readonly "mocha/handle-done-callback": State.ON;
|
|
4
|
+
readonly "mocha/max-top-level-suites": State.ON;
|
|
5
|
+
readonly "mocha/no-async-suite": State.ON;
|
|
6
|
+
readonly "mocha/no-empty-title": State.ON;
|
|
7
|
+
readonly "mocha/no-exclusive-tests": State.ON;
|
|
8
|
+
readonly "mocha/no-exports": State.ON;
|
|
9
|
+
readonly "mocha/no-global-tests": State.ON;
|
|
10
|
+
readonly "mocha/no-identical-title": State.ON;
|
|
11
|
+
readonly "mocha/no-mocha-arrows": State.ON;
|
|
12
|
+
readonly "mocha/no-nested-tests": State.ON;
|
|
13
|
+
readonly "mocha/no-pending-tests": State.ON;
|
|
14
|
+
readonly "mocha/no-return-and-callback": State.ON;
|
|
15
|
+
readonly "mocha/no-return-from-async": State.ON;
|
|
16
|
+
readonly "mocha/no-sibling-hooks": State.ON;
|
|
17
|
+
readonly "mocha/no-top-level-hooks": State.ON;
|
|
18
|
+
readonly "prefer-arrow-callback": State.OFF;
|
|
19
|
+
readonly "mocha/prefer-arrow-callback": State.ON;
|
|
20
20
|
};
|
|
21
21
|
} | {
|
|
22
22
|
rules: {
|
|
23
|
-
readonly "no-unused-expressions":
|
|
24
|
-
readonly "chai/no-unused-expressions": readonly [
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
readonly allowTernary: true;
|
|
29
|
-
}
|
|
30
|
-
];
|
|
23
|
+
readonly "no-unused-expressions": State.OFF;
|
|
24
|
+
readonly "chai/no-unused-expressions": readonly [State.ON, {
|
|
25
|
+
readonly allowShortCircuit: true;
|
|
26
|
+
readonly allowTernary: true;
|
|
27
|
+
}];
|
|
31
28
|
};
|
|
32
29
|
} | {
|
|
33
30
|
rules: {
|
|
34
|
-
readonly "chai-expect/no-inner-compare":
|
|
35
|
-
readonly "chai-expect/no-inner-literal":
|
|
36
|
-
readonly "chai-expect/missing-assertion":
|
|
31
|
+
readonly "chai-expect/no-inner-compare": State.ON;
|
|
32
|
+
readonly "chai-expect/no-inner-literal": State.ON;
|
|
33
|
+
readonly "chai-expect/missing-assertion": State.ON;
|
|
37
34
|
};
|
|
38
35
|
})[];
|
|
39
36
|
export default _default;
|
|
40
|
-
//# sourceMappingURL=index.d.ts.map
|
|
37
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { State } from "../state.js";
|
|
2
1
|
declare const _default: {
|
|
3
2
|
rules: {
|
|
4
3
|
readonly "mocha/handle-done-callback": State.ON;
|
|
@@ -21,4 +20,4 @@ declare const _default: {
|
|
|
21
20
|
};
|
|
22
21
|
};
|
|
23
22
|
export default _default;
|
|
24
|
-
//# sourceMappingURL=mocha.d.ts.map
|
|
23
|
+
//# sourceMappingURL=mocha.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mocha.d.ts","sourceRoot":"","sources":["../../../src/rules/mocha/mocha.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"mocha.d.ts","sourceRoot":"","sources":["../../../src/rules/mocha/mocha.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;AACA,wBA4BE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mocha.js","sourceRoot":"","sources":["../../../src/rules/mocha/mocha.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"mocha.js","sourceRoot":"","sources":["../../../src/rules/mocha/mocha.ts"],"names":[],"mappings":"AACA,eAAe;IACb,KAAK,EAAE;QAGL,4BAA4B,GAAU;QACtC,4BAA4B,GAAU;QACtC,sBAAsB,GAAU;QAChC,sBAAsB,GAAU;QAChC,0BAA0B,GAAU;QACpC,kBAAkB,GAAU;QAC5B,uBAAuB,GAAU;QAGjC,0BAA0B,GAAU;QACpC,uBAAuB,GAAU;QACjC,uBAAuB,GAAU;QACjC,wBAAwB,GAAU;QAClC,8BAA8B,GAAU;QACxC,4BAA4B,GAAU;QAEtC,wBAAwB,GAAU;QAElC,0BAA0B,GAAU;QACpB,uBAAuB,GAAW;QAClD,6BAA6B,GAAU;KAG/B;CACX,CAAC"}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { State } from "../state.js";
|
|
2
1
|
declare const _default: {
|
|
3
2
|
rules: {
|
|
4
3
|
readonly "no-inner-declarations": State.OFF;
|
|
@@ -11,4 +10,4 @@ declare const _default: {
|
|
|
11
10
|
};
|
|
12
11
|
};
|
|
13
12
|
export default _default;
|
|
14
|
-
//# sourceMappingURL=disable.d.ts.map
|
|
13
|
+
//# sourceMappingURL=disable.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"disable.d.ts","sourceRoot":"","sources":["../../../src/rules/svelte/disable.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"disable.d.ts","sourceRoot":"","sources":["../../../src/rules/svelte/disable.ts"],"names":[],"mappings":";;;;;;;;;;;AACA,wBAYE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"disable.js","sourceRoot":"","sources":["../../../src/rules/svelte/disable.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"disable.js","sourceRoot":"","sources":["../../../src/rules/svelte/disable.ts"],"names":[],"mappings":"AACA,eAAe;IACb,KAAK,EAAE;QAEL,uBAAuB,GAAW;QAClC,gBAAgB,GAAW;QAC3B,gBAAgB,GAAW;QAC3B,mBAAmB,GAAW;QAC9B,cAAc,GAAW;QAEzB,kBAAkB,GAAW;QAC7B,iCAAiC,GAAW;KACpC;CACX,CAAC"}
|
|
@@ -1,14 +1,10 @@
|
|
|
1
|
-
import { State } from "../state.js";
|
|
2
1
|
declare const _default: {
|
|
3
2
|
rules: {
|
|
4
3
|
readonly "no-inner-declarations": State.OFF;
|
|
5
|
-
readonly "svelte/no-inner-declarations": readonly [
|
|
6
|
-
State.ON,
|
|
7
|
-
"both"
|
|
8
|
-
];
|
|
4
|
+
readonly "svelte/no-inner-declarations": readonly [State.ON, "both"];
|
|
9
5
|
readonly "stylistic/no-trailing-spaces": State.OFF;
|
|
10
6
|
readonly "svelte/no-trailing-spaces": State.ON;
|
|
11
7
|
};
|
|
12
8
|
};
|
|
13
9
|
export default _default;
|
|
14
|
-
//# sourceMappingURL=extend.d.ts.map
|
|
10
|
+
//# sourceMappingURL=extend.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"extend.d.ts","sourceRoot":"","sources":["../../../src/rules/svelte/extend.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"extend.d.ts","sourceRoot":"","sources":["../../../src/rules/svelte/extend.ts"],"names":[],"mappings":";;;;;;;;AACA,wBAUE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"extend.js","sourceRoot":"","sources":["../../../src/rules/svelte/extend.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"extend.js","sourceRoot":"","sources":["../../../src/rules/svelte/extend.ts"],"names":[],"mappings":"AACA,eAAe;IACb,KAAK,EAAE;QACL,uBAAuB,GAAW;QAClC,8BAA8B,EAAE;;YAE9B,MAAM;SACP;QACD,8BAA8B,GAAW;QACzC,2BAA2B,GAAU;KAC7B;CACX,CAAC"}
|
|
@@ -1,132 +1,104 @@
|
|
|
1
1
|
declare const _default: ({
|
|
2
2
|
rules: {
|
|
3
|
-
readonly "no-inner-declarations":
|
|
4
|
-
readonly "no-self-assign":
|
|
5
|
-
readonly "no-unused-vars":
|
|
6
|
-
readonly "ts/no-unused-vars":
|
|
7
|
-
readonly "prefer-const":
|
|
8
|
-
readonly "stylistic/indent":
|
|
9
|
-
readonly "ts/no-confusing-void-expression":
|
|
3
|
+
readonly "no-inner-declarations": State.OFF;
|
|
4
|
+
readonly "no-self-assign": State.OFF;
|
|
5
|
+
readonly "no-unused-vars": State.OFF;
|
|
6
|
+
readonly "ts/no-unused-vars": State.OFF;
|
|
7
|
+
readonly "prefer-const": State.OFF;
|
|
8
|
+
readonly "stylistic/indent": State.OFF;
|
|
9
|
+
readonly "ts/no-confusing-void-expression": State.OFF;
|
|
10
10
|
};
|
|
11
11
|
} | {
|
|
12
12
|
rules: {
|
|
13
|
-
readonly "svelte/infinite-reactive-loop":
|
|
14
|
-
readonly "svelte/no-dom-manipulating":
|
|
15
|
-
readonly "svelte/no-dupe-else-if-blocks":
|
|
16
|
-
readonly "svelte/no-dupe-on-directives":
|
|
17
|
-
readonly "svelte/no-dupe-style-properties":
|
|
18
|
-
readonly "svelte/no-dupe-use-directives":
|
|
19
|
-
readonly "svelte/no-not-function-handler":
|
|
20
|
-
readonly "svelte/no-object-in-text-mustaches":
|
|
21
|
-
readonly "svelte/no-raw-special-elements":
|
|
22
|
-
readonly "svelte/no-reactive-reassign":
|
|
23
|
-
readonly "svelte/no-shorthand-style-property-overrides":
|
|
24
|
-
readonly "svelte/no-store-async":
|
|
25
|
-
readonly "svelte/no-top-level-browser-globals":
|
|
26
|
-
readonly "svelte/no-unknown-style-directive-property":
|
|
27
|
-
readonly "svelte/prefer-svelte-reactivity":
|
|
28
|
-
readonly "svelte/require-store-callbacks-use-set-param":
|
|
29
|
-
readonly "svelte/require-store-reactive-access":
|
|
30
|
-
readonly "svelte/valid-compile":
|
|
31
|
-
readonly "svelte/valid-style-parse":
|
|
32
|
-
readonly "svelte/no-at-html-tags":
|
|
33
|
-
readonly "svelte/no-target-blank":
|
|
34
|
-
readonly "svelte/block-lang": readonly [
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
readonly "svelte/
|
|
46
|
-
readonly "svelte/no-
|
|
47
|
-
readonly "svelte/no-
|
|
48
|
-
readonly "svelte/no-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
readonly "svelte/no-
|
|
52
|
-
readonly "svelte/no-
|
|
53
|
-
readonly "svelte/no-
|
|
54
|
-
readonly "svelte/
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
readonly "svelte/
|
|
62
|
-
readonly "svelte/
|
|
63
|
-
readonly "svelte/
|
|
64
|
-
readonly "svelte/
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
readonly "svelte/
|
|
72
|
-
readonly "svelte/
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
readonly "svelte/
|
|
76
|
-
readonly "svelte/
|
|
77
|
-
readonly "svelte/
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
readonly "svelte/
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
readonly "svelte/
|
|
91
|
-
readonly "svelte/
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
readonly selfClosingTag: "never";
|
|
95
|
-
}
|
|
96
|
-
];
|
|
97
|
-
readonly "svelte/html-self-closing": import("../state.js").State.ON;
|
|
98
|
-
readonly "svelte/indent": import("../state.js").State.ON;
|
|
99
|
-
readonly "svelte/max-attributes-per-line": import("../state.js").State.ON;
|
|
100
|
-
readonly "svelte/mustache-spacing": import("../state.js").State.ON;
|
|
101
|
-
readonly "svelte/no-extra-reactive-curlies": import("../state.js").State.ON;
|
|
102
|
-
readonly "svelte/no-spaces-around-equal-signs-in-attribute": import("../state.js").State.ON;
|
|
103
|
-
readonly "svelte/prefer-class-directive": readonly [
|
|
104
|
-
import("../state.js").State.ON,
|
|
105
|
-
{
|
|
106
|
-
readonly prefer: "empty";
|
|
107
|
-
}
|
|
108
|
-
];
|
|
109
|
-
readonly "svelte/prefer-style-directive": import("../state.js").State.ON;
|
|
110
|
-
readonly "svelte/require-event-prefix": import("../state.js").State.ON;
|
|
111
|
-
readonly "svelte/shorthand-attribute": import("../state.js").State.ON;
|
|
112
|
-
readonly "svelte/shorthand-directive": import("../state.js").State.ON;
|
|
113
|
-
readonly "svelte/spaced-html-comment": import("../state.js").State.ON;
|
|
114
|
-
readonly "svelte/no-export-load-in-svelte-module-in-kit-pages": import("../state.js").State.ON;
|
|
115
|
-
readonly "svelte/no-navigation-without-resolve": import("../state.js").State.ON;
|
|
116
|
-
readonly "svelte/valid-prop-names-in-kit-pages": import("../state.js").State.ON;
|
|
117
|
-
readonly "svelte/comment-directive": import("../state.js").State.ON;
|
|
118
|
-
readonly "svelte/system": import("../state.js").State.ON;
|
|
13
|
+
readonly "svelte/infinite-reactive-loop": State.ON;
|
|
14
|
+
readonly "svelte/no-dom-manipulating": State.ON;
|
|
15
|
+
readonly "svelte/no-dupe-else-if-blocks": State.ON;
|
|
16
|
+
readonly "svelte/no-dupe-on-directives": State.ON;
|
|
17
|
+
readonly "svelte/no-dupe-style-properties": State.ON;
|
|
18
|
+
readonly "svelte/no-dupe-use-directives": State.ON;
|
|
19
|
+
readonly "svelte/no-not-function-handler": State.ON;
|
|
20
|
+
readonly "svelte/no-object-in-text-mustaches": State.ON;
|
|
21
|
+
readonly "svelte/no-raw-special-elements": State.ON;
|
|
22
|
+
readonly "svelte/no-reactive-reassign": State.ON;
|
|
23
|
+
readonly "svelte/no-shorthand-style-property-overrides": State.ON;
|
|
24
|
+
readonly "svelte/no-store-async": State.ON;
|
|
25
|
+
readonly "svelte/no-top-level-browser-globals": State.ON;
|
|
26
|
+
readonly "svelte/no-unknown-style-directive-property": State.ON;
|
|
27
|
+
readonly "svelte/prefer-svelte-reactivity": State.ON;
|
|
28
|
+
readonly "svelte/require-store-callbacks-use-set-param": State.ON;
|
|
29
|
+
readonly "svelte/require-store-reactive-access": State.ON;
|
|
30
|
+
readonly "svelte/valid-compile": State.ON;
|
|
31
|
+
readonly "svelte/valid-style-parse": State.ON;
|
|
32
|
+
readonly "svelte/no-at-html-tags": State.ON;
|
|
33
|
+
readonly "svelte/no-target-blank": State.ON;
|
|
34
|
+
readonly "svelte/block-lang": readonly [State.ON, {
|
|
35
|
+
readonly script: readonly ["ts"];
|
|
36
|
+
readonly style: readonly ["css"];
|
|
37
|
+
}];
|
|
38
|
+
readonly "svelte/button-has-type": State.ON;
|
|
39
|
+
readonly "svelte/no-add-event-listener": State.ON;
|
|
40
|
+
readonly "svelte/no-at-debug-tags": State.ON;
|
|
41
|
+
readonly "svelte/no-ignored-unsubscribe": State.ON;
|
|
42
|
+
readonly "svelte/no-immutable-reactive-statements": State.ON;
|
|
43
|
+
readonly "svelte/no-inline-styles": State.ON;
|
|
44
|
+
readonly "svelte/no-reactive-functions": State.ON;
|
|
45
|
+
readonly "svelte/no-reactive-literals": State.ON;
|
|
46
|
+
readonly "svelte/no-svelte-internal": State.ON;
|
|
47
|
+
readonly "svelte/no-unnecessary-state-wrap": State.ON;
|
|
48
|
+
readonly "svelte/no-unused-props": readonly [State.ON, {
|
|
49
|
+
readonly checkImportedTypes: true;
|
|
50
|
+
}];
|
|
51
|
+
readonly "svelte/no-unused-svelte-ignore": State.ON;
|
|
52
|
+
readonly "svelte/no-useless-children-snippet": State.ON;
|
|
53
|
+
readonly "svelte/no-useless-mustaches": State.ON;
|
|
54
|
+
readonly "svelte/prefer-const": readonly [State.ON, {
|
|
55
|
+
readonly destructuring: "all";
|
|
56
|
+
}];
|
|
57
|
+
readonly "svelte/prefer-destructured-store-props": State.ON;
|
|
58
|
+
readonly "svelte/prefer-writable-derived": State.ON;
|
|
59
|
+
readonly "svelte/require-each-key": State.ON;
|
|
60
|
+
readonly "svelte/require-event-dispatcher-types": State.ON;
|
|
61
|
+
readonly "svelte/require-optimized-style-attribute": State.ON;
|
|
62
|
+
readonly "svelte/require-stores-init": State.ON;
|
|
63
|
+
readonly "svelte/valid-each-key": State.ON;
|
|
64
|
+
readonly "svelte/consistent-selector-style": readonly [State.ON, {
|
|
65
|
+
readonly checkGlobal: true;
|
|
66
|
+
}];
|
|
67
|
+
readonly "svelte/derived-has-same-inputs-outputs": State.ON;
|
|
68
|
+
readonly "svelte/first-attribute-linebreak": readonly [State.ON, {
|
|
69
|
+
readonly singleline: "below";
|
|
70
|
+
}];
|
|
71
|
+
readonly "svelte/html-closing-bracket-new-line": State.ON;
|
|
72
|
+
readonly "svelte/html-closing-bracket-spacing": readonly [State.ON, {
|
|
73
|
+
readonly selfClosingTag: "never";
|
|
74
|
+
}];
|
|
75
|
+
readonly "svelte/html-self-closing": State.ON;
|
|
76
|
+
readonly "svelte/indent": State.ON;
|
|
77
|
+
readonly "svelte/max-attributes-per-line": State.ON;
|
|
78
|
+
readonly "svelte/mustache-spacing": State.ON;
|
|
79
|
+
readonly "svelte/no-extra-reactive-curlies": State.ON;
|
|
80
|
+
readonly "svelte/no-spaces-around-equal-signs-in-attribute": State.ON;
|
|
81
|
+
readonly "svelte/prefer-class-directive": readonly [State.ON, {
|
|
82
|
+
readonly prefer: "empty";
|
|
83
|
+
}];
|
|
84
|
+
readonly "svelte/prefer-style-directive": State.ON;
|
|
85
|
+
readonly "svelte/require-event-prefix": State.ON;
|
|
86
|
+
readonly "svelte/shorthand-attribute": State.ON;
|
|
87
|
+
readonly "svelte/shorthand-directive": State.ON;
|
|
88
|
+
readonly "svelte/spaced-html-comment": State.ON;
|
|
89
|
+
readonly "svelte/no-export-load-in-svelte-module-in-kit-pages": State.ON;
|
|
90
|
+
readonly "svelte/no-navigation-without-resolve": State.ON;
|
|
91
|
+
readonly "svelte/valid-prop-names-in-kit-pages": State.ON;
|
|
92
|
+
readonly "svelte/comment-directive": State.ON;
|
|
93
|
+
readonly "svelte/system": State.ON;
|
|
119
94
|
};
|
|
120
95
|
} | {
|
|
121
96
|
rules: {
|
|
122
|
-
readonly "no-inner-declarations":
|
|
123
|
-
readonly "svelte/no-inner-declarations": readonly [
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
];
|
|
127
|
-
readonly "stylistic/no-trailing-spaces": import("../state.js").State.OFF;
|
|
128
|
-
readonly "svelte/no-trailing-spaces": import("../state.js").State.ON;
|
|
97
|
+
readonly "no-inner-declarations": State.OFF;
|
|
98
|
+
readonly "svelte/no-inner-declarations": readonly [State.ON, "both"];
|
|
99
|
+
readonly "stylistic/no-trailing-spaces": State.OFF;
|
|
100
|
+
readonly "svelte/no-trailing-spaces": State.ON;
|
|
129
101
|
};
|
|
130
102
|
})[];
|
|
131
103
|
export default _default;
|
|
132
|
-
//# sourceMappingURL=index.d.ts.map
|
|
104
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { State } from "../state.js";
|
|
2
1
|
declare const _default: {
|
|
3
2
|
rules: {
|
|
4
3
|
readonly "svelte/infinite-reactive-loop": State.ON;
|
|
@@ -22,17 +21,10 @@ declare const _default: {
|
|
|
22
21
|
readonly "svelte/valid-style-parse": State.ON;
|
|
23
22
|
readonly "svelte/no-at-html-tags": State.ON;
|
|
24
23
|
readonly "svelte/no-target-blank": State.ON;
|
|
25
|
-
readonly "svelte/block-lang": readonly [
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
"ts"
|
|
30
|
-
];
|
|
31
|
-
readonly style: readonly [
|
|
32
|
-
"css"
|
|
33
|
-
];
|
|
34
|
-
}
|
|
35
|
-
];
|
|
24
|
+
readonly "svelte/block-lang": readonly [State.ON, {
|
|
25
|
+
readonly script: readonly ["ts"];
|
|
26
|
+
readonly style: readonly ["css"];
|
|
27
|
+
}];
|
|
36
28
|
readonly "svelte/button-has-type": State.ON;
|
|
37
29
|
readonly "svelte/no-add-event-listener": State.ON;
|
|
38
30
|
readonly "svelte/no-at-debug-tags": State.ON;
|
|
@@ -43,21 +35,15 @@ declare const _default: {
|
|
|
43
35
|
readonly "svelte/no-reactive-literals": State.ON;
|
|
44
36
|
readonly "svelte/no-svelte-internal": State.ON;
|
|
45
37
|
readonly "svelte/no-unnecessary-state-wrap": State.ON;
|
|
46
|
-
readonly "svelte/no-unused-props": readonly [
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
readonly checkImportedTypes: true;
|
|
50
|
-
}
|
|
51
|
-
];
|
|
38
|
+
readonly "svelte/no-unused-props": readonly [State.ON, {
|
|
39
|
+
readonly checkImportedTypes: true;
|
|
40
|
+
}];
|
|
52
41
|
readonly "svelte/no-unused-svelte-ignore": State.ON;
|
|
53
42
|
readonly "svelte/no-useless-children-snippet": State.ON;
|
|
54
43
|
readonly "svelte/no-useless-mustaches": State.ON;
|
|
55
|
-
readonly "svelte/prefer-const": readonly [
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
readonly destructuring: "all";
|
|
59
|
-
}
|
|
60
|
-
];
|
|
44
|
+
readonly "svelte/prefer-const": readonly [State.ON, {
|
|
45
|
+
readonly destructuring: "all";
|
|
46
|
+
}];
|
|
61
47
|
readonly "svelte/prefer-destructured-store-props": State.ON;
|
|
62
48
|
readonly "svelte/prefer-writable-derived": State.ON;
|
|
63
49
|
readonly "svelte/require-each-key": State.ON;
|
|
@@ -65,38 +51,26 @@ declare const _default: {
|
|
|
65
51
|
readonly "svelte/require-optimized-style-attribute": State.ON;
|
|
66
52
|
readonly "svelte/require-stores-init": State.ON;
|
|
67
53
|
readonly "svelte/valid-each-key": State.ON;
|
|
68
|
-
readonly "svelte/consistent-selector-style": readonly [
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
readonly checkGlobal: true;
|
|
72
|
-
}
|
|
73
|
-
];
|
|
54
|
+
readonly "svelte/consistent-selector-style": readonly [State.ON, {
|
|
55
|
+
readonly checkGlobal: true;
|
|
56
|
+
}];
|
|
74
57
|
readonly "svelte/derived-has-same-inputs-outputs": State.ON;
|
|
75
|
-
readonly "svelte/first-attribute-linebreak": readonly [
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
readonly singleline: "below";
|
|
79
|
-
}
|
|
80
|
-
];
|
|
58
|
+
readonly "svelte/first-attribute-linebreak": readonly [State.ON, {
|
|
59
|
+
readonly singleline: "below";
|
|
60
|
+
}];
|
|
81
61
|
readonly "svelte/html-closing-bracket-new-line": State.ON;
|
|
82
|
-
readonly "svelte/html-closing-bracket-spacing": readonly [
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
readonly selfClosingTag: "never";
|
|
86
|
-
}
|
|
87
|
-
];
|
|
62
|
+
readonly "svelte/html-closing-bracket-spacing": readonly [State.ON, {
|
|
63
|
+
readonly selfClosingTag: "never";
|
|
64
|
+
}];
|
|
88
65
|
readonly "svelte/html-self-closing": State.ON;
|
|
89
66
|
readonly "svelte/indent": State.ON;
|
|
90
67
|
readonly "svelte/max-attributes-per-line": State.ON;
|
|
91
68
|
readonly "svelte/mustache-spacing": State.ON;
|
|
92
69
|
readonly "svelte/no-extra-reactive-curlies": State.ON;
|
|
93
70
|
readonly "svelte/no-spaces-around-equal-signs-in-attribute": State.ON;
|
|
94
|
-
readonly "svelte/prefer-class-directive": readonly [
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
readonly prefer: "empty";
|
|
98
|
-
}
|
|
99
|
-
];
|
|
71
|
+
readonly "svelte/prefer-class-directive": readonly [State.ON, {
|
|
72
|
+
readonly prefer: "empty";
|
|
73
|
+
}];
|
|
100
74
|
readonly "svelte/prefer-style-directive": State.ON;
|
|
101
75
|
readonly "svelte/require-event-prefix": State.ON;
|
|
102
76
|
readonly "svelte/shorthand-attribute": State.ON;
|
|
@@ -110,4 +84,4 @@ declare const _default: {
|
|
|
110
84
|
};
|
|
111
85
|
};
|
|
112
86
|
export default _default;
|
|
113
|
-
//# sourceMappingURL=svelte.d.ts.map
|
|
87
|
+
//# sourceMappingURL=svelte.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"svelte.d.ts","sourceRoot":"","sources":["../../../src/rules/svelte/svelte.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"svelte.d.ts","sourceRoot":"","sources":["../../../src/rules/svelte/svelte.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,wBAoIE"}
|