@eslinted/defaults 20.0.2 → 20.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/files/index.d.ts +0 -1
- package/dist/files/index.d.ts.map +1 -1
- package/dist/files/index.js +0 -1
- package/dist/files/index.js.map +1 -1
- package/dist/index.d.ts +7 -14
- package/dist/index.d.ts.map +1 -1
- package/dist/rules/html/index.d.ts +1 -0
- package/dist/rules/html/index.d.ts.map +1 -1
- package/dist/rules/html/index.js +1 -0
- package/dist/rules/html/index.js.map +1 -1
- package/dist/rules/index.d.ts +7 -13
- package/dist/rules/index.d.ts.map +1 -1
- package/dist/rules/index.js +0 -2
- package/dist/rules/index.js.map +1 -1
- package/dist/rules/json/index.d.ts +4 -1
- package/dist/rules/json/index.d.ts.map +1 -1
- package/dist/rules/json/jsonc.d.ts +4 -1
- package/dist/rules/json/jsonc.d.ts.map +1 -1
- package/dist/rules/json/jsonc.js +3 -0
- package/dist/rules/json/jsonc.js.map +1 -1
- package/dist/rules/yml/index.d.ts +14 -16
- package/dist/rules/yml/index.d.ts.map +1 -1
- package/dist/rules/yml/index.js +32 -5
- package/dist/rules/yml/index.js.map +1 -1
- package/package.json +1 -1
- package/src/files/index.ts +0 -1
- package/src/rules/html/index.ts +1 -0
- package/src/rules/index.ts +0 -2
- package/src/rules/json/jsonc.ts +3 -0
- package/src/rules/yml/index.ts +54 -4
- package/dist/rules/mocha/index.d.ts +0 -10
- package/dist/rules/mocha/index.d.ts.map +0 -1
- package/dist/rules/mocha/index.js +0 -10
- package/dist/rules/mocha/index.js.map +0 -1
- package/dist/rules/yml/extend.d.ts +0 -27
- package/dist/rules/yml/extend.d.ts.map +0 -1
- package/dist/rules/yml/extend.js +0 -23
- package/dist/rules/yml/extend.js.map +0 -1
- package/dist/rules/yml/yml.d.ts +0 -16
- package/dist/rules/yml/yml.d.ts.map +0 -1
- package/dist/rules/yml/yml.js +0 -14
- package/dist/rules/yml/yml.js.map +0 -1
- package/src/rules/mocha/index.ts +0 -11
- package/src/rules/yml/extend.ts +0 -31
- package/src/rules/yml/yml.ts +0 -27
package/dist/files/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/files/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/files/index.ts"],"names":[],"mappings":";;;;;;;;;;AAGA,wBAuCE"}
|
package/dist/files/index.js
CHANGED
package/dist/files/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/files/index.ts"],"names":[],"mappings":"AAAA,OAAO,OAAO,MAAM,aAAa,CAAC;AAClC,OAAO,EAAE,MAAM,QAAQ,CAAC;AAExB,eAAe;IACb,EAAE;IACF,EAAE,EAAE,OAAO,CAAC,IAAI,CAAC;IACjB,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/files/index.ts"],"names":[],"mappings":"AAAA,OAAO,OAAO,MAAM,aAAa,CAAC;AAClC,OAAO,EAAE,MAAM,QAAQ,CAAC;AAExB,eAAe;IACb,EAAE;IACF,EAAE,EAAE,OAAO,CAAC,IAAI,CAAC;IACjB,MAAM,EAAE,OAAO,CAAC,QAAQ,CAAC;IACzB,IAAI,EAAE,OAAO,CAAC,MAAM,CAAC;IACrB,GAAG,EAAE,OAAO,CAAC,KAAK,CAAC;IACnB,IAAI,EAAE,OAAO,CACX;QACE,MAAM;QACN,iBAAiB;KAClB,CACF;IACD,KAAK,EAAE,OAAO,CACZ;QACE,OAAO;QACP,eAAe;QACf,gBAAgB;KACjB,EACD;QACE,KAAK,EAAE;YACL,eAAe;YACf,iBAAiB;SAClB;QACD,OAAO,EAAE,CAAC,SAAS,CAAC;QACpB,KAAK,EAAE,CAAC,mBAAmB,CAAC;KAC7B,CACF;IACD,GAAG,EAAE,OAAO,CACV;QACE,KAAK;QACL,MAAM;QACN,aAAa;QACb,cAAc;QACd,iBAAiB;KAClB,EACD;QACE,OAAO,EAAE,CAAC,SAAS,CAAC;KACrB,CACF;CACF,CAAC"}
|
package/dist/index.d.ts
CHANGED
|
@@ -2,7 +2,6 @@ declare const _default: {
|
|
|
2
2
|
files: {
|
|
3
3
|
js: string[];
|
|
4
4
|
ts: string[];
|
|
5
|
-
mocha: string[];
|
|
6
5
|
svelte: string[];
|
|
7
6
|
html: string[];
|
|
8
7
|
css: string[];
|
|
@@ -807,13 +806,6 @@ declare const _default: {
|
|
|
807
806
|
readonly "ts/require-await": import("./rules/state.js").State.ON;
|
|
808
807
|
};
|
|
809
808
|
})[];
|
|
810
|
-
mocha: {
|
|
811
|
-
rules: {
|
|
812
|
-
readonly "no-unused-expressions": import("./rules/state.js").State.OFF;
|
|
813
|
-
readonly "ts/no-unsafe-call": import("./rules/state.js").State.OFF;
|
|
814
|
-
readonly "ts/strict-void-return": import("./rules/state.js").State.OFF;
|
|
815
|
-
};
|
|
816
|
-
}[];
|
|
817
809
|
svelte: ({
|
|
818
810
|
rules: {
|
|
819
811
|
readonly "no-inner-declarations": import("./rules/state.js").State.OFF;
|
|
@@ -930,6 +922,7 @@ declare const _default: {
|
|
|
930
922
|
html: {
|
|
931
923
|
rules: {
|
|
932
924
|
readonly "html/css-no-empty-blocks": import("./rules/state.js").State.WARN;
|
|
925
|
+
readonly "html/head-order": import("./rules/state.js").State.ON;
|
|
933
926
|
readonly "html/no-duplicate-attrs": import("./rules/state.js").State.WARN;
|
|
934
927
|
readonly "html/no-duplicate-class": import("./rules/state.js").State.WARN;
|
|
935
928
|
readonly "html/no-duplicate-id": import("./rules/state.js").State.WARN;
|
|
@@ -1020,7 +1013,10 @@ declare const _default: {
|
|
|
1020
1013
|
];
|
|
1021
1014
|
readonly "jsonc/object-curly-spacing": readonly [
|
|
1022
1015
|
import("./rules/state.js").State.WARN,
|
|
1023
|
-
"always"
|
|
1016
|
+
"always",
|
|
1017
|
+
{
|
|
1018
|
+
readonly emptyObjects: "never";
|
|
1019
|
+
}
|
|
1024
1020
|
];
|
|
1025
1021
|
readonly "jsonc/object-property-newline": import("./rules/state.js").State.WARN;
|
|
1026
1022
|
};
|
|
@@ -1034,7 +1030,7 @@ declare const _default: {
|
|
|
1034
1030
|
readonly "jsonc/no-comments": import("./rules/state.js").State.OFF;
|
|
1035
1031
|
};
|
|
1036
1032
|
}[];
|
|
1037
|
-
yml:
|
|
1033
|
+
yml: {
|
|
1038
1034
|
rules: {
|
|
1039
1035
|
readonly "yml/block-mapping-colon-indicator-newline": import("./rules/state.js").State.WARN;
|
|
1040
1036
|
readonly "yml/block-mapping-question-indicator-newline": import("./rules/state.js").State.WARN;
|
|
@@ -1045,9 +1041,6 @@ declare const _default: {
|
|
|
1045
1041
|
readonly "yml/no-empty-sequence-entry": import("./rules/state.js").State.WARN;
|
|
1046
1042
|
readonly "yml/no-tab-indent": import("./rules/state.js").State.WARN;
|
|
1047
1043
|
readonly "yml/require-string-key": import("./rules/state.js").State.WARN;
|
|
1048
|
-
};
|
|
1049
|
-
} | {
|
|
1050
|
-
rules: {
|
|
1051
1044
|
readonly "yml/no-irregular-whitespace": import("./rules/state.js").State.ON;
|
|
1052
1045
|
readonly "yml/spaced-comment": readonly [
|
|
1053
1046
|
import("./rules/state.js").State.WARN,
|
|
@@ -1069,7 +1062,7 @@ declare const _default: {
|
|
|
1069
1062
|
}
|
|
1070
1063
|
];
|
|
1071
1064
|
};
|
|
1072
|
-
}
|
|
1065
|
+
}[];
|
|
1073
1066
|
};
|
|
1074
1067
|
};
|
|
1075
1068
|
export default _default;
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAIA,wBAIE"}
|
|
@@ -2,6 +2,7 @@ import { State } from "../state.js";
|
|
|
2
2
|
declare const _default: {
|
|
3
3
|
rules: {
|
|
4
4
|
readonly "html/css-no-empty-blocks": State.WARN;
|
|
5
|
+
readonly "html/head-order": State.ON;
|
|
5
6
|
readonly "html/no-duplicate-attrs": State.WARN;
|
|
6
7
|
readonly "html/no-duplicate-class": State.WARN;
|
|
7
8
|
readonly "html/no-duplicate-id": State.WARN;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/rules/html/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/rules/html/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGjC,wBAgFE"}
|
package/dist/rules/html/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/rules/html/index.ts"],"names":[],"mappings":"AAGA,eAAe;IACb;QACE,KAAK,EAAE;YAGL,0BAA0B,GAAY;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/rules/html/index.ts"],"names":[],"mappings":"AAGA,eAAe;IACb;QACE,KAAK,EAAE;YAGL,0BAA0B,GAAY;YACtC,iBAAiB,GAAU;YAE3B,yBAAyB,GAAY;YACrC,yBAAyB,GAAY;YACrC,sBAAsB,GAAY;YAClC,2BAA2B,GAAY;YACvC,2BAA2B,GAAY;YAEvC,4BAA4B,GAAU;YACtC,wBAAwB,GAAU;YAClC,4BAA4B,GAAY;YACxC,uBAAuB,GAAY;YAKnC,sBAAsB,GAAY;YAClC,kCAAkC,GAAY;YAG9C,0BAA0B,GAAY;YACtC,2BAA2B,GAAY;YACvC,sBAAsB,GAAY;YAElC,2BAA2B,GAAY;YACvC,2BAA2B,GAAY;YACvC,mBAAmB,GAAY;YAK/B,qBAAqB,GAAY;YACjC,mBAAmB,GAAY;YAQ/B,wBAAwB,GAAY;YACpC,yBAAyB,GAAY;YACrC,0BAA0B,GAAY;YACtC,kCAAkC,GAAY;YAC9C,wBAAwB,GAAY;YACpC,+BAA+B,GAAY;YAC3C,sBAAsB,GAAY;YAClC,+BAA+B,GAAY;YAC3C,2BAA2B,GAAY;YACvC,wBAAwB,GAAY;YAEpC,0BAA0B,GAAY;YACtC,0BAA0B,GAAY;YACtC,sBAAsB,GAAY;YAClC,0BAA0B,GAAY;YACtC,4BAA4B,GAAY;SAiBhC;KACX;CACF,CAAC"}
|
package/dist/rules/index.d.ts
CHANGED
|
@@ -791,13 +791,6 @@ declare const _default: {
|
|
|
791
791
|
readonly "ts/require-await": import("./state.js").State.ON;
|
|
792
792
|
};
|
|
793
793
|
})[];
|
|
794
|
-
mocha: {
|
|
795
|
-
rules: {
|
|
796
|
-
readonly "no-unused-expressions": import("./state.js").State.OFF;
|
|
797
|
-
readonly "ts/no-unsafe-call": import("./state.js").State.OFF;
|
|
798
|
-
readonly "ts/strict-void-return": import("./state.js").State.OFF;
|
|
799
|
-
};
|
|
800
|
-
}[];
|
|
801
794
|
svelte: ({
|
|
802
795
|
rules: {
|
|
803
796
|
readonly "no-inner-declarations": import("./state.js").State.OFF;
|
|
@@ -914,6 +907,7 @@ declare const _default: {
|
|
|
914
907
|
html: {
|
|
915
908
|
rules: {
|
|
916
909
|
readonly "html/css-no-empty-blocks": import("./state.js").State.WARN;
|
|
910
|
+
readonly "html/head-order": import("./state.js").State.ON;
|
|
917
911
|
readonly "html/no-duplicate-attrs": import("./state.js").State.WARN;
|
|
918
912
|
readonly "html/no-duplicate-class": import("./state.js").State.WARN;
|
|
919
913
|
readonly "html/no-duplicate-id": import("./state.js").State.WARN;
|
|
@@ -1004,7 +998,10 @@ declare const _default: {
|
|
|
1004
998
|
];
|
|
1005
999
|
readonly "jsonc/object-curly-spacing": readonly [
|
|
1006
1000
|
import("./state.js").State.WARN,
|
|
1007
|
-
"always"
|
|
1001
|
+
"always",
|
|
1002
|
+
{
|
|
1003
|
+
readonly emptyObjects: "never";
|
|
1004
|
+
}
|
|
1008
1005
|
];
|
|
1009
1006
|
readonly "jsonc/object-property-newline": import("./state.js").State.WARN;
|
|
1010
1007
|
};
|
|
@@ -1018,7 +1015,7 @@ declare const _default: {
|
|
|
1018
1015
|
readonly "jsonc/no-comments": import("./state.js").State.OFF;
|
|
1019
1016
|
};
|
|
1020
1017
|
}[];
|
|
1021
|
-
yml:
|
|
1018
|
+
yml: {
|
|
1022
1019
|
rules: {
|
|
1023
1020
|
readonly "yml/block-mapping-colon-indicator-newline": import("./state.js").State.WARN;
|
|
1024
1021
|
readonly "yml/block-mapping-question-indicator-newline": import("./state.js").State.WARN;
|
|
@@ -1029,9 +1026,6 @@ declare const _default: {
|
|
|
1029
1026
|
readonly "yml/no-empty-sequence-entry": import("./state.js").State.WARN;
|
|
1030
1027
|
readonly "yml/no-tab-indent": import("./state.js").State.WARN;
|
|
1031
1028
|
readonly "yml/require-string-key": import("./state.js").State.WARN;
|
|
1032
|
-
};
|
|
1033
|
-
} | {
|
|
1034
|
-
rules: {
|
|
1035
1029
|
readonly "yml/no-irregular-whitespace": import("./state.js").State.ON;
|
|
1036
1030
|
readonly "yml/spaced-comment": readonly [
|
|
1037
1031
|
import("./state.js").State.WARN,
|
|
@@ -1053,7 +1047,7 @@ declare const _default: {
|
|
|
1053
1047
|
}
|
|
1054
1048
|
];
|
|
1055
1049
|
};
|
|
1056
|
-
}
|
|
1050
|
+
}[];
|
|
1057
1051
|
};
|
|
1058
1052
|
export default _default;
|
|
1059
1053
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/rules/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/rules/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAUA,wBAUE"}
|
package/dist/rules/index.js
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import global from "./global.js";
|
|
2
2
|
import js from "./js.js";
|
|
3
3
|
import ts from "./ts/index.js";
|
|
4
|
-
import mocha from "./mocha/index.js";
|
|
5
4
|
import svelte from "./svelte/index.js";
|
|
6
5
|
import html from "./html/index.js";
|
|
7
6
|
import css from "./css/index.js";
|
|
@@ -12,7 +11,6 @@ export default {
|
|
|
12
11
|
"*": global,
|
|
13
12
|
js,
|
|
14
13
|
ts,
|
|
15
|
-
mocha,
|
|
16
14
|
svelte,
|
|
17
15
|
html,
|
|
18
16
|
css,
|
package/dist/rules/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/rules/index.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,UAAU,CAAC;AAC9B,OAAO,EAAE,MAAM,MAAM,CAAC;AACtB,OAAO,EAAE,MAAM,MAAM,CAAC;AACtB,OAAO,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/rules/index.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,UAAU,CAAC;AAC9B,OAAO,EAAE,MAAM,MAAM,CAAC;AACtB,OAAO,EAAE,MAAM,MAAM,CAAC;AACtB,OAAO,MAAM,MAAM,UAAU,CAAC;AAC9B,OAAO,IAAI,MAAM,QAAQ,CAAC;AAC1B,OAAO,GAAG,MAAM,OAAO,CAAC;AACxB,OAAO,IAAI,MAAM,QAAQ,CAAC;AAC1B,OAAO,KAAK,MAAM,SAAS,CAAC;AAC5B,OAAO,GAAG,MAAM,OAAO,CAAC;AAExB,eAAe;IACb,GAAG,EAAE,MAAM;IACX,EAAE;IACF,EAAE;IACF,MAAM;IACN,IAAI;IACJ,GAAG;IACH,IAAI;IACJ,KAAK;IACL,GAAG;CACJ,CAAC"}
|
|
@@ -36,7 +36,10 @@ declare const _default: ({
|
|
|
36
36
|
];
|
|
37
37
|
readonly "jsonc/object-curly-spacing": readonly [
|
|
38
38
|
import("../state.js").State.WARN,
|
|
39
|
-
"always"
|
|
39
|
+
"always",
|
|
40
|
+
{
|
|
41
|
+
readonly emptyObjects: "never";
|
|
42
|
+
}
|
|
40
43
|
];
|
|
41
44
|
readonly "jsonc/object-property-newline": import("../state.js").State.WARN;
|
|
42
45
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/rules/json/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/rules/json/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGA,wBAGE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"jsonc.d.ts","sourceRoot":"","sources":["../../../src/rules/json/jsonc.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC
|
|
1
|
+
{"version":3,"file":"jsonc.d.ts","sourceRoot":"","sources":["../../../src/rules/json/jsonc.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;AAGjC,wBAwEE"}
|
package/dist/rules/json/jsonc.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"jsonc.js","sourceRoot":"","sources":["../../../src/rules/json/jsonc.ts"],"names":[],"mappings":"AAGA,eAAe;IACb,KAAK,EAAE;QAML,mBAAmB,GAAU;QAmB7B,6BAA6B,GAAY;QACzC,6BAA6B,EAAE;;YAE7B,YAAY;SACb;QACD,oBAAoB,GAAU;QAC9B,mBAAmB,GAAY;QAC/B,cAAc,EAAE;;YAEd,CAAC;SACF;QACD,mBAAmB,GAAY;QAC/B,oBAAoB,GAAU;QAE9B,+BAA+B,EAAE;;YAE/B;gBACE,WAAW,EAAE,IAAI;gBACjB,YAAY,EAAE,IAAI;aACnB;SACF;QAMD,4BAA4B,EAAE;;YAE5B;gBACE,UAAU,EAAE,IAAI;gBAChB,SAAS,EAAE,IAAI;gBACf,aAAa,EAAE,CAAC;aACjB;SACF;QACD,4BAA4B,EAAE;;YAE5B,QAAQ;
|
|
1
|
+
{"version":3,"file":"jsonc.js","sourceRoot":"","sources":["../../../src/rules/json/jsonc.ts"],"names":[],"mappings":"AAGA,eAAe;IACb,KAAK,EAAE;QAML,mBAAmB,GAAU;QAmB7B,6BAA6B,GAAY;QACzC,6BAA6B,EAAE;;YAE7B,YAAY;SACb;QACD,oBAAoB,GAAU;QAC9B,mBAAmB,GAAY;QAC/B,cAAc,EAAE;;YAEd,CAAC;SACF;QACD,mBAAmB,GAAY;QAC/B,oBAAoB,GAAU;QAE9B,+BAA+B,EAAE;;YAE/B;gBACE,WAAW,EAAE,IAAI;gBACjB,YAAY,EAAE,IAAI;aACnB;SACF;QAMD,4BAA4B,EAAE;;YAE5B;gBACE,UAAU,EAAE,IAAI;gBAChB,SAAS,EAAE,IAAI;gBACf,aAAa,EAAE,CAAC;aACjB;SACF;QACD,4BAA4B,EAAE;;YAE5B,QAAQ;YACR;gBACE,YAAY,EAAE,OAAO;aACtB;SACF;QACD,+BAA+B,GAAY;KAInC;CACX,CAAC"}
|
|
@@ -1,20 +1,18 @@
|
|
|
1
|
-
|
|
1
|
+
import { State } from "../state.js";
|
|
2
|
+
declare const _default: {
|
|
2
3
|
rules: {
|
|
3
|
-
readonly "yml/block-mapping-colon-indicator-newline":
|
|
4
|
-
readonly "yml/block-mapping-question-indicator-newline":
|
|
5
|
-
readonly "yml/block-mapping":
|
|
6
|
-
readonly "yml/block-sequence-hyphen-indicator-newline":
|
|
7
|
-
readonly "yml/block-sequence":
|
|
8
|
-
readonly "yml/no-empty-key":
|
|
9
|
-
readonly "yml/no-empty-sequence-entry":
|
|
10
|
-
readonly "yml/no-tab-indent":
|
|
11
|
-
readonly "yml/require-string-key":
|
|
12
|
-
|
|
13
|
-
} | {
|
|
14
|
-
rules: {
|
|
15
|
-
readonly "yml/no-irregular-whitespace": import("../state.js").State.ON;
|
|
4
|
+
readonly "yml/block-mapping-colon-indicator-newline": State.WARN;
|
|
5
|
+
readonly "yml/block-mapping-question-indicator-newline": State.WARN;
|
|
6
|
+
readonly "yml/block-mapping": State.WARN;
|
|
7
|
+
readonly "yml/block-sequence-hyphen-indicator-newline": State.WARN;
|
|
8
|
+
readonly "yml/block-sequence": State.WARN;
|
|
9
|
+
readonly "yml/no-empty-key": State.WARN;
|
|
10
|
+
readonly "yml/no-empty-sequence-entry": State.WARN;
|
|
11
|
+
readonly "yml/no-tab-indent": State.WARN;
|
|
12
|
+
readonly "yml/require-string-key": State.WARN;
|
|
13
|
+
readonly "yml/no-irregular-whitespace": State.ON;
|
|
16
14
|
readonly "yml/spaced-comment": readonly [
|
|
17
|
-
|
|
15
|
+
State.WARN,
|
|
18
16
|
"always",
|
|
19
17
|
{
|
|
20
18
|
readonly exceptions: readonly [
|
|
@@ -33,6 +31,6 @@ declare const _default: ({
|
|
|
33
31
|
}
|
|
34
32
|
];
|
|
35
33
|
};
|
|
36
|
-
}
|
|
34
|
+
}[];
|
|
37
35
|
export default _default;
|
|
38
36
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/rules/yml/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/rules/yml/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;;;;;;;;;;;;;;;;;;;AAGjC,wBAqDE"}
|
package/dist/rules/yml/index.js
CHANGED
|
@@ -1,7 +1,34 @@
|
|
|
1
|
-
import yml from "./yml.js";
|
|
2
|
-
import extend from "./extend.js";
|
|
3
1
|
export default [
|
|
4
|
-
|
|
5
|
-
|
|
2
|
+
{
|
|
3
|
+
rules: {
|
|
4
|
+
"yml/block-mapping-colon-indicator-newline": 1,
|
|
5
|
+
"yml/block-mapping-question-indicator-newline": 1,
|
|
6
|
+
"yml/block-mapping": 1,
|
|
7
|
+
"yml/block-sequence-hyphen-indicator-newline": 1,
|
|
8
|
+
"yml/block-sequence": 1,
|
|
9
|
+
"yml/no-empty-key": 1,
|
|
10
|
+
"yml/no-empty-sequence-entry": 1,
|
|
11
|
+
"yml/no-tab-indent": 1,
|
|
12
|
+
"yml/require-string-key": 1,
|
|
13
|
+
"yml/no-irregular-whitespace": 2,
|
|
14
|
+
"yml/spaced-comment": [
|
|
15
|
+
1,
|
|
16
|
+
"always",
|
|
17
|
+
{
|
|
18
|
+
exceptions: ["#"],
|
|
19
|
+
markers: [
|
|
20
|
+
"-",
|
|
21
|
+
"#",
|
|
22
|
+
"##",
|
|
23
|
+
"###",
|
|
24
|
+
"####",
|
|
25
|
+
"#####",
|
|
26
|
+
"region",
|
|
27
|
+
"endregion",
|
|
28
|
+
],
|
|
29
|
+
},
|
|
30
|
+
],
|
|
31
|
+
},
|
|
32
|
+
},
|
|
6
33
|
];
|
|
7
|
-
//# sourceMappingURL=index.js.map
|
|
34
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/rules/yml/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/rules/yml/index.ts"],"names":[],"mappings":"AAGA,eAAe;IACb;QACE,KAAK,EAAE;YAEL,2CAA2C,GAAY;YACvD,8CAA8C,GAAY;YAC1D,mBAAmB,GAAY;YAC/B,6CAA6C,GAAY;YACzD,oBAAoB,GAAY;YAKhC,kBAAkB,GAAY;YAE9B,6BAA6B,GAAY;YACzC,mBAAmB,GAAY;YAI/B,wBAAwB,GAAY;YAWpC,6BAA6B,GAAU;YAEvC,oBAAoB,EAAE;;gBAEpB,QAAQ;gBACR;oBACE,UAAU,EAAE,CAAC,GAAG,CAAC;oBACjB,OAAO,EAAE;wBACP,GAAG;wBACH,GAAG;wBACH,IAAI;wBACJ,KAAK;wBACL,MAAM;wBACN,OAAO;wBACP,QAAQ;wBACR,WAAW;qBACZ;iBACF;aACF;SAEO;KACX;CACF,CAAC"}
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"$schema": "https://json.schemastore.org/package",
|
|
4
4
|
"$help": "https://docs.npmjs.com/cli/configuring-npm/package-json",
|
|
5
5
|
"name": "@eslinted/defaults",
|
|
6
|
-
"version": "20.0
|
|
6
|
+
"version": "20.2.0",
|
|
7
7
|
"repository": "github:jimmy-zhening-luo/linted-defaults",
|
|
8
8
|
"description": "Default scopes for `linted`",
|
|
9
9
|
"keywords": [],
|
package/src/files/index.ts
CHANGED
package/src/rules/html/index.ts
CHANGED
|
@@ -7,6 +7,7 @@ export default [
|
|
|
7
7
|
// #region BEST PRACTICE
|
|
8
8
|
// DOC: https://html-eslint.org/docs/rules#best-practice
|
|
9
9
|
"html/css-no-empty-blocks": State.WARN,
|
|
10
|
+
"html/head-order": State.ON,
|
|
10
11
|
// "html/max-element-depth": State.OFF /* @preference: simply do not care */,
|
|
11
12
|
"html/no-duplicate-attrs": State.WARN,
|
|
12
13
|
"html/no-duplicate-class": State.WARN,
|
package/src/rules/index.ts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import global from "./global";
|
|
2
2
|
import js from "./js";
|
|
3
3
|
import ts from "./ts";
|
|
4
|
-
import mocha from "./mocha";
|
|
5
4
|
import svelte from "./svelte";
|
|
6
5
|
import html from "./html";
|
|
7
6
|
import css from "./css";
|
|
@@ -13,7 +12,6 @@ export default {
|
|
|
13
12
|
"*": global,
|
|
14
13
|
js,
|
|
15
14
|
ts,
|
|
16
|
-
mocha,
|
|
17
15
|
svelte,
|
|
18
16
|
html,
|
|
19
17
|
css,
|
package/src/rules/json/jsonc.ts
CHANGED
package/src/rules/yml/index.ts
CHANGED
|
@@ -1,7 +1,57 @@
|
|
|
1
|
-
import
|
|
2
|
-
import extend from "./extend";
|
|
1
|
+
import { State } from "../state";
|
|
3
2
|
|
|
3
|
+
// DOC: https://ota-meshi.github.io/eslint-plugin-yml/rules/#yaml-rules
|
|
4
4
|
export default [
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
{
|
|
6
|
+
rules: {
|
|
7
|
+
//#region Custom
|
|
8
|
+
"yml/block-mapping-colon-indicator-newline": State.WARN,
|
|
9
|
+
"yml/block-mapping-question-indicator-newline": State.WARN,
|
|
10
|
+
"yml/block-mapping": State.WARN,
|
|
11
|
+
"yml/block-sequence-hyphen-indicator-newline": State.WARN,
|
|
12
|
+
"yml/block-sequence": State.WARN,
|
|
13
|
+
// "yml/file-extension": State.OFF,
|
|
14
|
+
// "yml/indent": State.OFF,
|
|
15
|
+
// "yml/key-name-casing": State.OFF,
|
|
16
|
+
// "yml/no-empty-document": State.OFF,
|
|
17
|
+
"yml/no-empty-key": State.WARN,
|
|
18
|
+
// "yml/no-empty-mapping-value": State.OFF /* @preference: breaks Home Assistant integration enablement shorthand style (would require a `{}` after) */,
|
|
19
|
+
"yml/no-empty-sequence-entry": State.WARN,
|
|
20
|
+
"yml/no-tab-indent": State.WARN,
|
|
21
|
+
// "yml/no-trailing-zeros": State.OFF,
|
|
22
|
+
// "yml/plain-scalar": State.OFF /* @CONFLICT: breaks any holdovers from YAML 1.1 or non-YAML 1.2 core implementers */,
|
|
23
|
+
// "yml/quotes": State.OFF,
|
|
24
|
+
"yml/require-string-key": State.WARN,
|
|
25
|
+
// "yml/sort-keys": State.OFF,
|
|
26
|
+
// "yml/sort-sequence-values": State.OFF,
|
|
27
|
+
// "yml/vue-custom-block/no-parsing-error": State.OFF,
|
|
28
|
+
//#endregion
|
|
29
|
+
//#region Extension
|
|
30
|
+
// "yml/flow-mapping-curly-newline": State.OFF,
|
|
31
|
+
// "yml/flow-mapping-curly-spacing": State.OFF,
|
|
32
|
+
// "yml/flow-sequence-bracket-newline": State.OFF,
|
|
33
|
+
// "yml/flow-sequence-bracket-spacing": State.OFF,
|
|
34
|
+
// "yml/key-spacing": State.OFF,
|
|
35
|
+
"yml/no-irregular-whitespace": State.ON,
|
|
36
|
+
// "yml/no-multiple-empty-lines": State.OFF,
|
|
37
|
+
"yml/spaced-comment": [
|
|
38
|
+
State.WARN,
|
|
39
|
+
"always",
|
|
40
|
+
{
|
|
41
|
+
exceptions: ["#"],
|
|
42
|
+
markers: [
|
|
43
|
+
"-",
|
|
44
|
+
"#",
|
|
45
|
+
"##",
|
|
46
|
+
"###",
|
|
47
|
+
"####",
|
|
48
|
+
"#####",
|
|
49
|
+
"region",
|
|
50
|
+
"endregion",
|
|
51
|
+
],
|
|
52
|
+
},
|
|
53
|
+
],
|
|
54
|
+
//#endregion
|
|
55
|
+
} as const,
|
|
56
|
+
},
|
|
7
57
|
];
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { State } from "../state.js";
|
|
2
|
-
declare const _default: {
|
|
3
|
-
rules: {
|
|
4
|
-
readonly "no-unused-expressions": State.OFF;
|
|
5
|
-
readonly "ts/no-unsafe-call": State.OFF;
|
|
6
|
-
readonly "ts/strict-void-return": State.OFF;
|
|
7
|
-
};
|
|
8
|
-
}[];
|
|
9
|
-
export default _default;
|
|
10
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/rules/mocha/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;;;;;;;;AAEjC,wBAQE"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/rules/mocha/index.ts"],"names":[],"mappings":"AAEA,eAAe;IACb;QACE,KAAK,EAAE;YACL,uBAAuB,GAAW;YAClC,mBAAmB,GAAW;YAC9B,uBAAuB,GAAW;SAC1B;KACX;CACF,CAAC"}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { State } from "../state.js";
|
|
2
|
-
declare const _default: {
|
|
3
|
-
rules: {
|
|
4
|
-
readonly "yml/no-irregular-whitespace": State.ON;
|
|
5
|
-
readonly "yml/spaced-comment": readonly [
|
|
6
|
-
State.WARN,
|
|
7
|
-
"always",
|
|
8
|
-
{
|
|
9
|
-
readonly exceptions: readonly [
|
|
10
|
-
"#"
|
|
11
|
-
];
|
|
12
|
-
readonly markers: readonly [
|
|
13
|
-
"-",
|
|
14
|
-
"#",
|
|
15
|
-
"##",
|
|
16
|
-
"###",
|
|
17
|
-
"####",
|
|
18
|
-
"#####",
|
|
19
|
-
"region",
|
|
20
|
-
"endregion"
|
|
21
|
-
];
|
|
22
|
-
}
|
|
23
|
-
];
|
|
24
|
-
};
|
|
25
|
-
};
|
|
26
|
-
export default _default;
|
|
27
|
-
//# sourceMappingURL=extend.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"extend.d.ts","sourceRoot":"","sources":["../../../src/rules/yml/extend.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;;;;;;;;;;AAGjC,wBA2BE"}
|
package/dist/rules/yml/extend.js
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
export default {
|
|
2
|
-
rules: {
|
|
3
|
-
"yml/no-irregular-whitespace": 2,
|
|
4
|
-
"yml/spaced-comment": [
|
|
5
|
-
1,
|
|
6
|
-
"always",
|
|
7
|
-
{
|
|
8
|
-
exceptions: ["#"],
|
|
9
|
-
markers: [
|
|
10
|
-
"-",
|
|
11
|
-
"#",
|
|
12
|
-
"##",
|
|
13
|
-
"###",
|
|
14
|
-
"####",
|
|
15
|
-
"#####",
|
|
16
|
-
"region",
|
|
17
|
-
"endregion",
|
|
18
|
-
],
|
|
19
|
-
},
|
|
20
|
-
],
|
|
21
|
-
},
|
|
22
|
-
};
|
|
23
|
-
//# sourceMappingURL=extend.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"extend.js","sourceRoot":"","sources":["../../../src/rules/yml/extend.ts"],"names":[],"mappings":"AAGA,eAAe;IACb,KAAK,EAAE;QAML,6BAA6B,GAAU;QAEvC,oBAAoB,EAAE;;YAEpB,QAAQ;YACR;gBACE,UAAU,EAAE,CAAC,GAAG,CAAC;gBACjB,OAAO,EAAE;oBACP,GAAG;oBACH,GAAG;oBACH,IAAI;oBACJ,KAAK;oBACL,MAAM;oBACN,OAAO;oBACP,QAAQ;oBACR,WAAW;iBACZ;aACF;SACF;KACO;CACX,CAAC"}
|
package/dist/rules/yml/yml.d.ts
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { State } from "../state.js";
|
|
2
|
-
declare const _default: {
|
|
3
|
-
rules: {
|
|
4
|
-
readonly "yml/block-mapping-colon-indicator-newline": State.WARN;
|
|
5
|
-
readonly "yml/block-mapping-question-indicator-newline": State.WARN;
|
|
6
|
-
readonly "yml/block-mapping": State.WARN;
|
|
7
|
-
readonly "yml/block-sequence-hyphen-indicator-newline": State.WARN;
|
|
8
|
-
readonly "yml/block-sequence": State.WARN;
|
|
9
|
-
readonly "yml/no-empty-key": State.WARN;
|
|
10
|
-
readonly "yml/no-empty-sequence-entry": State.WARN;
|
|
11
|
-
readonly "yml/no-tab-indent": State.WARN;
|
|
12
|
-
readonly "yml/require-string-key": State.WARN;
|
|
13
|
-
};
|
|
14
|
-
};
|
|
15
|
-
export default _default;
|
|
16
|
-
//# sourceMappingURL=yml.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"yml.d.ts","sourceRoot":"","sources":["../../../src/rules/yml/yml.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;;;;;;;;;;;;;;AAGjC,wBAuBE"}
|
package/dist/rules/yml/yml.js
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
export default {
|
|
2
|
-
rules: {
|
|
3
|
-
"yml/block-mapping-colon-indicator-newline": 1,
|
|
4
|
-
"yml/block-mapping-question-indicator-newline": 1,
|
|
5
|
-
"yml/block-mapping": 1,
|
|
6
|
-
"yml/block-sequence-hyphen-indicator-newline": 1,
|
|
7
|
-
"yml/block-sequence": 1,
|
|
8
|
-
"yml/no-empty-key": 1,
|
|
9
|
-
"yml/no-empty-sequence-entry": 1,
|
|
10
|
-
"yml/no-tab-indent": 1,
|
|
11
|
-
"yml/require-string-key": 1,
|
|
12
|
-
},
|
|
13
|
-
};
|
|
14
|
-
//# sourceMappingURL=yml.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"yml.js","sourceRoot":"","sources":["../../../src/rules/yml/yml.ts"],"names":[],"mappings":"AAGA,eAAe;IACb,KAAK,EAAE;QACL,2CAA2C,GAAY;QACvD,8CAA8C,GAAY;QAC1D,mBAAmB,GAAY;QAC/B,6CAA6C,GAAY;QACzD,oBAAoB,GAAY;QAKhC,kBAAkB,GAAY;QAE9B,6BAA6B,GAAY;QACzC,mBAAmB,GAAY;QAI/B,wBAAwB,GAAY;KAI5B;CACX,CAAC"}
|
package/src/rules/mocha/index.ts
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { State } from "../state";
|
|
2
|
-
|
|
3
|
-
export default [
|
|
4
|
-
{
|
|
5
|
-
rules: {
|
|
6
|
-
"no-unused-expressions": State.OFF /* fails to detect valueful assertions in mocha */,
|
|
7
|
-
"ts/no-unsafe-call": State.OFF /* fails to detect valueful assertions in mocha */,
|
|
8
|
-
"ts/strict-void-return": State.OFF /* false positive in mocha test-case async function context */,
|
|
9
|
-
} as const,
|
|
10
|
-
},
|
|
11
|
-
];
|
package/src/rules/yml/extend.ts
DELETED
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { State } from "../state";
|
|
2
|
-
|
|
3
|
-
// DOC: https://ota-meshi.github.io/eslint-plugin-yml/rules/#extension-rules
|
|
4
|
-
export default {
|
|
5
|
-
rules: {
|
|
6
|
-
// "yml/flow-mapping-curly-newline": State.OFF,
|
|
7
|
-
// "yml/flow-mapping-curly-spacing": State.OFF,
|
|
8
|
-
// "yml/flow-sequence-bracket-newline": State.OFF,
|
|
9
|
-
// "yml/flow-sequence-bracket-spacing": State.OFF,
|
|
10
|
-
// "yml/key-spacing": State.OFF,
|
|
11
|
-
"yml/no-irregular-whitespace": State.ON,
|
|
12
|
-
// "yml/no-multiple-empty-lines": State.OFF,
|
|
13
|
-
"yml/spaced-comment": [
|
|
14
|
-
State.WARN,
|
|
15
|
-
"always",
|
|
16
|
-
{
|
|
17
|
-
exceptions: ["#"],
|
|
18
|
-
markers: [
|
|
19
|
-
"-",
|
|
20
|
-
"#",
|
|
21
|
-
"##",
|
|
22
|
-
"###",
|
|
23
|
-
"####",
|
|
24
|
-
"#####",
|
|
25
|
-
"region",
|
|
26
|
-
"endregion",
|
|
27
|
-
],
|
|
28
|
-
},
|
|
29
|
-
],
|
|
30
|
-
} as const,
|
|
31
|
-
};
|
package/src/rules/yml/yml.ts
DELETED
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { State } from "../state";
|
|
2
|
-
|
|
3
|
-
// DOC: https://ota-meshi.github.io/eslint-plugin-yml/rules/#yaml-rules
|
|
4
|
-
export default {
|
|
5
|
-
rules: {
|
|
6
|
-
"yml/block-mapping-colon-indicator-newline": State.WARN,
|
|
7
|
-
"yml/block-mapping-question-indicator-newline": State.WARN,
|
|
8
|
-
"yml/block-mapping": State.WARN,
|
|
9
|
-
"yml/block-sequence-hyphen-indicator-newline": State.WARN,
|
|
10
|
-
"yml/block-sequence": State.WARN,
|
|
11
|
-
// "yml/file-extension": State.OFF,
|
|
12
|
-
// "yml/indent": State.OFF,
|
|
13
|
-
// "yml/key-name-casing": State.OFF,
|
|
14
|
-
// "yml/no-empty-document": State.OFF,
|
|
15
|
-
"yml/no-empty-key": State.WARN,
|
|
16
|
-
// "yml/no-empty-mapping-value": State.OFF /* @preference: breaks Home Assistant integration enablement shorthand style (would require a `{}` after) */,
|
|
17
|
-
"yml/no-empty-sequence-entry": State.WARN,
|
|
18
|
-
"yml/no-tab-indent": State.WARN,
|
|
19
|
-
// "yml/no-trailing-zeros": State.OFF,
|
|
20
|
-
// "yml/plain-scalar": State.OFF /* @CONFLICT: breaks any holdovers from YAML 1.1 or non-YAML 1.2 core implementers */,
|
|
21
|
-
// "yml/quotes": State.OFF,
|
|
22
|
-
"yml/require-string-key": State.WARN,
|
|
23
|
-
// "yml/sort-keys": State.OFF,
|
|
24
|
-
// "yml/sort-sequence-values": State.OFF,
|
|
25
|
-
// "yml/vue-custom-block/no-parsing-error": State.OFF,
|
|
26
|
-
} as const,
|
|
27
|
-
};
|