@eslinted/defaults 19.0.6 → 19.0.8

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":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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,6 @@
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.4
5
+ "extends": "https://raw.githubusercontent.com/jimmy-zhening-luo/dprint/refs/heads/main/dprint.jsonc",
6
+ }
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.8",
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,