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/ts/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAMA,wBAME"}
|
package/dist/rules/ts/index.js
DELETED
@@ -1,13 +0,0 @@
|
|
1
|
-
import js from "../js/index.js";
|
2
|
-
import disable from "./disable.js";
|
3
|
-
import disable_x from "./disable_x.js";
|
4
|
-
import enable_x from "./enable_x.js";
|
5
|
-
import enable from "./enable.js";
|
6
|
-
export default [
|
7
|
-
...js,
|
8
|
-
disable,
|
9
|
-
disable_x,
|
10
|
-
enable_x,
|
11
|
-
enable,
|
12
|
-
];
|
13
|
-
//# sourceMappingURL=index.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/rules/ts/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,OAAO,CAAC;AACvB,OAAO,OAAO,MAAM,WAAW,CAAC;AAChC,OAAO,SAAS,MAAM,aAAa,CAAC;AACpC,OAAO,QAAQ,MAAM,YAAY,CAAC;AAClC,OAAO,MAAM,MAAM,UAAU,CAAC;AAE9B,eAAe;IACb,GAAG,EAAE;IACL,OAAO;IACP,SAAS;IACT,QAAQ;IACR,MAAM;CACP,CAAC"}
|
@@ -1,39 +0,0 @@
|
|
1
|
-
declare const _default: readonly ["enable", {
|
2
|
-
readonly "yml/block-mapping-colon-indicator-newline": readonly ["error", "never"];
|
3
|
-
readonly "yml/block-mapping-question-indicator-newline": readonly ["error", "never"];
|
4
|
-
readonly "yml/block-mapping": readonly ["error", {
|
5
|
-
readonly singleline: "never";
|
6
|
-
readonly multiline: "always";
|
7
|
-
}];
|
8
|
-
readonly "yml/block-sequence-hyphen-indicator-newline": readonly ["error", "never", {
|
9
|
-
readonly nestedHyphen: "always";
|
10
|
-
readonly blockMapping: "never";
|
11
|
-
}];
|
12
|
-
readonly "yml/block-sequence": readonly ["error", {
|
13
|
-
readonly singleline: "always";
|
14
|
-
readonly multiline: "always";
|
15
|
-
}];
|
16
|
-
readonly "yml/file-extension": "off";
|
17
|
-
readonly "yml/indent": readonly ["error", 2, {
|
18
|
-
readonly indentBlockSequences: true;
|
19
|
-
readonly indicatorValueIndent: 2;
|
20
|
-
}];
|
21
|
-
readonly "yml/key-name-casing": "off";
|
22
|
-
readonly "yml/no-empty-document": "error";
|
23
|
-
readonly "yml/no-empty-key": "error";
|
24
|
-
readonly "yml/no-empty-mapping-value": "error";
|
25
|
-
readonly "yml/no-empty-sequence-entry": "error";
|
26
|
-
readonly "yml/no-tab-indent": "error";
|
27
|
-
readonly "yml/no-trailing-zeros": "error";
|
28
|
-
readonly "yml/plain-scalar": readonly ["error", "always"];
|
29
|
-
readonly "yml/quotes": readonly ["error", {
|
30
|
-
readonly prefer: "double";
|
31
|
-
readonly avoidEscape: true;
|
32
|
-
}];
|
33
|
-
readonly "yml/require-string-key": "error";
|
34
|
-
readonly "yml/sort-keys": "off";
|
35
|
-
readonly "yml/sort-sequence-values": "off";
|
36
|
-
readonly "yml/vue-custom-block/no-parsing-error": "error";
|
37
|
-
}];
|
38
|
-
export default _default;
|
39
|
-
//# sourceMappingURL=enable.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"enable.d.ts","sourceRoot":"","sources":["../../../src/rules/yml/enable.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AASA,wBAkEW"}
|
package/dist/rules/yml/enable.js
DELETED
@@ -1,68 +0,0 @@
|
|
1
|
-
import { enable, ERROR, OFF, Never, Always, Double, } from "../../_strings/index.js";
|
2
|
-
export default [
|
3
|
-
enable,
|
4
|
-
{
|
5
|
-
"yml/block-mapping-colon-indicator-newline": [
|
6
|
-
ERROR,
|
7
|
-
Never,
|
8
|
-
],
|
9
|
-
"yml/block-mapping-question-indicator-newline": [
|
10
|
-
ERROR,
|
11
|
-
Never,
|
12
|
-
],
|
13
|
-
"yml/block-mapping": [
|
14
|
-
ERROR,
|
15
|
-
{
|
16
|
-
singleline: Never,
|
17
|
-
multiline: Always,
|
18
|
-
},
|
19
|
-
],
|
20
|
-
"yml/block-sequence-hyphen-indicator-newline": [
|
21
|
-
ERROR,
|
22
|
-
Never,
|
23
|
-
{
|
24
|
-
nestedHyphen: Always,
|
25
|
-
blockMapping: Never,
|
26
|
-
},
|
27
|
-
],
|
28
|
-
"yml/block-sequence": [
|
29
|
-
ERROR,
|
30
|
-
{
|
31
|
-
singleline: Always,
|
32
|
-
multiline: Always,
|
33
|
-
},
|
34
|
-
],
|
35
|
-
"yml/file-extension": OFF,
|
36
|
-
"yml/indent": [
|
37
|
-
ERROR,
|
38
|
-
2,
|
39
|
-
{
|
40
|
-
indentBlockSequences: true,
|
41
|
-
indicatorValueIndent: 2,
|
42
|
-
},
|
43
|
-
],
|
44
|
-
"yml/key-name-casing": OFF,
|
45
|
-
"yml/no-empty-document": ERROR,
|
46
|
-
"yml/no-empty-key": ERROR,
|
47
|
-
"yml/no-empty-mapping-value": ERROR,
|
48
|
-
"yml/no-empty-sequence-entry": ERROR,
|
49
|
-
"yml/no-tab-indent": ERROR,
|
50
|
-
"yml/no-trailing-zeros": ERROR,
|
51
|
-
"yml/plain-scalar": [
|
52
|
-
ERROR,
|
53
|
-
Always,
|
54
|
-
],
|
55
|
-
"yml/quotes": [
|
56
|
-
ERROR,
|
57
|
-
{
|
58
|
-
prefer: Double,
|
59
|
-
avoidEscape: true,
|
60
|
-
},
|
61
|
-
],
|
62
|
-
"yml/require-string-key": ERROR,
|
63
|
-
"yml/sort-keys": OFF,
|
64
|
-
"yml/sort-sequence-values": OFF,
|
65
|
-
"yml/vue-custom-block/no-parsing-error": ERROR,
|
66
|
-
},
|
67
|
-
];
|
68
|
-
//# sourceMappingURL=enable.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"enable.js","sourceRoot":"","sources":["../../../src/rules/yml/enable.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,MAAM,EACN,KAAK,EACL,GAAG,EACH,KAAK,EACL,MAAM,EACN,MAAM,GACP,MAAM,gBAAgB,CAAC;AAExB,eAAe;IACb,MAAM;IACN;QAEE,2CAA2C,EAAE;YAC3C,KAAK;YACL,KAAK;SACN;QACD,8CAA8C,EAAE;YAC9C,KAAK;YACL,KAAK;SACN;QACD,mBAAmB,EAAE;YACnB,KAAK;YACL;gBACE,UAAU,EAAE,KAAK;gBACjB,SAAS,EAAE,MAAM;aAClB;SACF;QACD,6CAA6C,EAAE;YAC7C,KAAK;YACL,KAAK;YACL;gBACE,YAAY,EAAE,MAAM;gBACpB,YAAY,EAAE,KAAK;aACpB;SACF;QACD,oBAAoB,EAAE;YACpB,KAAK;YACL;gBACE,UAAU,EAAE,MAAM;gBAClB,SAAS,EAAE,MAAM;aAClB;SACF;QACD,oBAAoB,EAAE,GAAG;QACzB,YAAY,EAAE;YACZ,KAAK;YACL,CAAC;YACD;gBACE,oBAAoB,EAAE,IAAI;gBAC1B,oBAAoB,EAAE,CAAC;aACxB;SACF;QACD,qBAAqB,EAAE,GAAG;QAC1B,uBAAuB,EAAE,KAAK;QAC9B,kBAAkB,EAAE,KAAK;QACzB,4BAA4B,EAAE,KAAK;QACnC,6BAA6B,EAAE,KAAK;QACpC,mBAAmB,EAAE,KAAK;QAC1B,uBAAuB,EAAE,KAAK;QAC9B,kBAAkB,EAAE;YAClB,KAAK;YACL,MAAM;SACP;QACD,YAAY,EAAE;YACZ,KAAK;YACL;gBACE,MAAM,EAAE,MAAM;gBACd,WAAW,EAAE,IAAI;aAClB;SACF;QACD,wBAAwB,EAAE,KAAK;QAC/B,eAAe,EAAE,GAAG;QACpB,0BAA0B,EAAE,GAAG;QAC/B,uCAAuC,EAAE,KAAK;KAC/C;CACO,CAAC"}
|
@@ -1,37 +0,0 @@
|
|
1
|
-
declare const _default: readonly ["enable-extend", {
|
2
|
-
readonly "yml/flow-mapping-curly-newline": readonly ["error", {
|
3
|
-
readonly consistent: false;
|
4
|
-
readonly multiline: true;
|
5
|
-
readonly minProperties: 2;
|
6
|
-
}];
|
7
|
-
readonly "yml/flow-mapping-curly-spacing": readonly ["error", "always", {
|
8
|
-
readonly arraysInObjects: true;
|
9
|
-
readonly objectsInObjects: true;
|
10
|
-
}];
|
11
|
-
readonly "yml/flow-sequence-bracket-newline": readonly ["error", {
|
12
|
-
readonly multiline: true;
|
13
|
-
readonly minItems: null;
|
14
|
-
}];
|
15
|
-
readonly "yml/flow-sequence-bracket-spacing": readonly ["error", "never", {
|
16
|
-
readonly singleValue: false;
|
17
|
-
readonly objectsInArrays: false;
|
18
|
-
readonly arraysInArrays: false;
|
19
|
-
}];
|
20
|
-
readonly "yml/key-spacing": readonly ["error", {
|
21
|
-
readonly beforeColon: false;
|
22
|
-
readonly afterColon: true;
|
23
|
-
readonly mode: "strict";
|
24
|
-
}];
|
25
|
-
readonly "yml/no-irregular-whitespace": readonly ["error", {
|
26
|
-
readonly skipQuotedScalars: true;
|
27
|
-
readonly skipComments: false;
|
28
|
-
}];
|
29
|
-
readonly "yml/no-multiple-empty-lines": readonly ["error", {
|
30
|
-
readonly max: 1;
|
31
|
-
readonly maxEOF: 1;
|
32
|
-
readonly maxBOF: 0;
|
33
|
-
}];
|
34
|
-
readonly "yml/spaced-comment": readonly ["error", "always"];
|
35
|
-
}];
|
36
|
-
export default _default;
|
37
|
-
//# sourceMappingURL=enable_x.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"enable_x.d.ts","sourceRoot":"","sources":["../../../src/rules/yml/enable_x.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAQA,wBAgEW"}
|
@@ -1,66 +0,0 @@
|
|
1
|
-
import { enable_x, ERROR, Never, Always, Strict, } from "../../_strings/index.js";
|
2
|
-
export default [
|
3
|
-
enable_x,
|
4
|
-
{
|
5
|
-
"yml/flow-mapping-curly-newline": [
|
6
|
-
ERROR,
|
7
|
-
{
|
8
|
-
consistent: false,
|
9
|
-
multiline: true,
|
10
|
-
minProperties: 2,
|
11
|
-
},
|
12
|
-
],
|
13
|
-
"yml/flow-mapping-curly-spacing": [
|
14
|
-
ERROR,
|
15
|
-
Always,
|
16
|
-
{
|
17
|
-
arraysInObjects: true,
|
18
|
-
objectsInObjects: true,
|
19
|
-
},
|
20
|
-
],
|
21
|
-
"yml/flow-sequence-bracket-newline": [
|
22
|
-
ERROR,
|
23
|
-
{
|
24
|
-
multiline: true,
|
25
|
-
minItems: null,
|
26
|
-
},
|
27
|
-
],
|
28
|
-
"yml/flow-sequence-bracket-spacing": [
|
29
|
-
ERROR,
|
30
|
-
Never,
|
31
|
-
{
|
32
|
-
singleValue: false,
|
33
|
-
objectsInArrays: false,
|
34
|
-
arraysInArrays: false,
|
35
|
-
},
|
36
|
-
],
|
37
|
-
"yml/key-spacing": [
|
38
|
-
ERROR,
|
39
|
-
{
|
40
|
-
beforeColon: false,
|
41
|
-
afterColon: true,
|
42
|
-
mode: Strict,
|
43
|
-
},
|
44
|
-
],
|
45
|
-
"yml/no-irregular-whitespace": [
|
46
|
-
ERROR,
|
47
|
-
{
|
48
|
-
skipQuotedScalars: true,
|
49
|
-
skipComments: false,
|
50
|
-
},
|
51
|
-
],
|
52
|
-
"yml/no-multiple-empty-lines": [
|
53
|
-
ERROR,
|
54
|
-
{
|
55
|
-
max: 1,
|
56
|
-
maxEOF: 1,
|
57
|
-
maxBOF: 0,
|
58
|
-
},
|
59
|
-
],
|
60
|
-
"yml/spaced-comment": [
|
61
|
-
ERROR,
|
62
|
-
Always,
|
63
|
-
],
|
64
|
-
},
|
65
|
-
];
|
66
|
-
//# sourceMappingURL=enable_x.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"enable_x.js","sourceRoot":"","sources":["../../../src/rules/yml/enable_x.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EACR,KAAK,EACL,KAAK,EACL,MAAM,EACN,MAAM,GACP,MAAM,gBAAgB,CAAC;AAExB,eAAe;IACb,QAAQ;IACR;QAEE,gCAAgC,EAAE;YAChC,KAAK;YACL;gBACE,UAAU,EAAE,KAAK;gBACjB,SAAS,EAAE,IAAI;gBACf,aAAa,EAAE,CAAC;aACjB;SACF;QACD,gCAAgC,EAAE;YAChC,KAAK;YACL,MAAM;YACN;gBACE,eAAe,EAAE,IAAI;gBACrB,gBAAgB,EAAE,IAAI;aACvB;SACF;QACD,mCAAmC,EAAE;YACnC,KAAK;YACL;gBACE,SAAS,EAAE,IAAI;gBACf,QAAQ,EAAE,IAAI;aACf;SACF;QACD,mCAAmC,EAAE;YACnC,KAAK;YACL,KAAK;YACL;gBACE,WAAW,EAAE,KAAK;gBAClB,eAAe,EAAE,KAAK;gBACtB,cAAc,EAAE,KAAK;aACtB;SACF;QACD,iBAAiB,EAAE;YACjB,KAAK;YACL;gBACE,WAAW,EAAE,KAAK;gBAClB,UAAU,EAAE,IAAI;gBAChB,IAAI,EAAE,MAAM;aACb;SACF;QACD,6BAA6B,EAAE;YAC7B,KAAK;YACL;gBACE,iBAAiB,EAAE,IAAI;gBACvB,YAAY,EAAE,KAAK;aACpB;SACF;QACD,6BAA6B,EAAE;YAC7B,KAAK;YACL;gBACE,GAAG,EAAE,CAAC;gBACN,MAAM,EAAE,CAAC;gBACT,MAAM,EAAE,CAAC;aACV;SACF;QACD,oBAAoB,EAAE;YACpB,KAAK;YACL,MAAM;SACP;KACF;CACO,CAAC"}
|
@@ -1,73 +0,0 @@
|
|
1
|
-
declare const _default: (readonly ["enable-extend", {
|
2
|
-
readonly "yml/flow-mapping-curly-newline": readonly ["error", {
|
3
|
-
readonly consistent: false;
|
4
|
-
readonly multiline: true;
|
5
|
-
readonly minProperties: 2;
|
6
|
-
}];
|
7
|
-
readonly "yml/flow-mapping-curly-spacing": readonly ["error", "always", {
|
8
|
-
readonly arraysInObjects: true;
|
9
|
-
readonly objectsInObjects: true;
|
10
|
-
}];
|
11
|
-
readonly "yml/flow-sequence-bracket-newline": readonly ["error", {
|
12
|
-
readonly multiline: true;
|
13
|
-
readonly minItems: null;
|
14
|
-
}];
|
15
|
-
readonly "yml/flow-sequence-bracket-spacing": readonly ["error", "never", {
|
16
|
-
readonly singleValue: false;
|
17
|
-
readonly objectsInArrays: false;
|
18
|
-
readonly arraysInArrays: false;
|
19
|
-
}];
|
20
|
-
readonly "yml/key-spacing": readonly ["error", {
|
21
|
-
readonly beforeColon: false;
|
22
|
-
readonly afterColon: true;
|
23
|
-
readonly mode: "strict";
|
24
|
-
}];
|
25
|
-
readonly "yml/no-irregular-whitespace": readonly ["error", {
|
26
|
-
readonly skipQuotedScalars: true;
|
27
|
-
readonly skipComments: false;
|
28
|
-
}];
|
29
|
-
readonly "yml/no-multiple-empty-lines": readonly ["error", {
|
30
|
-
readonly max: 1;
|
31
|
-
readonly maxEOF: 1;
|
32
|
-
readonly maxBOF: 0;
|
33
|
-
}];
|
34
|
-
readonly "yml/spaced-comment": readonly ["error", "always"];
|
35
|
-
}] | readonly ["enable", {
|
36
|
-
readonly "yml/block-mapping-colon-indicator-newline": readonly ["error", "never"];
|
37
|
-
readonly "yml/block-mapping-question-indicator-newline": readonly ["error", "never"];
|
38
|
-
readonly "yml/block-mapping": readonly ["error", {
|
39
|
-
readonly singleline: "never";
|
40
|
-
readonly multiline: "always";
|
41
|
-
}];
|
42
|
-
readonly "yml/block-sequence-hyphen-indicator-newline": readonly ["error", "never", {
|
43
|
-
readonly nestedHyphen: "always";
|
44
|
-
readonly blockMapping: "never";
|
45
|
-
}];
|
46
|
-
readonly "yml/block-sequence": readonly ["error", {
|
47
|
-
readonly singleline: "always";
|
48
|
-
readonly multiline: "always";
|
49
|
-
}];
|
50
|
-
readonly "yml/file-extension": "off";
|
51
|
-
readonly "yml/indent": readonly ["error", 2, {
|
52
|
-
readonly indentBlockSequences: true;
|
53
|
-
readonly indicatorValueIndent: 2;
|
54
|
-
}];
|
55
|
-
readonly "yml/key-name-casing": "off";
|
56
|
-
readonly "yml/no-empty-document": "error";
|
57
|
-
readonly "yml/no-empty-key": "error";
|
58
|
-
readonly "yml/no-empty-mapping-value": "error";
|
59
|
-
readonly "yml/no-empty-sequence-entry": "error";
|
60
|
-
readonly "yml/no-tab-indent": "error";
|
61
|
-
readonly "yml/no-trailing-zeros": "error";
|
62
|
-
readonly "yml/plain-scalar": readonly ["error", "always"];
|
63
|
-
readonly "yml/quotes": readonly ["error", {
|
64
|
-
readonly prefer: "double";
|
65
|
-
readonly avoidEscape: true;
|
66
|
-
}];
|
67
|
-
readonly "yml/require-string-key": "error";
|
68
|
-
readonly "yml/sort-keys": "off";
|
69
|
-
readonly "yml/sort-sequence-values": "off";
|
70
|
-
readonly "yml/vue-custom-block/no-parsing-error": "error";
|
71
|
-
}])[];
|
72
|
-
export default _default;
|
73
|
-
//# sourceMappingURL=index.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/rules/yml/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGA,wBAGE"}
|
package/dist/rules/yml/index.js
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/rules/yml/index.ts"],"names":[],"mappings":"AAAA,OAAO,QAAQ,MAAM,YAAY,CAAC;AAClC,OAAO,MAAM,MAAM,UAAU,CAAC;AAE9B,eAAe;IACb,QAAQ;IACR,MAAM;CACP,CAAC"}
|
package/dist/settings.d.ts
DELETED
package/dist/settings.d.ts.map
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"settings.d.ts","sourceRoot":"","sources":["../src/settings.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,QAAQ;;;;;CAKX,CAAC"}
|
package/dist/settings.js
DELETED
package/dist/settings.js.map
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"settings.js","sourceRoot":"","sources":["../src/settings.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,QAAQ,GAAG;IACtB,WAAW,EAAE,IAAI;IACjB,UAAU,EAAE,QAAQ;IACpB,cAAc,EAAE,IAAI;IACpB,6BAA6B,EAAE,OAAO;CAC9B,CAAC"}
|
package/src/_strings/id.ts
DELETED
package/src/_strings/index.ts
DELETED
@@ -1,31 +0,0 @@
|
|
1
|
-
import { expect } from "chai";
|
2
|
-
import * as level from "./level";
|
3
|
-
|
4
|
-
describe("Strings:Level", function () {
|
5
|
-
describe("shape", function () {
|
6
|
-
it("is module", function () {
|
7
|
-
expect(level)
|
8
|
-
.a("module");
|
9
|
-
});
|
10
|
-
});
|
11
|
-
describe("count", function () {
|
12
|
-
it("is 3", function () {
|
13
|
-
expect(Object.keys(level))
|
14
|
-
.lengthOf(3);
|
15
|
-
});
|
16
|
-
});
|
17
|
-
describe("unique count", function () {
|
18
|
-
it("is 3", function () {
|
19
|
-
expect(new Map(Object.entries(level)))
|
20
|
-
.lengthOf(3);
|
21
|
-
});
|
22
|
-
});
|
23
|
-
describe("values", function () {
|
24
|
-
it("are: error, warn, off", function () {
|
25
|
-
expect(new Map(Object.entries(level)))
|
26
|
-
.includes("error")
|
27
|
-
.and.includes("warn")
|
28
|
-
.and.includes("off");
|
29
|
-
});
|
30
|
-
});
|
31
|
-
});
|
package/src/_strings/level.ts
DELETED
package/src/_strings/state.ts
DELETED
@@ -1,28 +0,0 @@
|
|
1
|
-
export const
|
2
|
-
Ignore = "ignore",
|
3
|
-
Never = "never",
|
4
|
-
Always = "always",
|
5
|
-
AlwaysMultiline = "always-multiline",
|
6
|
-
Multiline = "multiline",
|
7
|
-
Consistent = "consistent",
|
8
|
-
Consecutive = "consecutive",
|
9
|
-
AsNeeded = "as-needed",
|
10
|
-
Explicit = "explicit",
|
11
|
-
Allow = "allow",
|
12
|
-
Strict = "strict",
|
13
|
-
Any = "any",
|
14
|
-
All = "all",
|
15
|
-
Star = "*",
|
16
|
-
First = "first",
|
17
|
-
Last = "last",
|
18
|
-
Before = "before",
|
19
|
-
After = "after",
|
20
|
-
Above = "above",
|
21
|
-
Below = "below",
|
22
|
-
Beside = "beside",
|
23
|
-
Inside = "inside",
|
24
|
-
Outside = "outside",
|
25
|
-
Single = "single",
|
26
|
-
Double = "double",
|
27
|
-
Multi = "multi",
|
28
|
-
Both = "both";
|
package/src/files/index.ts
DELETED
@@ -1,20 +0,0 @@
|
|
1
|
-
import js from "./scopes/js";
|
2
|
-
import ts from "./scopes/ts";
|
3
|
-
import svelte from "./scopes/svelte";
|
4
|
-
import mocha from "./scopes/mocha";
|
5
|
-
import html from "./scopes/html";
|
6
|
-
import json from "./scopes/json";
|
7
|
-
import jsonc from "./scopes/jsonc";
|
8
|
-
import yml from "./scopes/yml";
|
9
|
-
|
10
|
-
export default {
|
11
|
-
"*": [],
|
12
|
-
js,
|
13
|
-
ts,
|
14
|
-
svelte,
|
15
|
-
mocha,
|
16
|
-
html,
|
17
|
-
json,
|
18
|
-
jsonc,
|
19
|
-
yml,
|
20
|
-
};
|
package/src/files/scopes/html.ts
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
export default ["{src,tests,static,public}/**/*.html"];
|
package/src/files/scopes/js.ts
DELETED
package/src/files/scopes/json.ts
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
export default ["**/*.json"];
|
@@ -1 +0,0 @@
|
|
1
|
-
export default ["{src,tests,static}/**/*.svelte"];
|
package/src/files/scopes/ts.ts
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
export default ["**/*.{c,m,}ts{,x}"];
|
package/src/files/scopes/yml.ts
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
export default ["**/*.y{a,}ml"];
|
package/src/ignores/index.ts
DELETED
@@ -1,31 +0,0 @@
|
|
1
|
-
import js from "./scopes/js";
|
2
|
-
import ts from "./scopes/ts";
|
3
|
-
import svelte from "./scopes/svelte";
|
4
|
-
import mocha from "./scopes/mocha";
|
5
|
-
import html from "./scopes/html";
|
6
|
-
import json from "./scopes/json";
|
7
|
-
import jsonc from "./scopes/jsonc";
|
8
|
-
import yml from "./scopes/yml";
|
9
|
-
|
10
|
-
export default {
|
11
|
-
"*": [
|
12
|
-
// "**/node_modules/", /* ESLint @default */,
|
13
|
-
// ".git/", /* ESLint @default */,
|
14
|
-
"{,**/.git/}",
|
15
|
-
"**/*package-lock.json",
|
16
|
-
"**/dist/",
|
17
|
-
"**/buil{d,t}/",
|
18
|
-
"**/bundle{,d}/",
|
19
|
-
"**/pack{,ed}/",
|
20
|
-
"{,**/.svelte-kit/}",
|
21
|
-
"{,**/.Trash/}",
|
22
|
-
],
|
23
|
-
js,
|
24
|
-
ts,
|
25
|
-
svelte,
|
26
|
-
mocha,
|
27
|
-
html,
|
28
|
-
json,
|
29
|
-
jsonc,
|
30
|
-
yml,
|
31
|
-
};
|
@@ -1 +0,0 @@
|
|
1
|
-
export default [];
|
package/src/ignores/scopes/js.ts
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
export default [];
|
@@ -1 +0,0 @@
|
|
1
|
-
export default [];
|
@@ -1 +0,0 @@
|
|
1
|
-
export default [];
|
@@ -1 +0,0 @@
|
|
1
|
-
export default [];
|
@@ -1 +0,0 @@
|
|
1
|
-
export default [];
|
package/src/ignores/scopes/ts.ts
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
export default [];
|
@@ -1 +0,0 @@
|
|
1
|
-
export default [];
|