@eslinted/defaults 19.0.5 → 19.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +1 -20
- package/dist/index.d.ts.map +1 -1
- package/dist/rules/index.d.ts +1 -20
- package/dist/rules/index.d.ts.map +1 -1
- package/dist/rules/js.stylistic.js +2 -2
- package/dist/rules/js.stylistic.js.map +1 -1
- package/dist/rules/svelte/disable.d.ts +1 -0
- package/dist/rules/svelte/disable.d.ts.map +1 -1
- package/dist/rules/svelte/disable.js +1 -0
- package/dist/rules/svelte/disable.js.map +1 -1
- package/dist/rules/svelte/index.d.ts +1 -1
- package/dist/rules/svelte/svelte.d.ts +0 -1
- package/dist/rules/svelte/svelte.d.ts.map +1 -1
- package/dist/rules/svelte/svelte.js +0 -1
- package/dist/rules/svelte/svelte.js.map +1 -1
- package/dist/rules/yml/extend.d.ts +0 -18
- package/dist/rules/yml/extend.d.ts.map +1 -1
- package/dist/rules/yml/extend.js +0 -18
- package/dist/rules/yml/extend.js.map +1 -1
- package/dist/rules/yml/index.d.ts +0 -19
- package/dist/rules/yml/index.d.ts.map +1 -1
- package/dist/rules/yml/yml.d.ts +0 -1
- package/dist/rules/yml/yml.d.ts.map +1 -1
- package/dist/rules/yml/yml.js +0 -1
- package/dist/rules/yml/yml.js.map +1 -1
- package/dprint.jsonc +233 -0
- package/package.json +1 -1
- package/src/rules/js.stylistic.ts +2 -2
- package/src/rules/svelte/disable.ts +2 -0
- package/src/rules/svelte/svelte.ts +1 -1
- package/src/rules/yml/extend.ts +4 -18
- package/src/rules/yml/yml.ts +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -822,6 +822,7 @@ declare const _default: {
|
|
|
822
822
|
readonly "prefer-const": import("./rules/state.js").State.OFF;
|
|
823
823
|
readonly "stylistic/indent": import("./rules/state.js").State.OFF;
|
|
824
824
|
readonly "ts/no-confusing-void-expression": import("./rules/state.js").State.OFF;
|
|
825
|
+
readonly "stylistic/object-curly-spacing": import("./rules/state.js").State.OFF;
|
|
825
826
|
};
|
|
826
827
|
} | {
|
|
827
828
|
rules: {
|
|
@@ -896,7 +897,6 @@ declare const _default: {
|
|
|
896
897
|
}
|
|
897
898
|
];
|
|
898
899
|
readonly "svelte/derived-has-same-inputs-outputs": import("./rules/state.js").State.ON;
|
|
899
|
-
readonly "svelte/mustache-spacing": import("./rules/state.js").State.WARN;
|
|
900
900
|
readonly "svelte/no-extra-reactive-curlies": import("./rules/state.js").State.WARN;
|
|
901
901
|
readonly "svelte/prefer-class-directive": readonly [
|
|
902
902
|
import("./rules/state.js").State.WARN,
|
|
@@ -1070,7 +1070,6 @@ declare const _default: {
|
|
|
1070
1070
|
readonly "yml/block-mapping": import("./rules/state.js").State.WARN;
|
|
1071
1071
|
readonly "yml/block-sequence-hyphen-indicator-newline": import("./rules/state.js").State.WARN;
|
|
1072
1072
|
readonly "yml/block-sequence": import("./rules/state.js").State.WARN;
|
|
1073
|
-
readonly "yml/indent": import("./rules/state.js").State.WARN;
|
|
1074
1073
|
readonly "yml/no-empty-key": import("./rules/state.js").State.WARN;
|
|
1075
1074
|
readonly "yml/no-empty-sequence-entry": import("./rules/state.js").State.WARN;
|
|
1076
1075
|
readonly "yml/no-tab-indent": import("./rules/state.js").State.WARN;
|
|
@@ -1078,25 +1077,7 @@ declare const _default: {
|
|
|
1078
1077
|
};
|
|
1079
1078
|
} | {
|
|
1080
1079
|
rules: {
|
|
1081
|
-
readonly "yml/flow-mapping-curly-newline": readonly [
|
|
1082
|
-
import("./rules/state.js").State.WARN,
|
|
1083
|
-
{
|
|
1084
|
-
readonly consistent: true;
|
|
1085
|
-
readonly multiline: true;
|
|
1086
|
-
readonly minProperties: 2;
|
|
1087
|
-
}
|
|
1088
|
-
];
|
|
1089
|
-
readonly "yml/flow-sequence-bracket-newline": import("./rules/state.js").State.WARN;
|
|
1090
|
-
readonly "yml/key-spacing": import("./rules/state.js").State.WARN;
|
|
1091
1080
|
readonly "yml/no-irregular-whitespace": import("./rules/state.js").State.ON;
|
|
1092
|
-
readonly "yml/no-multiple-empty-lines": readonly [
|
|
1093
|
-
import("./rules/state.js").State.WARN,
|
|
1094
|
-
{
|
|
1095
|
-
readonly max: 1;
|
|
1096
|
-
readonly maxBOF: 0;
|
|
1097
|
-
readonly maxEOF: 0;
|
|
1098
|
-
}
|
|
1099
|
-
];
|
|
1100
1081
|
readonly "yml/spaced-comment": readonly [
|
|
1101
1082
|
import("./rules/state.js").State.WARN,
|
|
1102
1083
|
"always",
|
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"}
|
package/dist/rules/index.d.ts
CHANGED
|
@@ -805,6 +805,7 @@ declare const _default: {
|
|
|
805
805
|
readonly "prefer-const": import("./state.js").State.OFF;
|
|
806
806
|
readonly "stylistic/indent": import("./state.js").State.OFF;
|
|
807
807
|
readonly "ts/no-confusing-void-expression": import("./state.js").State.OFF;
|
|
808
|
+
readonly "stylistic/object-curly-spacing": import("./state.js").State.OFF;
|
|
808
809
|
};
|
|
809
810
|
} | {
|
|
810
811
|
rules: {
|
|
@@ -879,7 +880,6 @@ declare const _default: {
|
|
|
879
880
|
}
|
|
880
881
|
];
|
|
881
882
|
readonly "svelte/derived-has-same-inputs-outputs": import("./state.js").State.ON;
|
|
882
|
-
readonly "svelte/mustache-spacing": import("./state.js").State.WARN;
|
|
883
883
|
readonly "svelte/no-extra-reactive-curlies": import("./state.js").State.WARN;
|
|
884
884
|
readonly "svelte/prefer-class-directive": readonly [
|
|
885
885
|
import("./state.js").State.WARN,
|
|
@@ -1053,7 +1053,6 @@ declare const _default: {
|
|
|
1053
1053
|
readonly "yml/block-mapping": import("./state.js").State.WARN;
|
|
1054
1054
|
readonly "yml/block-sequence-hyphen-indicator-newline": import("./state.js").State.WARN;
|
|
1055
1055
|
readonly "yml/block-sequence": import("./state.js").State.WARN;
|
|
1056
|
-
readonly "yml/indent": import("./state.js").State.WARN;
|
|
1057
1056
|
readonly "yml/no-empty-key": import("./state.js").State.WARN;
|
|
1058
1057
|
readonly "yml/no-empty-sequence-entry": import("./state.js").State.WARN;
|
|
1059
1058
|
readonly "yml/no-tab-indent": import("./state.js").State.WARN;
|
|
@@ -1061,25 +1060,7 @@ declare const _default: {
|
|
|
1061
1060
|
};
|
|
1062
1061
|
} | {
|
|
1063
1062
|
rules: {
|
|
1064
|
-
readonly "yml/flow-mapping-curly-newline": readonly [
|
|
1065
|
-
import("./state.js").State.WARN,
|
|
1066
|
-
{
|
|
1067
|
-
readonly consistent: true;
|
|
1068
|
-
readonly multiline: true;
|
|
1069
|
-
readonly minProperties: 2;
|
|
1070
|
-
}
|
|
1071
|
-
];
|
|
1072
|
-
readonly "yml/flow-sequence-bracket-newline": import("./state.js").State.WARN;
|
|
1073
|
-
readonly "yml/key-spacing": import("./state.js").State.WARN;
|
|
1074
1063
|
readonly "yml/no-irregular-whitespace": import("./state.js").State.ON;
|
|
1075
|
-
readonly "yml/no-multiple-empty-lines": readonly [
|
|
1076
|
-
import("./state.js").State.WARN,
|
|
1077
|
-
{
|
|
1078
|
-
readonly max: 1;
|
|
1079
|
-
readonly maxBOF: 0;
|
|
1080
|
-
readonly maxEOF: 0;
|
|
1081
|
-
}
|
|
1082
|
-
];
|
|
1083
1064
|
readonly "yml/spaced-comment": readonly [
|
|
1084
1065
|
import("./state.js").State.WARN,
|
|
1085
1066
|
"always",
|
|
@@ -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":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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UAAU;SACX;QACD,oBAAoB,GAAY;QAChC,0CAA0C,EAAE;;YAE1C,YAAY;SACb;QACD,iCAAiC,GAAY;QAC7C,kCAAkC,EAAE;;YAElC,qBAAqB;SACtB;QACD,kCAAkC,GAAY;QAC9C,oCAAoC,GAAY;QAChD,kBAAkB,EAAE;;YAElB,CAAC;YACD;gBACE,kBAAkB,EAAE,CAAC;gBACrB,kBAAkB,EAAE;oBAClB,
|
|
1
|
+
{"version":3,"file":"js.stylistic.js","sourceRoot":"","sources":["../../src/rules/js.stylistic.ts"],"names":[],"mappings":"AAGA,eAAe;IACb,KAAK,EAAE;QACL,iCAAiC,GAAY;QAC7C,iCAAiC,GAAY;QAC7C,iCAAiC,EAAE;;YAEjC;gBACE,UAAU,EAAE,IAAI;gBAChB,SAAS,EAAE,IAAI;gBACf,QAAQ,EAAE,CAAC;aACZ;SACF;QACD,wBAAwB,EAAE;;YAExB,WAAW;SACZ;QACD,yBAAyB,GAAY;QACrC,yBAAyB,GAAY;QACrC,uBAAuB,EAAE;;YAEvB,YAAY;YACZ;gBACE,eAAe,EAAE,IAAI;aACtB;SACF;QACD,wBAAwB,EAAE;;YAExB,kBAAkB;SACnB;QACD,yBAAyB,GAAY;QACrC,uBAAuB,GAAY;QACnC,qCAAqC,GAAY;QACjD,yBAAyB,GAAY;QACrC,wBAAwB,EAAE;;YAExB,UAAU;SACX;QACD,oBAAoB,GAAY;QAChC,0CAA0C,EAAE;;YAE1C,YAAY;SACb;QACD,iCAAiC,GAAY;QAC7C,kCAAkC,EAAE;;YAElC,qBAAqB;SACtB;QACD,kCAAkC,GAAY;QAC9C,oCAAoC,GAAY;QAChD,kBAAkB,EAAE;;YAElB,CAAC;YACD;gBACE,kBAAkB,EAAE,CAAC;gBACrB,kBAAkB,EAAE;oBAClB,KAAK,EAAE,CAAC;oBACR,GAAG,EAAE,CAAC;oBACN,OAAO,EAAE,CAAC;iBACX;gBACD,aAAa,EAAE,CAAC;gBAChB,wBAAwB,EAAE,IAAI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AM,EAAE,IAAI;gBACZ,KAAK,EAAE,IAAI;gBACX,SAAS,EAAE;oBACT,KAAK,EAAE;wBACL,MAAM,EAAE,KAAK;wBACb,KAAK,EAAE,IAAI;qBACZ;iBACF;aACF;SACF;QACD,gCAAgC,GAAY;QAC5C,oCAAoC,GAAY;QAChD,qBAAqB,EAAE;;YAErB,QAAQ;YACR;gBACE,wBAAwB,EAAE,IAAI;aAC/B;SACF;QACD,sBAAsB,GAAY;QAClC,8BAA8B,GAAY;KAClC;CACX,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"disable.d.ts","sourceRoot":"","sources":["../../../src/rules/svelte/disable.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC
|
|
1
|
+
{"version":3,"file":"disable.d.ts","sourceRoot":"","sources":["../../../src/rules/svelte/disable.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;;;;;;;;;;;;;AAGjC,wBAeE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"disable.js","sourceRoot":"","sources":["../../../src/rules/svelte/disable.ts"],"names":[],"mappings":"AAGA,eAAe;IACb,KAAK,EAAE;QAEL,uBAAuB,GACZ;QACX,gBAAgB,GAAW;QAC3B,gBAAgB,GAAW;QAC3B,mBAAmB,GAAW;QAC9B,cAAc,GAAW;QAEzB,kBAAkB,GAAW;QAC7B,iCAAiC,GAAW;
|
|
1
|
+
{"version":3,"file":"disable.js","sourceRoot":"","sources":["../../../src/rules/svelte/disable.ts"],"names":[],"mappings":"AAGA,eAAe;IACb,KAAK,EAAE;QAEL,uBAAuB,GACZ;QACX,gBAAgB,GAAW;QAC3B,gBAAgB,GAAW;QAC3B,mBAAmB,GAAW;QAC9B,cAAc,GAAW;QAEzB,kBAAkB,GAAW;QAC7B,iCAAiC,GAAW;QAE5C,gCAAgC,GAAW;KACnC;CACX,CAAC"}
|
|
@@ -7,6 +7,7 @@ declare const _default: ({
|
|
|
7
7
|
readonly "prefer-const": import("../state.js").State.OFF;
|
|
8
8
|
readonly "stylistic/indent": import("../state.js").State.OFF;
|
|
9
9
|
readonly "ts/no-confusing-void-expression": import("../state.js").State.OFF;
|
|
10
|
+
readonly "stylistic/object-curly-spacing": import("../state.js").State.OFF;
|
|
10
11
|
};
|
|
11
12
|
} | {
|
|
12
13
|
rules: {
|
|
@@ -81,7 +82,6 @@ declare const _default: ({
|
|
|
81
82
|
}
|
|
82
83
|
];
|
|
83
84
|
readonly "svelte/derived-has-same-inputs-outputs": import("../state.js").State.ON;
|
|
84
|
-
readonly "svelte/mustache-spacing": import("../state.js").State.WARN;
|
|
85
85
|
readonly "svelte/no-extra-reactive-curlies": import("../state.js").State.WARN;
|
|
86
86
|
readonly "svelte/prefer-class-directive": readonly [
|
|
87
87
|
import("../state.js").State.WARN,
|
|
@@ -72,7 +72,6 @@ declare const _default: {
|
|
|
72
72
|
}
|
|
73
73
|
];
|
|
74
74
|
readonly "svelte/derived-has-same-inputs-outputs": State.ON;
|
|
75
|
-
readonly "svelte/mustache-spacing": State.WARN;
|
|
76
75
|
readonly "svelte/no-extra-reactive-curlies": State.WARN;
|
|
77
76
|
readonly "svelte/prefer-class-directive": readonly [
|
|
78
77
|
State.WARN,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"svelte.d.ts","sourceRoot":"","sources":["../../../src/rules/svelte/svelte.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC
|
|
1
|
+
{"version":3,"file":"svelte.d.ts","sourceRoot":"","sources":["../../../src/rules/svelte/svelte.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGjC,wBA0HE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"svelte.js","sourceRoot":"","sources":["../../../src/rules/svelte/svelte.ts"],"names":[],"mappings":"AAGA,eAAe;IACb,KAAK,EAAE;QAGL,+BAA+B,GAAU;QACzC,4BAA4B,GAAU;QACtC,+BAA+B,GAAU;QACzC,8BAA8B,GAAU;QACxC,iCAAiC,GAAU;QAC3C,+BAA+B,GAAU;QACzC,gCAAgC,GAAU;QAC1C,oCAAoC,GAAU;QAC9C,gCAAgC,GAAU;QAC1C,6BAA6B,GAAU;QACvC,8CAA8C,GAAU;QACxD,uBAAuB,GAAU;QACjC,qCAAqC,GAAU;QAC/C,4CAA4C,GAAU;QACtD,iCAAiC,GAAU;QAC3C,8CAA8C,GAAU;QACxD,sCAAsC,GAAU;QAChD,sBAAsB,GAAU;QAChC,0BAA0B,GAAU;QAKpC,wBAAwB,GAAU;QAClC,wBAAwB,GAAU;QAKlC,mBAAmB,EAAE;;YAEnB;gBACE,MAAM,EAAE,CAAC,IAAI,CAAC;gBACd,KAAK,EAAE,CAAC,KAAK,CAAC;aACf;SACF;QACD,wBAAwB,GAAU;QAClC,8BAA8B,GAAU;QACxC,yBAAyB,GAAU;QACnC,+BAA+B,GAAU;QACzC,yCAAyC,GAAU;QACnD,yBAAyB,GAAU;QACnC,8BAA8B,GAAU;QACxC,6BAA6B,GAAU;QACvC,2BAA2B,GAAU;QACrC,kCAAkC,GAAU;QAE5C,wBAAwB,EAAE;;YAExB;gBACE,kBAAkB,EAAE,IAAI;aACzB;SACF;QACD,gCAAgC,GAAY;QAC5C,oCAAoC,GAAY;QAChD,6BAA6B,GAAY;QACzC,qBAAqB,EAAE;;YAErB;gBACE,aAAa,EAAE,KAAK;aACrB;SACF;QACD,wCAAwC,GAAY;QACpD,gCAAgC,GAAY;QAC5C,yBAAyB,GAAU;QACnC,uCAAuC,GAAU;QACjD,0CAA0C,GAAU;QACpD,4BAA4B,GAAU;QACtC,uBAAuB,GAAU;QAKjC,kCAAkC,EAAE;;YAElC;gBACE,WAAW,EAAE,IAAI;aAClB;SACF;QACD,wCAAwC,GAAU;
|
|
1
|
+
{"version":3,"file":"svelte.js","sourceRoot":"","sources":["../../../src/rules/svelte/svelte.ts"],"names":[],"mappings":"AAGA,eAAe;IACb,KAAK,EAAE;QAGL,+BAA+B,GAAU;QACzC,4BAA4B,GAAU;QACtC,+BAA+B,GAAU;QACzC,8BAA8B,GAAU;QACxC,iCAAiC,GAAU;QAC3C,+BAA+B,GAAU;QACzC,gCAAgC,GAAU;QAC1C,oCAAoC,GAAU;QAC9C,gCAAgC,GAAU;QAC1C,6BAA6B,GAAU;QACvC,8CAA8C,GAAU;QACxD,uBAAuB,GAAU;QACjC,qCAAqC,GAAU;QAC/C,4CAA4C,GAAU;QACtD,iCAAiC,GAAU;QAC3C,8CAA8C,GAAU;QACxD,sCAAsC,GAAU;QAChD,sBAAsB,GAAU;QAChC,0BAA0B,GAAU;QAKpC,wBAAwB,GAAU;QAClC,wBAAwB,GAAU;QAKlC,mBAAmB,EAAE;;YAEnB;gBACE,MAAM,EAAE,CAAC,IAAI,CAAC;gBACd,KAAK,EAAE,CAAC,KAAK,CAAC;aACf;SACF;QACD,wBAAwB,GAAU;QAClC,8BAA8B,GAAU;QACxC,yBAAyB,GAAU;QACnC,+BAA+B,GAAU;QACzC,yCAAyC,GAAU;QACnD,yBAAyB,GAAU;QACnC,8BAA8B,GAAU;QACxC,6BAA6B,GAAU;QACvC,2BAA2B,GAAU;QACrC,kCAAkC,GAAU;QAE5C,wBAAwB,EAAE;;YAExB;gBACE,kBAAkB,EAAE,IAAI;aACzB;SACF;QACD,gCAAgC,GAAY;QAC5C,oCAAoC,GAAY;QAChD,6BAA6B,GAAY;QACzC,qBAAqB,EAAE;;YAErB;gBACE,aAAa,EAAE,KAAK;aACrB;SACF;QACD,wCAAwC,GAAY;QACpD,gCAAgC,GAAY;QAC5C,yBAAyB,GAAU;QACnC,uCAAuC,GAAU;QACjD,0CAA0C,GAAU;QACpD,4BAA4B,GAAU;QACtC,uBAAuB,GAAU;QAKjC,kCAAkC,EAAE;;YAElC;gBACE,WAAW,EAAE,IAAI;aAClB;SACF;QACD,wCAAwC,GAAU;QASlD,kCAAkC,GAAY;QAG9C,+BAA+B,EAAE;;YAE/B;gBACE,MAAM,EAAE,OAAO;aAChB;SACF;QACD,+BAA+B,GAAY;QAC3C,6BAA6B,GAAU;QACvC,4BAA4B,GAAY;QACxC,4BAA4B,GAAY;QAOxC,qDAAqD,GAAU;QAC/D,sCAAsC,GAAU;QAChD,sCAAsC,GAAU;QAKhD,0BAA0B,GAAU;QACpC,eAAe,GAAU;KAEjB;CACX,CAAC"}
|
|
@@ -1,25 +1,7 @@
|
|
|
1
1
|
import { State } from "../state.js";
|
|
2
2
|
declare const _default: {
|
|
3
3
|
rules: {
|
|
4
|
-
readonly "yml/flow-mapping-curly-newline": readonly [
|
|
5
|
-
State.WARN,
|
|
6
|
-
{
|
|
7
|
-
readonly consistent: true;
|
|
8
|
-
readonly multiline: true;
|
|
9
|
-
readonly minProperties: 2;
|
|
10
|
-
}
|
|
11
|
-
];
|
|
12
|
-
readonly "yml/flow-sequence-bracket-newline": State.WARN;
|
|
13
|
-
readonly "yml/key-spacing": State.WARN;
|
|
14
4
|
readonly "yml/no-irregular-whitespace": State.ON;
|
|
15
|
-
readonly "yml/no-multiple-empty-lines": readonly [
|
|
16
|
-
State.WARN,
|
|
17
|
-
{
|
|
18
|
-
readonly max: 1;
|
|
19
|
-
readonly maxBOF: 0;
|
|
20
|
-
readonly maxEOF: 0;
|
|
21
|
-
}
|
|
22
|
-
];
|
|
23
5
|
readonly "yml/spaced-comment": readonly [
|
|
24
6
|
State.WARN,
|
|
25
7
|
"always",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"extend.d.ts","sourceRoot":"","sources":["../../../src/rules/yml/extend.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC
|
|
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
CHANGED
|
@@ -1,24 +1,6 @@
|
|
|
1
1
|
export default {
|
|
2
2
|
rules: {
|
|
3
|
-
"yml/flow-mapping-curly-newline": [
|
|
4
|
-
1,
|
|
5
|
-
{
|
|
6
|
-
consistent: true,
|
|
7
|
-
multiline: true,
|
|
8
|
-
minProperties: 2,
|
|
9
|
-
},
|
|
10
|
-
],
|
|
11
|
-
"yml/flow-sequence-bracket-newline": 1,
|
|
12
|
-
"yml/key-spacing": 1,
|
|
13
3
|
"yml/no-irregular-whitespace": 2,
|
|
14
|
-
"yml/no-multiple-empty-lines": [
|
|
15
|
-
1,
|
|
16
|
-
{
|
|
17
|
-
max: 1,
|
|
18
|
-
maxBOF: 0,
|
|
19
|
-
maxEOF: 0,
|
|
20
|
-
},
|
|
21
|
-
],
|
|
22
4
|
"yml/spaced-comment": [
|
|
23
5
|
1,
|
|
24
6
|
"always",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"extend.js","sourceRoot":"","sources":["../../../src/rules/yml/extend.ts"],"names":[],"mappings":"AAGA,eAAe;IACb,KAAK,EAAE;
|
|
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"}
|
|
@@ -5,7 +5,6 @@ declare const _default: ({
|
|
|
5
5
|
readonly "yml/block-mapping": import("../state.js").State.WARN;
|
|
6
6
|
readonly "yml/block-sequence-hyphen-indicator-newline": import("../state.js").State.WARN;
|
|
7
7
|
readonly "yml/block-sequence": import("../state.js").State.WARN;
|
|
8
|
-
readonly "yml/indent": import("../state.js").State.WARN;
|
|
9
8
|
readonly "yml/no-empty-key": import("../state.js").State.WARN;
|
|
10
9
|
readonly "yml/no-empty-sequence-entry": import("../state.js").State.WARN;
|
|
11
10
|
readonly "yml/no-tab-indent": import("../state.js").State.WARN;
|
|
@@ -13,25 +12,7 @@ declare const _default: ({
|
|
|
13
12
|
};
|
|
14
13
|
} | {
|
|
15
14
|
rules: {
|
|
16
|
-
readonly "yml/flow-mapping-curly-newline": readonly [
|
|
17
|
-
import("../state.js").State.WARN,
|
|
18
|
-
{
|
|
19
|
-
readonly consistent: true;
|
|
20
|
-
readonly multiline: true;
|
|
21
|
-
readonly minProperties: 2;
|
|
22
|
-
}
|
|
23
|
-
];
|
|
24
|
-
readonly "yml/flow-sequence-bracket-newline": import("../state.js").State.WARN;
|
|
25
|
-
readonly "yml/key-spacing": import("../state.js").State.WARN;
|
|
26
15
|
readonly "yml/no-irregular-whitespace": import("../state.js").State.ON;
|
|
27
|
-
readonly "yml/no-multiple-empty-lines": readonly [
|
|
28
|
-
import("../state.js").State.WARN,
|
|
29
|
-
{
|
|
30
|
-
readonly max: 1;
|
|
31
|
-
readonly maxBOF: 0;
|
|
32
|
-
readonly maxEOF: 0;
|
|
33
|
-
}
|
|
34
|
-
];
|
|
35
16
|
readonly "yml/spaced-comment": readonly [
|
|
36
17
|
import("../state.js").State.WARN,
|
|
37
18
|
"always",
|
|
@@ -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":";;;;;;;;;;;;;;;;;;;;;AAGA,wBAGE"}
|
package/dist/rules/yml/yml.d.ts
CHANGED
|
@@ -6,7 +6,6 @@ declare const _default: {
|
|
|
6
6
|
readonly "yml/block-mapping": State.WARN;
|
|
7
7
|
readonly "yml/block-sequence-hyphen-indicator-newline": State.WARN;
|
|
8
8
|
readonly "yml/block-sequence": State.WARN;
|
|
9
|
-
readonly "yml/indent": State.WARN;
|
|
10
9
|
readonly "yml/no-empty-key": State.WARN;
|
|
11
10
|
readonly "yml/no-empty-sequence-entry": State.WARN;
|
|
12
11
|
readonly "yml/no-tab-indent": State.WARN;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"yml.d.ts","sourceRoot":"","sources":["../../../src/rules/yml/yml.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC
|
|
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
CHANGED
|
@@ -1 +1 @@
|
|
|
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;
|
|
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/dprint.jsonc
ADDED
|
@@ -0,0 +1,233 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://raw.githubusercontent.com/jimmy-zhening-luo/dprint/refs/heads/main/dprint-schema.json",
|
|
3
|
+
// $help: https://dprint.dev/config/
|
|
4
|
+
// $version: 0.5101.2
|
|
5
|
+
"plugins": [
|
|
6
|
+
"https://plugins.dprint.dev/typescript-0.95.13.wasm",
|
|
7
|
+
"https://plugins.dprint.dev/json-0.21.0.wasm",
|
|
8
|
+
"https://plugins.dprint.dev/markdown-0.20.0.wasm",
|
|
9
|
+
"https://plugins.dprint.dev/g-plane/markup_fmt-v0.25.3.wasm",
|
|
10
|
+
"https://plugins.dprint.dev/g-plane/malva-v0.15.1.wasm",
|
|
11
|
+
"https://plugins.dprint.dev/g-plane/pretty_yaml-v0.5.1.wasm",
|
|
12
|
+
"https://plugins.dprint.dev/g-plane/pretty_jinja-v0.2.0.wasm",
|
|
13
|
+
"https://plugins.dprint.dev/roslyn-0.19.1.json@a5daf2404c57680374f255c78f1956916482aa4b4e90825f1a48eb5a7e343b35",
|
|
14
|
+
],
|
|
15
|
+
"excludes": [
|
|
16
|
+
"**/node_modules/**",
|
|
17
|
+
"**/*-lock.json",
|
|
18
|
+
"**/.clasprc.json",
|
|
19
|
+
"**/dist/**",
|
|
20
|
+
"**/.svelte-kit/**",
|
|
21
|
+
"**/.vscode/c_cpp_properties.json",
|
|
22
|
+
],
|
|
23
|
+
"lineWidth": 180,
|
|
24
|
+
"newLineKind": "lf",
|
|
25
|
+
"useTabs": false,
|
|
26
|
+
"indentWidth": 2,
|
|
27
|
+
"typescript": {
|
|
28
|
+
// $help: https://dprint.dev/plugins/typescript/
|
|
29
|
+
// $help: https://dprint.dev/plugins/typescript/config/
|
|
30
|
+
"locked": true,
|
|
31
|
+
"lineWidth": 180,
|
|
32
|
+
"newLineKind": "lf",
|
|
33
|
+
"useTabs": false,
|
|
34
|
+
"indentWidth": 2,
|
|
35
|
+
"ignoreNodeCommentText": "dprint-ignore",
|
|
36
|
+
"ignoreFileCommentText": "dprint-ignore-file",
|
|
37
|
+
"quoteStyle": "preferDouble",
|
|
38
|
+
"quoteProps": "asNeeded",
|
|
39
|
+
"semiColons": "always",
|
|
40
|
+
"preferHanging": false,
|
|
41
|
+
"preferSingleLine": false,
|
|
42
|
+
"spaceAround": false,
|
|
43
|
+
"trailingCommas": "onlyMultiLine",
|
|
44
|
+
"bracePosition": "sameLine",
|
|
45
|
+
"useBraces": "preferNone",
|
|
46
|
+
"operatorPosition": "nextLine",
|
|
47
|
+
"singleBodyPosition": "nextLine",
|
|
48
|
+
"nextControlFlowPosition": "nextLine",
|
|
49
|
+
"spaceSurroundingProperties": true,
|
|
50
|
+
"arrowFunction.useParentheses": "preferNone",
|
|
51
|
+
"binaryExpression.linePerExpression": true,
|
|
52
|
+
"binaryExpression.spaceSurroundingBitwiseAndArithmeticOperator": true,
|
|
53
|
+
"commentLine.forceSpaceAfterSlashes": false,
|
|
54
|
+
"constructor.spaceBeforeParentheses": true,
|
|
55
|
+
"constructorType.spaceAfterNewKeyword": false,
|
|
56
|
+
"constructSignature.spaceAfterNewKeyword": true,
|
|
57
|
+
"doWhileStatement.spaceAfterWhileKeyword": true,
|
|
58
|
+
"enumDeclaration.memberSpacing": "newLine",
|
|
59
|
+
"exportDeclaration.forceMultiLine": "whenMultiple",
|
|
60
|
+
"exportDeclaration.forceSingleLine": false,
|
|
61
|
+
"exportDeclaration.sortNamedExports": "maintain",
|
|
62
|
+
"exportDeclaration.sortTypeOnlyExports": "none",
|
|
63
|
+
"exportDeclaration.spaceSurroundingNamedExports": true,
|
|
64
|
+
"forInStatement.spaceAfterForKeyword": true,
|
|
65
|
+
"forStatement.spaceAfterSemiColons": true,
|
|
66
|
+
"functionDeclaration.spaceBeforeParentheses": false,
|
|
67
|
+
"functionExpression.spaceAfterFunctionKeyword": true,
|
|
68
|
+
"functionExpression.spaceBeforeParentheses": false,
|
|
69
|
+
"getAccessor.spaceBeforeParentheses": false,
|
|
70
|
+
"ifStatement.spaceAfterIfKeyword": true,
|
|
71
|
+
"importDeclaration.forceMultiLine": "whenMultiple",
|
|
72
|
+
"importDeclaration.forceSingleLine": false,
|
|
73
|
+
"importDeclaration.sortNamedImports": "maintain",
|
|
74
|
+
"importDeclaration.sortTypeOnlyImports": "none",
|
|
75
|
+
"importDeclaration.spaceSurroundingNamedImports": true,
|
|
76
|
+
"memberExpression.linePerExpression": true,
|
|
77
|
+
"method.spaceBeforeParentheses": false,
|
|
78
|
+
"module.sortExportDeclarations": "maintain",
|
|
79
|
+
"module.sortImportDeclarations": "maintain",
|
|
80
|
+
"setAccessor.spaceBeforeParentheses": false,
|
|
81
|
+
"taggedTemplate.spaceBeforeLiteral": false,
|
|
82
|
+
"typeAnnotation.spaceBeforeColon": false,
|
|
83
|
+
"typeAssertion.spaceBeforeExpression": false,
|
|
84
|
+
"typeLiteral.separatorKind": "semiColon",
|
|
85
|
+
"whileStatement.spaceAfterWhileKeyword": true,
|
|
86
|
+
},
|
|
87
|
+
"roslyn": {
|
|
88
|
+
// $help: https://learn.microsoft.com/en-us/dotnet/api/microsoft.codeanalysis.csharp.formatting.csharpformattingoptions#properties
|
|
89
|
+
// DOC:[source] https://github.com/dotnet/roslyn/blob/main/src/Workspaces/CSharp/Portable/Formatting/CSharpFormattingOptions.cs
|
|
90
|
+
"csharp.indentBlock": true,
|
|
91
|
+
"csharp.indentBraces": false,
|
|
92
|
+
"csharp.indentSwitchSection": true,
|
|
93
|
+
"csharp.indentSwitchCaseSection": true,
|
|
94
|
+
"csharp.indentSwitchCaseSectionWhenBlock": true,
|
|
95
|
+
"csharp.newLineForElse": true,
|
|
96
|
+
"csharp.newLineForCatch": true,
|
|
97
|
+
"csharp.newLineForFinally": true,
|
|
98
|
+
"csharp.labelPositioning": "LeftMost" /* 0 */,
|
|
99
|
+
"csharp.newLineForClausesInQuery": true,
|
|
100
|
+
"csharp.spaceAfterCast": false,
|
|
101
|
+
"csharp.newLineForMembersInAnonymousTypes": true,
|
|
102
|
+
"csharp.newLineForMembersInObjectInit": true,
|
|
103
|
+
"csharp.newLinesForBracesInAccessors": true,
|
|
104
|
+
"csharp.newLinesForBracesInAnonymousMethods": true,
|
|
105
|
+
"csharp.newLinesForBracesInControlBlocks": true,
|
|
106
|
+
"csharp.newLinesForBracesInLambdaExpressionBody": true,
|
|
107
|
+
"csharp.newLinesForBracesInMethods": true,
|
|
108
|
+
"csharp.newLinesForBracesInTypes": true,
|
|
109
|
+
"csharp.newLinesForBracesInAnonymousTypes": true,
|
|
110
|
+
"csharp.newLinesForBracesInObjectCollectionArrayInitializers": true,
|
|
111
|
+
"csharp.newLinesForBracesInProperties": true,
|
|
112
|
+
"csharp.spaceBetweenEmptyMethodCallParentheses": false,
|
|
113
|
+
"csharp.spaceAfterColonInBaseTypeDeclaration": true,
|
|
114
|
+
"csharp.spaceAfterComma": true,
|
|
115
|
+
"csharp.spaceAfterDot": false,
|
|
116
|
+
"csharp.spaceAfterControlFlowStatementKeyword": true,
|
|
117
|
+
"csharp.spaceAfterMethodCallName": false,
|
|
118
|
+
"csharp.spaceAfterSemicolonsInForStatement": true,
|
|
119
|
+
"csharp.spaceBeforeColonInBaseTypeDeclaration": true,
|
|
120
|
+
"csharp.spaceBeforeComma": false,
|
|
121
|
+
"csharp.spaceBeforeDot": false,
|
|
122
|
+
"csharp.spaceBeforeSemicolonsInForStatement": false,
|
|
123
|
+
"csharp.spaceBetweenEmptySquareBrackets": false,
|
|
124
|
+
"csharp.spaceBeforeOpenSquareBracket": false,
|
|
125
|
+
"csharp.spaceBetweenEmptyMethodDeclarationParentheses": false,
|
|
126
|
+
"csharp.spacesIgnoreAroundVariableDeclaration": false,
|
|
127
|
+
"csharp.spaceWithinCastParentheses": false,
|
|
128
|
+
"csharp.spaceWithinExpressionParentheses": false,
|
|
129
|
+
"csharp.spaceWithinMethodCallParentheses": false,
|
|
130
|
+
"csharp.spaceWithinMethodDeclarationParenthesis": false,
|
|
131
|
+
"csharp.spaceWithinOtherParentheses": false,
|
|
132
|
+
"csharp.spaceWithinSquareBrackets": false,
|
|
133
|
+
"csharp.spacingAfterMethodDeclarationName": false,
|
|
134
|
+
"csharp.spacingAroundBinaryOperator": "Single" /* 0 */,
|
|
135
|
+
"csharp.wrappingKeepStatementsOnSingleLine": true,
|
|
136
|
+
"csharp.wrappingPreserveSingleLine": true,
|
|
137
|
+
},
|
|
138
|
+
"json": {
|
|
139
|
+
// $help: https://dprint.dev/plugins/json/config/
|
|
140
|
+
"locked": true,
|
|
141
|
+
"lineWidth": 80,
|
|
142
|
+
"newLineKind": "lf",
|
|
143
|
+
"useTabs": false,
|
|
144
|
+
"indentWidth": 2,
|
|
145
|
+
"ignoreNodeCommentText": "dprint-ignore",
|
|
146
|
+
"commentLine.forceSpaceAfterSlashes": true,
|
|
147
|
+
"preferSingleLine": false,
|
|
148
|
+
"trailingCommas": "maintain",
|
|
149
|
+
"array.preferSingleLine": false,
|
|
150
|
+
"object.preferSingleLine": false,
|
|
151
|
+
},
|
|
152
|
+
"markdown": {
|
|
153
|
+
// $help: https://dprint.dev/plugins/markdown/config/
|
|
154
|
+
"locked": true,
|
|
155
|
+
"lineWidth": 180,
|
|
156
|
+
"newLineKind": "lf",
|
|
157
|
+
"textWrap": "maintain",
|
|
158
|
+
"emphasisKind": "underscores",
|
|
159
|
+
"strongKind": "underscores",
|
|
160
|
+
"ignoreDirective": "dprint-ignore",
|
|
161
|
+
"ignoreFileDirective": "dprint-ignore-file",
|
|
162
|
+
"ignoreStartDirective": "dprint-ignore-start",
|
|
163
|
+
"ignoreEndDirective": "dprint-ignore-end",
|
|
164
|
+
},
|
|
165
|
+
"markup": {
|
|
166
|
+
// $help: https://markup-fmt.netlify.app/
|
|
167
|
+
"printWidth": 180,
|
|
168
|
+
"useTabs": false,
|
|
169
|
+
"indentWidth": 2,
|
|
170
|
+
"lineBreak": "lf",
|
|
171
|
+
"quotes": "double",
|
|
172
|
+
"formatComments": true,
|
|
173
|
+
"scriptIndent": true,
|
|
174
|
+
"styleIndent": true,
|
|
175
|
+
"closingBracketSameLine": false,
|
|
176
|
+
"closingTagLineBreakForEmpty": "fit",
|
|
177
|
+
"maxAttrsPerLine": 1,
|
|
178
|
+
"preferAttrsSingleLine": false,
|
|
179
|
+
"singleAttrSameLine": true,
|
|
180
|
+
"whitespaceSensitivity": "css",
|
|
181
|
+
"doctypeKeywordCase": "upper",
|
|
182
|
+
"strictSvelteAttr": false,
|
|
183
|
+
"svelteAttrShorthand": true,
|
|
184
|
+
"svelteDirectiveShorthand": true,
|
|
185
|
+
"scriptFormatter": "dprint",
|
|
186
|
+
"ignoreCommentDirective": "dprint-ignore",
|
|
187
|
+
"ignoreFileCommentDirective": "dprint-ignore-file",
|
|
188
|
+
},
|
|
189
|
+
"malva": {
|
|
190
|
+
// $help: https://malva.netlify.app/config/index.html
|
|
191
|
+
"printWidth": 180,
|
|
192
|
+
"useTabs": false,
|
|
193
|
+
"indentWidth": 2,
|
|
194
|
+
"lineBreak": "lf",
|
|
195
|
+
"hexCase": "lower",
|
|
196
|
+
"hexColorLength": "short",
|
|
197
|
+
"quotes": "preferDouble",
|
|
198
|
+
"operatorLinebreak": "after",
|
|
199
|
+
"blockSelectorLinebreak": "always",
|
|
200
|
+
"omitNumberLeadingZero": false,
|
|
201
|
+
"trailingComma": true,
|
|
202
|
+
"formatComments": true,
|
|
203
|
+
"alignComments": true,
|
|
204
|
+
"linebreakInPseudoParens": true,
|
|
205
|
+
"declarationOrder": null,
|
|
206
|
+
"declarationOrderGroupBy": "nonDeclaration",
|
|
207
|
+
"singleLineBlockThreshold": null,
|
|
208
|
+
"keyframeSelectorNotation": "keyword",
|
|
209
|
+
"attrValueQuotes": "always",
|
|
210
|
+
"preferSingleLine": false,
|
|
211
|
+
"singleLineTopLevelDeclarations": false,
|
|
212
|
+
"selectorOverrideCommentDirective": "malva-selector-override",
|
|
213
|
+
"ignoreCommentDirective": "dprint-ignore",
|
|
214
|
+
"ignoreFileCommentDirective": "dprint-ignore-file",
|
|
215
|
+
},
|
|
216
|
+
"yaml": {
|
|
217
|
+
// $help: https://pretty-yaml.netlify.app/
|
|
218
|
+
"printWidth": 180,
|
|
219
|
+
"indentWidth": 2,
|
|
220
|
+
"lineBreak": "lf",
|
|
221
|
+
"quotes": "preferDouble",
|
|
222
|
+
"trailingComma": true,
|
|
223
|
+
"formatComments": false,
|
|
224
|
+
"indentBlockSequenceInMap": true,
|
|
225
|
+
"braceSpacing": false,
|
|
226
|
+
"bracketSpacing": false,
|
|
227
|
+
"dashSpacing": "oneSpace",
|
|
228
|
+
"preferSingleLine": false,
|
|
229
|
+
"trimTrailingWhitespaces": true,
|
|
230
|
+
"trimTrailingZero": true,
|
|
231
|
+
"ignoreCommentDirective": "dprint-ignore",
|
|
232
|
+
},
|
|
233
|
+
}
|
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": "19.0.
|
|
6
|
+
"version": "19.0.7",
|
|
7
7
|
"repository": "github:jimmy-zhening-luo/linted-defaults",
|
|
8
8
|
"description": "Default scopes for `linted`",
|
|
9
9
|
"keywords": [],
|
|
@@ -13,5 +13,7 @@ export default {
|
|
|
13
13
|
// My own
|
|
14
14
|
"stylistic/indent": State.OFF, /* @CONFLICT: with `svelte/indent` */
|
|
15
15
|
"ts/no-confusing-void-expression": State.OFF, /* @CONFLICT: errors on render() */
|
|
16
|
+
// My own (dprint)
|
|
17
|
+
"stylistic/object-curly-spacing": State.OFF,
|
|
16
18
|
} as const,
|
|
17
19
|
};
|
|
@@ -92,7 +92,7 @@ export default {
|
|
|
92
92
|
// "svelte/html-self-closing": State.OFF,
|
|
93
93
|
// "svelte/indent": State.OFF,
|
|
94
94
|
// "svelte/max-attributes-per-line": State.OFF,
|
|
95
|
-
"svelte/mustache-spacing": State.
|
|
95
|
+
// "svelte/mustache-spacing": State.OFF,
|
|
96
96
|
"svelte/no-extra-reactive-curlies": State.WARN,
|
|
97
97
|
// "svelte/no-restricted-html-elements": State.OFF,
|
|
98
98
|
// "svelte/no-spaces-around-equal-signs-in-attribute": State.OFF,
|
package/src/rules/yml/extend.ts
CHANGED
|
@@ -3,27 +3,13 @@ import { State } from "../state";
|
|
|
3
3
|
// DOC: https://ota-meshi.github.io/eslint-plugin-yml/rules/#extension-rules
|
|
4
4
|
export default {
|
|
5
5
|
rules: {
|
|
6
|
-
"yml/flow-mapping-curly-newline":
|
|
7
|
-
State.WARN,
|
|
8
|
-
{
|
|
9
|
-
consistent: true,
|
|
10
|
-
multiline: true,
|
|
11
|
-
minProperties: 2,
|
|
12
|
-
},
|
|
13
|
-
] /* MUST match jsonc/object-curly-newline */,
|
|
6
|
+
// "yml/flow-mapping-curly-newline": State.OFF,
|
|
14
7
|
// "yml/flow-mapping-curly-spacing": State.OFF,
|
|
15
|
-
"yml/flow-sequence-bracket-newline": State.
|
|
8
|
+
// "yml/flow-sequence-bracket-newline": State.OFF,
|
|
16
9
|
// "yml/flow-sequence-bracket-spacing": State.OFF,
|
|
17
|
-
"yml/key-spacing": State.
|
|
10
|
+
// "yml/key-spacing": State.OFF,
|
|
18
11
|
"yml/no-irregular-whitespace": State.ON,
|
|
19
|
-
"yml/no-multiple-empty-lines":
|
|
20
|
-
State.WARN,
|
|
21
|
-
{
|
|
22
|
-
max: 1,
|
|
23
|
-
maxBOF: 0,
|
|
24
|
-
maxEOF: 0 /* INFO: auto-fix still keeps final line-break (eol character) at EOF */,
|
|
25
|
-
},
|
|
26
|
-
],
|
|
12
|
+
// "yml/no-multiple-empty-lines": State.OFF,
|
|
27
13
|
"yml/spaced-comment": [
|
|
28
14
|
State.WARN,
|
|
29
15
|
"always",
|
package/src/rules/yml/yml.ts
CHANGED
|
@@ -9,7 +9,7 @@ export default {
|
|
|
9
9
|
"yml/block-sequence-hyphen-indicator-newline": State.WARN,
|
|
10
10
|
"yml/block-sequence": State.WARN,
|
|
11
11
|
// "yml/file-extension": State.OFF,
|
|
12
|
-
"yml/indent": State.
|
|
12
|
+
// "yml/indent": State.OFF,
|
|
13
13
|
// "yml/key-name-casing": State.OFF,
|
|
14
14
|
// "yml/no-empty-document": State.OFF,
|
|
15
15
|
"yml/no-empty-key": State.WARN,
|