linted 22.0.0-rc.3 → 22.0.1
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/{imports/index.d.ts → imports.d.ts} +1 -1
- package/dist/imports.d.ts.map +1 -0
- package/dist/imports.js +7 -0
- package/dist/imports.js.map +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +5 -13
- package/dist/index.js.map +1 -1
- package/dist/{imports/parsers.d.ts → parsers/index.d.ts} +1 -1
- package/dist/parsers/index.d.ts.map +1 -0
- package/dist/{imports/parsers.js → parsers/index.js} +1 -1
- package/dist/parsers/index.js.map +1 -0
- package/dist/{imports/plugins.d.ts → plugins/index.d.ts} +1 -1
- package/dist/plugins/index.d.ts.map +1 -0
- package/dist/{imports/plugins.js → plugins/index.js} +1 -1
- package/dist/plugins/index.js.map +1 -0
- package/package.json +2 -1
- package/src/index.ts +10 -18
- package/dist/_strings/id.d.ts +0 -2
- package/dist/_strings/id.d.ts.map +0 -1
- package/dist/_strings/id.js +0 -2
- package/dist/_strings/id.js.map +0 -1
- package/dist/_strings/index.d.ts +0 -7
- package/dist/_strings/index.d.ts.map +0 -1
- package/dist/_strings/index.js +0 -7
- package/dist/_strings/index.js.map +0 -1
- package/dist/_strings/level.d.ts +0 -2
- package/dist/_strings/level.d.ts.map +0 -1
- package/dist/_strings/level.js +0 -2
- package/dist/_strings/level.js.map +0 -1
- package/dist/_strings/level.spec.d.ts +0 -2
- package/dist/_strings/level.spec.d.ts.map +0 -1
- package/dist/_strings/level.spec.js +0 -31
- package/dist/_strings/level.spec.js.map +0 -1
- package/dist/_strings/state.d.ts +0 -2
- package/dist/_strings/state.d.ts.map +0 -1
- package/dist/_strings/state.js +0 -2
- package/dist/_strings/state.js.map +0 -1
- package/dist/files/index.d.ts +0 -13
- package/dist/files/index.d.ts.map +0 -1
- package/dist/files/index.js +0 -20
- package/dist/files/index.js.map +0 -1
- package/dist/files/scopes/html.d.ts +0 -3
- package/dist/files/scopes/html.d.ts.map +0 -1
- package/dist/files/scopes/html.js +0 -2
- package/dist/files/scopes/html.js.map +0 -1
- package/dist/files/scopes/js.d.ts +0 -3
- package/dist/files/scopes/js.d.ts.map +0 -1
- package/dist/files/scopes/js.js +0 -5
- package/dist/files/scopes/js.js.map +0 -1
- package/dist/files/scopes/json.d.ts +0 -3
- package/dist/files/scopes/json.d.ts.map +0 -1
- package/dist/files/scopes/json.js +0 -2
- package/dist/files/scopes/json.js.map +0 -1
- package/dist/files/scopes/jsonc.d.ts +0 -3
- package/dist/files/scopes/jsonc.d.ts.map +0 -1
- package/dist/files/scopes/jsonc.js +0 -6
- package/dist/files/scopes/jsonc.js.map +0 -1
- package/dist/files/scopes/mocha.d.ts +0 -3
- package/dist/files/scopes/mocha.d.ts.map +0 -1
- package/dist/files/scopes/mocha.js +0 -5
- package/dist/files/scopes/mocha.js.map +0 -1
- package/dist/files/scopes/svelte.d.ts +0 -3
- package/dist/files/scopes/svelte.d.ts.map +0 -1
- package/dist/files/scopes/svelte.js +0 -2
- package/dist/files/scopes/svelte.js.map +0 -1
- package/dist/files/scopes/ts.d.ts +0 -3
- package/dist/files/scopes/ts.d.ts.map +0 -1
- package/dist/files/scopes/ts.js +0 -2
- package/dist/files/scopes/ts.js.map +0 -1
- package/dist/files/scopes/yml.d.ts +0 -3
- package/dist/files/scopes/yml.d.ts.map +0 -1
- package/dist/files/scopes/yml.js +0 -2
- package/dist/files/scopes/yml.js.map +0 -1
- package/dist/ignores/index.d.ts +0 -13
- package/dist/ignores/index.d.ts.map +0 -1
- package/dist/ignores/index.js +0 -29
- package/dist/ignores/index.js.map +0 -1
- package/dist/ignores/scopes/html.d.ts +0 -3
- package/dist/ignores/scopes/html.d.ts.map +0 -1
- package/dist/ignores/scopes/html.js +0 -2
- package/dist/ignores/scopes/html.js.map +0 -1
- package/dist/ignores/scopes/js.d.ts +0 -3
- package/dist/ignores/scopes/js.d.ts.map +0 -1
- package/dist/ignores/scopes/js.js +0 -2
- package/dist/ignores/scopes/js.js.map +0 -1
- package/dist/ignores/scopes/json.d.ts +0 -3
- package/dist/ignores/scopes/json.d.ts.map +0 -1
- package/dist/ignores/scopes/json.js +0 -2
- package/dist/ignores/scopes/json.js.map +0 -1
- package/dist/ignores/scopes/jsonc.d.ts +0 -3
- package/dist/ignores/scopes/jsonc.d.ts.map +0 -1
- package/dist/ignores/scopes/jsonc.js +0 -2
- package/dist/ignores/scopes/jsonc.js.map +0 -1
- package/dist/ignores/scopes/mocha.d.ts +0 -3
- package/dist/ignores/scopes/mocha.d.ts.map +0 -1
- package/dist/ignores/scopes/mocha.js +0 -2
- package/dist/ignores/scopes/mocha.js.map +0 -1
- package/dist/ignores/scopes/svelte.d.ts +0 -3
- package/dist/ignores/scopes/svelte.d.ts.map +0 -1
- package/dist/ignores/scopes/svelte.js +0 -2
- package/dist/ignores/scopes/svelte.js.map +0 -1
- package/dist/ignores/scopes/ts.d.ts +0 -3
- package/dist/ignores/scopes/ts.d.ts.map +0 -1
- package/dist/ignores/scopes/ts.js +0 -2
- package/dist/ignores/scopes/ts.js.map +0 -1
- package/dist/ignores/scopes/yml.d.ts +0 -3
- package/dist/ignores/scopes/yml.d.ts.map +0 -1
- package/dist/ignores/scopes/yml.js +0 -2
- package/dist/ignores/scopes/yml.js.map +0 -1
- package/dist/imports/index.d.ts.map +0 -1
- package/dist/imports/index.js +0 -7
- package/dist/imports/index.js.map +0 -1
- package/dist/imports/parsers.d.ts.map +0 -1
- package/dist/imports/parsers.js.map +0 -1
- package/dist/imports/plugins.d.ts.map +0 -1
- package/dist/imports/plugins.js.map +0 -1
- package/dist/rules/html/enable.d.ts +0 -3
- package/dist/rules/html/enable.d.ts.map +0 -1
- package/dist/rules/html/enable.js +0 -94
- package/dist/rules/html/enable.js.map +0 -1
- package/dist/rules/html/index.d.ts +0 -3
- package/dist/rules/html/index.d.ts.map +0 -1
- package/dist/rules/html/index.js +0 -3
- package/dist/rules/html/index.js.map +0 -1
- package/dist/rules/index.d.ts +0 -4563
- package/dist/rules/index.d.ts.map +0 -1
- package/dist/rules/index.js +0 -19
- package/dist/rules/index.js.map +0 -1
- package/dist/rules/js/enable.d.ts +0 -348
- package/dist/rules/js/enable.d.ts.map +0 -1
- package/dist/rules/js/enable.js +0 -519
- package/dist/rules/js/enable.js.map +0 -1
- package/dist/rules/js/index.d.ts +0 -766
- package/dist/rules/js/index.d.ts.map +0 -1
- package/dist/rules/js/index.js +0 -7
- package/dist/rules/js/index.js.map +0 -1
- package/dist/rules/js/stylistic.d.ts +0 -421
- package/dist/rules/js/stylistic.d.ts.map +0 -1
- package/dist/rules/js/stylistic.js +0 -641
- package/dist/rules/js/stylistic.js.map +0 -1
- package/dist/rules/json/enable.d.ts +0 -27
- package/dist/rules/json/enable.d.ts.map +0 -1
- package/dist/rules/json/enable.js +0 -30
- package/dist/rules/json/enable.js.map +0 -1
- package/dist/rules/json/enable_x.d.ts +0 -50
- package/dist/rules/json/enable_x.d.ts.map +0 -1
- package/dist/rules/json/enable_x.js +0 -80
- package/dist/rules/json/enable_x.js.map +0 -1
- package/dist/rules/json/index.d.ts +0 -74
- package/dist/rules/json/index.d.ts.map +0 -1
- package/dist/rules/json/index.js +0 -7
- package/dist/rules/json/index.js.map +0 -1
- package/dist/rules/jsonc/index.d.ts +0 -77
- package/dist/rules/jsonc/index.d.ts.map +0 -1
- package/dist/rules/jsonc/index.js +0 -7
- package/dist/rules/jsonc/index.js.map +0 -1
- package/dist/rules/jsonc/override.d.ts +0 -6
- package/dist/rules/jsonc/override.d.ts.map +0 -1
- package/dist/rules/jsonc/override.js +0 -12
- package/dist/rules/jsonc/override.js.map +0 -1
- package/dist/rules/mocha/disable.d.ts +0 -5
- package/dist/rules/mocha/disable.d.ts.map +0 -1
- package/dist/rules/mocha/disable.js +0 -8
- package/dist/rules/mocha/disable.js.map +0 -1
- package/dist/rules/mocha/enable.d.ts +0 -35
- package/dist/rules/mocha/enable.d.ts.map +0 -1
- package/dist/rules/mocha/enable.js +0 -47
- package/dist/rules/mocha/enable.js.map +0 -1
- package/dist/rules/mocha/index.d.ts +0 -1171
- package/dist/rules/mocha/index.d.ts.map +0 -1
- package/dist/rules/mocha/index.js +0 -9
- package/dist/rules/mocha/index.js.map +0 -1
- package/dist/rules/svelte/disable.d.ts +0 -5
- package/dist/rules/svelte/disable.d.ts.map +0 -1
- package/dist/rules/svelte/disable.js +0 -8
- package/dist/rules/svelte/disable.js.map +0 -1
- package/dist/rules/svelte/disable_js.d.ts +0 -6
- package/dist/rules/svelte/disable_js.d.ts.map +0 -1
- package/dist/rules/svelte/disable_js.js +0 -9
- package/dist/rules/svelte/disable_js.js.map +0 -1
- package/dist/rules/svelte/disable_ts.d.ts +0 -6
- package/dist/rules/svelte/disable_ts.d.ts.map +0 -1
- package/dist/rules/svelte/disable_ts.js +0 -9
- package/dist/rules/svelte/disable_ts.js.map +0 -1
- package/dist/rules/svelte/enable.d.ts +0 -127
- package/dist/rules/svelte/enable.d.ts.map +0 -1
- package/dist/rules/svelte/enable.js +0 -193
- package/dist/rules/svelte/enable.js.map +0 -1
- package/dist/rules/svelte/enable_x.d.ts +0 -8
- package/dist/rules/svelte/enable_x.d.ts.map +0 -1
- package/dist/rules/svelte/enable_x.js +0 -15
- package/dist/rules/svelte/enable_x.js.map +0 -1
- package/dist/rules/svelte/index.d.ts +0 -1274
- package/dist/rules/svelte/index.d.ts.map +0 -1
- package/dist/rules/svelte/index.js +0 -15
- package/dist/rules/svelte/index.js.map +0 -1
- package/dist/rules/ts/disable.d.ts +0 -18
- package/dist/rules/ts/disable.d.ts.map +0 -1
- package/dist/rules/ts/disable.js +0 -21
- package/dist/rules/ts/disable.js.map +0 -1
- package/dist/rules/ts/disable_x.d.ts +0 -28
- package/dist/rules/ts/disable_x.d.ts.map +0 -1
- package/dist/rules/ts/disable_x.js +0 -31
- package/dist/rules/ts/disable_x.js.map +0 -1
- package/dist/rules/ts/enable.d.ts +0 -265
- package/dist/rules/ts/enable.d.ts.map +0 -1
- package/dist/rules/ts/enable.js +0 -520
- package/dist/rules/ts/enable.js.map +0 -1
- package/dist/rules/ts/enable_x.d.ts +0 -72
- package/dist/rules/ts/enable_x.d.ts.map +0 -1
- package/dist/rules/ts/enable_x.js +0 -108
- package/dist/rules/ts/enable_x.js.map +0 -1
- package/dist/rules/ts/index.d.ts +0 -1137
- package/dist/rules/ts/index.d.ts.map +0 -1
- package/dist/rules/ts/index.js +0 -13
- package/dist/rules/ts/index.js.map +0 -1
- package/dist/rules/yml/enable.d.ts +0 -39
- package/dist/rules/yml/enable.d.ts.map +0 -1
- package/dist/rules/yml/enable.js +0 -68
- package/dist/rules/yml/enable.js.map +0 -1
- package/dist/rules/yml/enable_x.d.ts +0 -37
- package/dist/rules/yml/enable_x.d.ts.map +0 -1
- package/dist/rules/yml/enable_x.js +0 -66
- package/dist/rules/yml/enable_x.js.map +0 -1
- package/dist/rules/yml/index.d.ts +0 -73
- package/dist/rules/yml/index.d.ts.map +0 -1
- package/dist/rules/yml/index.js +0 -7
- package/dist/rules/yml/index.js.map +0 -1
- package/dist/settings.d.ts +0 -7
- package/dist/settings.d.ts.map +0 -1
- package/dist/settings.js +0 -7
- package/dist/settings.js.map +0 -1
- package/src/_strings/id.ts +0 -8
- package/src/_strings/index.ts +0 -6
- package/src/_strings/level.spec.ts +0 -31
- package/src/_strings/level.ts +0 -4
- package/src/_strings/state.ts +0 -28
- package/src/files/index.ts +0 -20
- package/src/files/scopes/html.ts +0 -1
- package/src/files/scopes/js.ts +0 -4
- package/src/files/scopes/json.ts +0 -1
- package/src/files/scopes/jsonc.ts +0 -5
- package/src/files/scopes/mocha.ts +0 -4
- package/src/files/scopes/svelte.ts +0 -1
- package/src/files/scopes/ts.ts +0 -1
- package/src/files/scopes/yml.ts +0 -1
- package/src/ignores/index.ts +0 -31
- package/src/ignores/scopes/html.ts +0 -1
- package/src/ignores/scopes/js.ts +0 -1
- package/src/ignores/scopes/json.ts +0 -1
- package/src/ignores/scopes/jsonc.ts +0 -1
- package/src/ignores/scopes/mocha.ts +0 -1
- package/src/ignores/scopes/svelte.ts +0 -1
- package/src/ignores/scopes/ts.ts +0 -1
- package/src/ignores/scopes/yml.ts +0 -1
- package/src/rules/html/enable.ts +0 -121
- package/src/rules/html/index.ts +0 -3
- package/src/rules/index.ts +0 -19
- package/src/rules/js/enable.ts +0 -547
- package/src/rules/js/index.ts +0 -7
- package/src/rules/js/stylistic.ts +0 -664
- package/src/rules/json/enable.ts +0 -35
- package/src/rules/json/enable_x.ts +0 -91
- package/src/rules/json/index.ts +0 -7
- package/src/rules/jsonc/index.ts +0 -7
- package/src/rules/jsonc/override.ts +0 -18
- package/src/rules/mocha/disable.ts +0 -11
- package/src/rules/mocha/enable.ts +0 -53
- package/src/rules/mocha/index.ts +0 -9
- package/src/rules/svelte/disable.ts +0 -12
- package/src/rules/svelte/disable_js.ts +0 -11
- package/src/rules/svelte/disable_ts.ts +0 -9
- package/src/rules/svelte/enable.ts +0 -232
- package/src/rules/svelte/enable_x.ts +0 -22
- package/src/rules/svelte/index.ts +0 -15
- package/src/rules/ts/disable.ts +0 -25
- package/src/rules/ts/disable_x.ts +0 -35
- package/src/rules/ts/enable.ts +0 -569
- package/src/rules/ts/enable_x.ts +0 -117
- package/src/rules/ts/index.ts +0 -13
- package/src/rules/yml/enable.ts +0 -76
- package/src/rules/yml/enable_x.ts +0 -73
- package/src/rules/yml/index.ts +0 -7
- package/src/settings.ts +0 -6
- /package/src/{imports/index.ts → imports.ts} +0 -0
- /package/src/{imports/parsers.ts → parsers/index.ts} +0 -0
- /package/src/{imports/plugins.ts → plugins/index.ts} +0 -0
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/rules/mocha/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/rules/mocha/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,OAAO,CAAC;AACvB,OAAO,OAAO,MAAM,WAAW,CAAC;AAChC,OAAO,MAAM,MAAM,UAAU,CAAC;AAE9B,eAAe;IACb,GAAG,EAAE;IACL,OAAO;IACP,MAAM;CACP,CAAC"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"disable.d.ts","sourceRoot":"","sources":["../../../src/rules/svelte/disable.ts"],"names":[],"mappings":";;;AAKA,wBAMW"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"disable.js","sourceRoot":"","sources":["../../../src/rules/svelte/disable.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,OAAO,EACP,GAAG,GACJ,MAAM,gBAAgB,CAAC;AAExB,eAAe;IACb,OAAO;IACP;QAEE,uBAAuB,EAAE,GAAG;KAC7B;CACO,CAAC"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"disable_js.d.ts","sourceRoot":"","sources":["../../../src/rules/svelte/disable_js.ts"],"names":[],"mappings":";;;;AAEA,wBAQW"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"disable_js.js","sourceRoot":"","sources":["../../../src/rules/svelte/disable_js.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,gBAAgB,CAAC;AAErC,eAAe;IACb,YAAY;IACZ;QAGE,uBAAuB,EAAE,GAAG;QAC5B,gBAAgB,EAAE,GAAG;KACtB;CACO,CAAC"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"disable_ts.d.ts","sourceRoot":"","sources":["../../../src/rules/svelte/disable_ts.ts"],"names":[],"mappings":";;;;AAEA,wBAMW"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"disable_ts.js","sourceRoot":"","sources":["../../../src/rules/svelte/disable_ts.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,gBAAgB,CAAC;AAErC,eAAe;IACb,YAAY;IACZ;QACE,gBAAgB,EAAE,GAAG;QACrB,mCAAmC,EAAE,GAAG;KACzC;CACO,CAAC"}
|
@@ -1,127 +0,0 @@
|
|
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 foreign: "always";
|
83
|
-
readonly component: "always";
|
84
|
-
readonly svelte: "always";
|
85
|
-
readonly normal: "ignore";
|
86
|
-
}];
|
87
|
-
readonly "svelte/indent": readonly ["error", {
|
88
|
-
readonly indent: 2;
|
89
|
-
readonly switchCase: 1;
|
90
|
-
readonly alignAttributesVertically: true;
|
91
|
-
}];
|
92
|
-
readonly "svelte/max-attributes-per-line": readonly ["error", {
|
93
|
-
readonly multiline: 1;
|
94
|
-
readonly singleline: 1;
|
95
|
-
}];
|
96
|
-
readonly "svelte/mustache-spacing": readonly ["error", {
|
97
|
-
readonly textExpressions: "never";
|
98
|
-
readonly attributesAndProps: "never";
|
99
|
-
readonly directiveExpressions: "never";
|
100
|
-
readonly tags: {
|
101
|
-
readonly openingBrace: "never";
|
102
|
-
readonly closingBrace: "never";
|
103
|
-
};
|
104
|
-
}];
|
105
|
-
readonly "svelte/no-extra-reactive-curlies": "error";
|
106
|
-
readonly "svelte/no-restricted-html-elements": "off";
|
107
|
-
readonly "svelte/no-spaces-around-equal-signs-in-attribute": "error";
|
108
|
-
readonly "svelte/prefer-class-directive": readonly ["error", {
|
109
|
-
readonly prefer: "empty";
|
110
|
-
}];
|
111
|
-
readonly "svelte/prefer-style-directive": "error";
|
112
|
-
readonly "svelte/shorthand-attribute": readonly ["error", {
|
113
|
-
readonly prefer: "always";
|
114
|
-
}];
|
115
|
-
readonly "svelte/shorthand-directive": readonly ["error", {
|
116
|
-
readonly prefer: "always";
|
117
|
-
}];
|
118
|
-
readonly "svelte/sort-attributes": "off";
|
119
|
-
readonly "svelte/spaced-html-comment": readonly ["error", "always"];
|
120
|
-
readonly "svelte/no-goto-without-base": "error";
|
121
|
-
readonly "svelte/comment-directive": readonly ["error", {
|
122
|
-
readonly reportUnusedDisableDirectives: true;
|
123
|
-
}];
|
124
|
-
readonly "svelte/system": "error";
|
125
|
-
}];
|
126
|
-
export default _default;
|
127
|
-
//# sourceMappingURL=enable.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"enable.d.ts","sourceRoot":"","sources":["../../../src/rules/svelte/enable.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAWA,wBA4NW"}
|
@@ -1,193 +0,0 @@
|
|
1
|
-
import { enable, ERROR, OFF, Ignore, Never, Always, Below, Double, } from "../../_strings/index.js";
|
2
|
-
export default [
|
3
|
-
enable,
|
4
|
-
{
|
5
|
-
"svelte/infinite-reactive-loop": ERROR,
|
6
|
-
"svelte/no-dom-manipulating": ERROR,
|
7
|
-
"svelte/no-dupe-else-if-blocks": ERROR,
|
8
|
-
"svelte/no-dupe-on-directives": ERROR,
|
9
|
-
"svelte/no-dupe-style-properties": ERROR,
|
10
|
-
"svelte/no-dupe-use-directives": ERROR,
|
11
|
-
"svelte/no-dynamic-slot-name": ERROR,
|
12
|
-
"svelte/no-export-load-in-svelte-module-in-kit-pages": ERROR,
|
13
|
-
"svelte/no-not-function-handler": ERROR,
|
14
|
-
"svelte/no-object-in-text-mustaches": ERROR,
|
15
|
-
"svelte/no-reactive-reassign": [
|
16
|
-
ERROR,
|
17
|
-
{
|
18
|
-
props: true,
|
19
|
-
},
|
20
|
-
],
|
21
|
-
"svelte/no-shorthand-style-property-overrides": ERROR,
|
22
|
-
"svelte/no-store-async": ERROR,
|
23
|
-
"svelte/no-unknown-style-directive-property": [
|
24
|
-
ERROR,
|
25
|
-
{
|
26
|
-
ignorePrefixed: true,
|
27
|
-
},
|
28
|
-
],
|
29
|
-
"svelte/require-store-callbacks-use-set-param": ERROR,
|
30
|
-
"svelte/require-store-reactive-access": ERROR,
|
31
|
-
"svelte/valid-compile": [
|
32
|
-
ERROR,
|
33
|
-
{
|
34
|
-
ignoreWarnings: false,
|
35
|
-
},
|
36
|
-
],
|
37
|
-
"svelte/valid-prop-names-in-kit-pages": ERROR,
|
38
|
-
"svelte/no-at-html-tags": ERROR,
|
39
|
-
"svelte/no-target-blank": [
|
40
|
-
ERROR,
|
41
|
-
{
|
42
|
-
allowReferrer: false,
|
43
|
-
enforceDynamicLinks: Always,
|
44
|
-
},
|
45
|
-
],
|
46
|
-
"svelte/block-lang": [
|
47
|
-
ERROR,
|
48
|
-
{
|
49
|
-
enforceScriptPresent: true,
|
50
|
-
enforceStylePresent: false,
|
51
|
-
script: ["ts"],
|
52
|
-
style: [
|
53
|
-
"css",
|
54
|
-
"scss",
|
55
|
-
],
|
56
|
-
},
|
57
|
-
],
|
58
|
-
"svelte/button-has-type": [
|
59
|
-
ERROR,
|
60
|
-
{
|
61
|
-
button: true,
|
62
|
-
submit: true,
|
63
|
-
reset: true,
|
64
|
-
},
|
65
|
-
],
|
66
|
-
"svelte/no-at-debug-tags": ERROR,
|
67
|
-
"svelte/no-ignored-unsubscribe": ERROR,
|
68
|
-
"svelte/no-immutable-reactive-statements": ERROR,
|
69
|
-
"svelte/no-inline-styles": [
|
70
|
-
ERROR,
|
71
|
-
{
|
72
|
-
allowTransitions: false,
|
73
|
-
},
|
74
|
-
],
|
75
|
-
"svelte/no-reactive-functions": ERROR,
|
76
|
-
"svelte/no-reactive-literals": ERROR,
|
77
|
-
"svelte/no-svelte-internal": ERROR,
|
78
|
-
"svelte/no-unused-class-name": ERROR,
|
79
|
-
"svelte/no-unused-svelte-ignore": ERROR,
|
80
|
-
"svelte/no-useless-mustaches": [
|
81
|
-
ERROR,
|
82
|
-
{
|
83
|
-
ignoreIncludesComment: false,
|
84
|
-
ignoreStringEscape: false,
|
85
|
-
},
|
86
|
-
],
|
87
|
-
"svelte/prefer-destructured-store-props": ERROR,
|
88
|
-
"svelte/require-each-key": ERROR,
|
89
|
-
"svelte/require-event-dispatcher-types": ERROR,
|
90
|
-
"svelte/require-optimized-style-attribute": ERROR,
|
91
|
-
"svelte/require-stores-init": ERROR,
|
92
|
-
"svelte/valid-each-key": ERROR,
|
93
|
-
"svelte/derived-has-same-inputs-outputs": ERROR,
|
94
|
-
"svelte/first-attribute-linebreak": [
|
95
|
-
ERROR,
|
96
|
-
{
|
97
|
-
multiline: Below,
|
98
|
-
singleline: Below,
|
99
|
-
},
|
100
|
-
],
|
101
|
-
"svelte/html-closing-bracket-spacing": [
|
102
|
-
ERROR,
|
103
|
-
{
|
104
|
-
startTag: Never,
|
105
|
-
endTag: Never,
|
106
|
-
selfClosingTag: Always,
|
107
|
-
},
|
108
|
-
],
|
109
|
-
"svelte/html-quotes": [
|
110
|
-
ERROR,
|
111
|
-
{
|
112
|
-
prefer: Double,
|
113
|
-
dynamic: {
|
114
|
-
quoted: false,
|
115
|
-
avoidInvalidUnquotedInHTML: true,
|
116
|
-
},
|
117
|
-
},
|
118
|
-
],
|
119
|
-
"svelte/html-self-closing": [
|
120
|
-
ERROR,
|
121
|
-
{
|
122
|
-
"void": Always,
|
123
|
-
foreign: Always,
|
124
|
-
component: Always,
|
125
|
-
svelte: Always,
|
126
|
-
normal: Ignore,
|
127
|
-
},
|
128
|
-
],
|
129
|
-
"svelte/indent": [
|
130
|
-
ERROR,
|
131
|
-
{
|
132
|
-
indent: 2,
|
133
|
-
switchCase: 1,
|
134
|
-
alignAttributesVertically: true,
|
135
|
-
},
|
136
|
-
],
|
137
|
-
"svelte/max-attributes-per-line": [
|
138
|
-
ERROR,
|
139
|
-
{
|
140
|
-
multiline: 1,
|
141
|
-
singleline: 1,
|
142
|
-
},
|
143
|
-
],
|
144
|
-
"svelte/mustache-spacing": [
|
145
|
-
ERROR,
|
146
|
-
{
|
147
|
-
textExpressions: Never,
|
148
|
-
attributesAndProps: Never,
|
149
|
-
directiveExpressions: Never,
|
150
|
-
tags: {
|
151
|
-
openingBrace: Never,
|
152
|
-
closingBrace: Never,
|
153
|
-
},
|
154
|
-
},
|
155
|
-
],
|
156
|
-
"svelte/no-extra-reactive-curlies": ERROR,
|
157
|
-
"svelte/no-restricted-html-elements": OFF,
|
158
|
-
"svelte/no-spaces-around-equal-signs-in-attribute": ERROR,
|
159
|
-
"svelte/prefer-class-directive": [
|
160
|
-
ERROR,
|
161
|
-
{
|
162
|
-
prefer: "empty",
|
163
|
-
},
|
164
|
-
],
|
165
|
-
"svelte/prefer-style-directive": ERROR,
|
166
|
-
"svelte/shorthand-attribute": [
|
167
|
-
ERROR,
|
168
|
-
{
|
169
|
-
prefer: Always,
|
170
|
-
},
|
171
|
-
],
|
172
|
-
"svelte/shorthand-directive": [
|
173
|
-
ERROR,
|
174
|
-
{
|
175
|
-
prefer: Always,
|
176
|
-
},
|
177
|
-
],
|
178
|
-
"svelte/sort-attributes": OFF,
|
179
|
-
"svelte/spaced-html-comment": [
|
180
|
-
ERROR,
|
181
|
-
Always,
|
182
|
-
],
|
183
|
-
"svelte/no-goto-without-base": ERROR,
|
184
|
-
"svelte/comment-directive": [
|
185
|
-
ERROR,
|
186
|
-
{
|
187
|
-
reportUnusedDisableDirectives: true,
|
188
|
-
},
|
189
|
-
],
|
190
|
-
"svelte/system": ERROR,
|
191
|
-
},
|
192
|
-
];
|
193
|
-
//# sourceMappingURL=enable.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"enable.js","sourceRoot":"","sources":["../../../src/rules/svelte/enable.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,MAAM,EACN,KAAK,EACL,GAAG,EACH,MAAM,EACN,KAAK,EACL,MAAM,EACN,KAAK,EACL,MAAM,GACP,MAAM,gBAAgB,CAAC;AAExB,eAAe;IACb,MAAM;IACN;QAGE,+BAA+B,EAAE,KAAK;QACtC,4BAA4B,EAAE,KAAK;Q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BACJ,YAAY,EAAE,KAAK;oBACnB,YAAY,EAAE,KAAK;iBACpB;aACF;SACF;QACD,kCAAkC,EAAE,KAAK;QACzC,oCAAoC,EAAE,GAAG;QACzC,kDAAkD,EAAE,KAAK;QACzD,+BAA+B,EAAE;YAC/B,KAAK;YACL;gBACE,MAAM,EAAE,OAAO;aAChB;SACF;QACD,+BAA+B,EAAE,KAAK;QACtC,4BAA4B,EAAE;YAC5B,KAAK;YACL;gBACE,MAAM,EAAE,MAAM;aACf;SACF;QACD,4BAA4B,EAAE;YAC5B,KAAK;YACL;gBACE,MAAM,EAAE,MAAM;aACf;SACF;QACD,wBAAwB,EAAE,GAAG;QAC7B,4BAA4B,EAAE;YAC5B,KAAK;YACL,MAAM;SACP;QAMD,6BAA6B,EAAE,KAAK;QAMpC,0BAA0B,EAAE;YAC1B,KAAK;YACL;gBACE,6BAA6B,EAAE,IAAI;aACpC;SACF;QACD,eAAe,EAAE,KAAK;KAIvB;CACO,CAAC"}
|
@@ -1,8 +0,0 @@
|
|
1
|
-
declare const _default: readonly ["enable-extend", {
|
2
|
-
readonly "svelte/no-inner-declarations": readonly ["error", "both", {
|
3
|
-
readonly blockScopedFunctions: "allow";
|
4
|
-
}];
|
5
|
-
readonly "svelte/no-trailing-spaces": "off";
|
6
|
-
}];
|
7
|
-
export default _default;
|
8
|
-
//# sourceMappingURL=enable_x.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"enable_x.d.ts","sourceRoot":"","sources":["../../../src/rules/svelte/enable_x.ts"],"names":[],"mappings":";;;;;;AAQA,wBAaW"}
|
@@ -1,15 +0,0 @@
|
|
1
|
-
import { enable_x, ERROR, OFF, Allow, Both, } from "../../_strings/index.js";
|
2
|
-
export default [
|
3
|
-
enable_x,
|
4
|
-
{
|
5
|
-
"svelte/no-inner-declarations": [
|
6
|
-
ERROR,
|
7
|
-
Both,
|
8
|
-
{
|
9
|
-
blockScopedFunctions: Allow,
|
10
|
-
},
|
11
|
-
],
|
12
|
-
"svelte/no-trailing-spaces": OFF,
|
13
|
-
},
|
14
|
-
];
|
15
|
-
//# sourceMappingURL=enable_x.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"enable_x.js","sourceRoot":"","sources":["../../../src/rules/svelte/enable_x.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EACR,KAAK,EACL,GAAG,EACH,KAAK,EACL,IAAI,GACL,MAAM,gBAAgB,CAAC;AAExB,eAAe;IACb,QAAQ;IACR;QAEE,8BAA8B,EAAE;YAC9B,KAAK;YACL,IAAI;YACJ;gBACE,oBAAoB,EAAE,KAAK;aAC5B;SACF;QACD,2BAA2B,EAAE,GAAG;KACjC;CACO,CAAC"}
|