@eslinted/defaults 19.0.6 → 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 CHANGED
@@ -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",
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAIA,wBAIE"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAIA,wBAIE"}
@@ -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":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAWA,wBAWE"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/rules/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAWA,wBAWE"}
@@ -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;;;;;;;;;;;;;;;;;;;;;;AAGjC,wBAyCE"}
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"}
@@ -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;QACL,gCAAgC,EAAE;;YAEhC;gBACE,UAAU,EAAE,IAAI;gBAChB,SAAS,EAAE,IAAI;gBACf,aAAa,EAAE,CAAC;aACjB;SACF;QAED,mCAAmC,GAAY;QAE/C,iBAAiB,GAAY;QAC7B,6BAA6B,GAAU;QACvC,6BAA6B,EAAE;;YAE7B;gBACE,GAAG,EAAE,CAAC;gBACN,MAAM,EAAE,CAAC;gBACT,MAAM,EAAE,CAAC;aACV;SACF;QACD,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"}
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":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGA,wBAGE"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/rules/yml/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;AAGA,wBAGE"}
@@ -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;;;;;;;;;;;;;;;AAGjC,wBAuBE"}
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"}
@@ -5,7 +5,6 @@ export default {
5
5
  "yml/block-mapping": 1,
6
6
  "yml/block-sequence-hyphen-indicator-newline": 1,
7
7
  "yml/block-sequence": 1,
8
- "yml/indent": 1,
9
8
  "yml/no-empty-key": 1,
10
9
  "yml/no-empty-sequence-entry": 1,
11
10
  "yml/no-tab-indent": 1,
@@ -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;QAEhC,YAAY,GAAY;QAGxB,kBAAkB,GAAY;QAE9B,6BAA6B,GAAY;QACzC,mBAAmB,GAAY;QAI/B,wBAAwB,GAAY;KAI5B;CACX,CAAC"}
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",
6
+ "version": "19.0.7",
7
7
  "repository": "github:jimmy-zhening-luo/linted-defaults",
8
8
  "description": "Default scopes for `linted`",
9
9
  "keywords": [],
@@ -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.WARN /* @OVERRIDE jsonc/array-bracket-newline */,
8
+ // "yml/flow-sequence-bracket-newline": State.OFF,
16
9
  // "yml/flow-sequence-bracket-spacing": State.OFF,
17
- "yml/key-spacing": State.WARN /* MUST match jsonc/key-spacing */,
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",
@@ -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.WARN,
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,