@eslinted/defaults 19.4.2 → 19.5.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/index.d.ts CHANGED
@@ -937,7 +937,7 @@ declare const _default: {
937
937
  readonly "html/no-duplicate-id": import("./rules/state.js").State.WARN;
938
938
  readonly "html/no-duplicate-in-head": import("./rules/state.js").State.WARN;
939
939
  readonly "html/no-ineffective-attrs": import("./rules/state.js").State.WARN;
940
- readonly "html/no-invalid-entity": import("./rules/state.js").State.WARN;
940
+ readonly "html/no-invalid-entity": import("./rules/state.js").State.ON;
941
941
  readonly "html/no-nested-interactive": import("./rules/state.js").State.WARN;
942
942
  readonly "html/no-obsolete-tags": import("./rules/state.js").State.WARN;
943
943
  readonly "html/no-target-blank": import("./rules/state.js").State.WARN;
@@ -959,7 +959,6 @@ declare const _default: {
959
959
  readonly "html/no-invalid-role": import("./rules/state.js").State.WARN;
960
960
  readonly "html/no-non-scalable-viewport": import("./rules/state.js").State.WARN;
961
961
  readonly "html/no-positive-tabindex": import("./rules/state.js").State.WARN;
962
- readonly "html/no-skip-heading-levels": import("./rules/state.js").State.WARN;
963
962
  readonly "html/require-form-method": import("./rules/state.js").State.WARN;
964
963
  readonly "html/require-frame-title": import("./rules/state.js").State.WARN;
965
964
  readonly "html/require-img-alt": import("./rules/state.js").State.WARN;
@@ -992,24 +991,7 @@ declare const _default: {
992
991
  };
993
992
  } | {
994
993
  rules: {
995
- readonly "jsonc/no-bigint-literals": import("./rules/state.js").State.ON;
996
- readonly "jsonc/no-binary-expression": import("./rules/state.js").State.ON;
997
- readonly "jsonc/no-binary-numeric-literals": import("./rules/state.js").State.ON;
998
994
  readonly "jsonc/no-comments": import("./rules/state.js").State.ON;
999
- readonly "jsonc/no-escape-sequence-in-identifier": import("./rules/state.js").State.ON;
1000
- readonly "jsonc/no-hexadecimal-numeric-literals": import("./rules/state.js").State.ON;
1001
- readonly "jsonc/no-infinity": import("./rules/state.js").State.ON;
1002
- readonly "jsonc/no-nan": import("./rules/state.js").State.ON;
1003
- readonly "jsonc/no-number-props": import("./rules/state.js").State.ON;
1004
- readonly "jsonc/no-numeric-separators": import("./rules/state.js").State.ON;
1005
- readonly "jsonc/no-octal-numeric-literals": import("./rules/state.js").State.ON;
1006
- readonly "jsonc/no-parenthesized": import("./rules/state.js").State.ON;
1007
- readonly "jsonc/no-plus-sign": import("./rules/state.js").State.ON;
1008
- readonly "jsonc/no-regexp-literals": import("./rules/state.js").State.ON;
1009
- readonly "jsonc/no-template-literals": import("./rules/state.js").State.ON;
1010
- readonly "jsonc/no-undefined-value": import("./rules/state.js").State.ON;
1011
- readonly "jsonc/no-unicode-codepoint-escapes": import("./rules/state.js").State.ON;
1012
- readonly "jsonc/valid-json-number": import("./rules/state.js").State.ON;
1013
995
  };
1014
996
  } | {
1015
997
  rules: {
@@ -1025,7 +1007,6 @@ declare const _default: {
1025
1007
  2
1026
1008
  ];
1027
1009
  readonly "jsonc/key-spacing": import("./rules/state.js").State.WARN;
1028
- readonly "jsonc/no-floating-decimal": import("./rules/state.js").State.ON;
1029
1010
  readonly "jsonc/no-irregular-whitespace": readonly [
1030
1011
  import("./rules/state.js").State.ON,
1031
1012
  {
@@ -1033,11 +1014,6 @@ declare const _default: {
1033
1014
  readonly skipComments: true;
1034
1015
  }
1035
1016
  ];
1036
- readonly "jsonc/no-multi-str": import("./rules/state.js").State.ON;
1037
- readonly "jsonc/no-octal-escape": import("./rules/state.js").State.ON;
1038
- readonly "jsonc/no-octal": import("./rules/state.js").State.ON;
1039
- readonly "jsonc/no-sparse-arrays": import("./rules/state.js").State.ON;
1040
- readonly "jsonc/no-useless-escape": import("./rules/state.js").State.ON;
1041
1017
  readonly "jsonc/object-curly-newline": readonly [
1042
1018
  import("./rules/state.js").State.WARN,
1043
1019
  {
@@ -1051,9 +1027,6 @@ declare const _default: {
1051
1027
  "always"
1052
1028
  ];
1053
1029
  readonly "jsonc/object-property-newline": import("./rules/state.js").State.WARN;
1054
- readonly "jsonc/quote-props": import("./rules/state.js").State.ON;
1055
- readonly "jsonc/quotes": import("./rules/state.js").State.ON;
1056
- readonly "jsonc/space-unary-ops": import("./rules/state.js").State.ON;
1057
1030
  };
1058
1031
  })[];
1059
1032
  jsonc: {
@@ -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"}
@@ -7,7 +7,7 @@ declare const _default: {
7
7
  readonly "html/no-duplicate-id": State.WARN;
8
8
  readonly "html/no-duplicate-in-head": State.WARN;
9
9
  readonly "html/no-ineffective-attrs": State.WARN;
10
- readonly "html/no-invalid-entity": State.WARN;
10
+ readonly "html/no-invalid-entity": State.ON;
11
11
  readonly "html/no-nested-interactive": State.WARN;
12
12
  readonly "html/no-obsolete-tags": State.WARN;
13
13
  readonly "html/no-target-blank": State.WARN;
@@ -29,7 +29,6 @@ declare const _default: {
29
29
  readonly "html/no-invalid-role": State.WARN;
30
30
  readonly "html/no-non-scalable-viewport": State.WARN;
31
31
  readonly "html/no-positive-tabindex": State.WARN;
32
- readonly "html/no-skip-heading-levels": State.WARN;
33
32
  readonly "html/require-form-method": State.WARN;
34
33
  readonly "html/require-frame-title": State.WARN;
35
34
  readonly "html/require-img-alt": 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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGjC,wBA6EE"}
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,wBA6EE"}
@@ -7,7 +7,7 @@ export default [
7
7
  "html/no-duplicate-id": 1,
8
8
  "html/no-duplicate-in-head": 1,
9
9
  "html/no-ineffective-attrs": 1,
10
- "html/no-invalid-entity": 1,
10
+ "html/no-invalid-entity": 2,
11
11
  "html/no-nested-interactive": 1,
12
12
  "html/no-obsolete-tags": 1,
13
13
  "html/no-target-blank": 1,
@@ -29,7 +29,6 @@ export default [
29
29
  "html/no-invalid-role": 1,
30
30
  "html/no-non-scalable-viewport": 1,
31
31
  "html/no-positive-tabindex": 1,
32
- "html/no-skip-heading-levels": 1,
33
32
  "html/require-form-method": 1,
34
33
  "html/require-frame-title": 1,
35
34
  "html/require-img-alt": 1,
@@ -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;YAEtC,yBAAyB,GAAY;YACrC,yBAAyB,GAAY;YACrC,sBAAsB,GAAY;YAClC,2BAA2B,GAAY;YACvC,2BAA2B,GAAY;YAEvC,wBAAwB,GAAY;YACpC,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,6BAA6B,GAAY;YACzC,0BAA0B,GAAY;YACtC,0BAA0B,GAAY;YACtC,sBAAsB,GAAY;YAClC,0BAA0B,GAAY;YACtC,4BAA4B,GAAY;SAiBhC;KACX;CACF,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/rules/html/index.ts"],"names":[],"mappings":"AAGA,eAAe;IACb;QACE,KAAK,EAAE;YAGL,0BAA0B,GAAY;YAEtC,yBAAyB,GAAY;YACrC,yBAAyB,GAAY;YACrC,sBAAsB,GAAY;YAClC,2BAA2B,GAAY;YACvC,2BAA2B,GAAY;YAEvC,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;YAEvC,0BAA0B,GAAY;YACtC,0BAA0B,GAAY;YACtC,sBAAsB,GAAY;YAClC,0BAA0B,GAAY;YACtC,4BAA4B,GAAY;SAiBhC;KACX;CACF,CAAC"}
@@ -920,7 +920,7 @@ declare const _default: {
920
920
  readonly "html/no-duplicate-id": import("./state.js").State.WARN;
921
921
  readonly "html/no-duplicate-in-head": import("./state.js").State.WARN;
922
922
  readonly "html/no-ineffective-attrs": import("./state.js").State.WARN;
923
- readonly "html/no-invalid-entity": import("./state.js").State.WARN;
923
+ readonly "html/no-invalid-entity": import("./state.js").State.ON;
924
924
  readonly "html/no-nested-interactive": import("./state.js").State.WARN;
925
925
  readonly "html/no-obsolete-tags": import("./state.js").State.WARN;
926
926
  readonly "html/no-target-blank": import("./state.js").State.WARN;
@@ -942,7 +942,6 @@ declare const _default: {
942
942
  readonly "html/no-invalid-role": import("./state.js").State.WARN;
943
943
  readonly "html/no-non-scalable-viewport": import("./state.js").State.WARN;
944
944
  readonly "html/no-positive-tabindex": import("./state.js").State.WARN;
945
- readonly "html/no-skip-heading-levels": import("./state.js").State.WARN;
946
945
  readonly "html/require-form-method": import("./state.js").State.WARN;
947
946
  readonly "html/require-frame-title": import("./state.js").State.WARN;
948
947
  readonly "html/require-img-alt": import("./state.js").State.WARN;
@@ -975,24 +974,7 @@ declare const _default: {
975
974
  };
976
975
  } | {
977
976
  rules: {
978
- readonly "jsonc/no-bigint-literals": import("./state.js").State.ON;
979
- readonly "jsonc/no-binary-expression": import("./state.js").State.ON;
980
- readonly "jsonc/no-binary-numeric-literals": import("./state.js").State.ON;
981
977
  readonly "jsonc/no-comments": import("./state.js").State.ON;
982
- readonly "jsonc/no-escape-sequence-in-identifier": import("./state.js").State.ON;
983
- readonly "jsonc/no-hexadecimal-numeric-literals": import("./state.js").State.ON;
984
- readonly "jsonc/no-infinity": import("./state.js").State.ON;
985
- readonly "jsonc/no-nan": import("./state.js").State.ON;
986
- readonly "jsonc/no-number-props": import("./state.js").State.ON;
987
- readonly "jsonc/no-numeric-separators": import("./state.js").State.ON;
988
- readonly "jsonc/no-octal-numeric-literals": import("./state.js").State.ON;
989
- readonly "jsonc/no-parenthesized": import("./state.js").State.ON;
990
- readonly "jsonc/no-plus-sign": import("./state.js").State.ON;
991
- readonly "jsonc/no-regexp-literals": import("./state.js").State.ON;
992
- readonly "jsonc/no-template-literals": import("./state.js").State.ON;
993
- readonly "jsonc/no-undefined-value": import("./state.js").State.ON;
994
- readonly "jsonc/no-unicode-codepoint-escapes": import("./state.js").State.ON;
995
- readonly "jsonc/valid-json-number": import("./state.js").State.ON;
996
978
  };
997
979
  } | {
998
980
  rules: {
@@ -1008,7 +990,6 @@ declare const _default: {
1008
990
  2
1009
991
  ];
1010
992
  readonly "jsonc/key-spacing": import("./state.js").State.WARN;
1011
- readonly "jsonc/no-floating-decimal": import("./state.js").State.ON;
1012
993
  readonly "jsonc/no-irregular-whitespace": readonly [
1013
994
  import("./state.js").State.ON,
1014
995
  {
@@ -1016,11 +997,6 @@ declare const _default: {
1016
997
  readonly skipComments: true;
1017
998
  }
1018
999
  ];
1019
- readonly "jsonc/no-multi-str": import("./state.js").State.ON;
1020
- readonly "jsonc/no-octal-escape": import("./state.js").State.ON;
1021
- readonly "jsonc/no-octal": import("./state.js").State.ON;
1022
- readonly "jsonc/no-sparse-arrays": import("./state.js").State.ON;
1023
- readonly "jsonc/no-useless-escape": import("./state.js").State.ON;
1024
1000
  readonly "jsonc/object-curly-newline": readonly [
1025
1001
  import("./state.js").State.WARN,
1026
1002
  {
@@ -1034,9 +1010,6 @@ declare const _default: {
1034
1010
  "always"
1035
1011
  ];
1036
1012
  readonly "jsonc/object-property-newline": import("./state.js").State.WARN;
1037
- readonly "jsonc/quote-props": import("./state.js").State.ON;
1038
- readonly "jsonc/quotes": import("./state.js").State.ON;
1039
- readonly "jsonc/space-unary-ops": import("./state.js").State.ON;
1040
1013
  };
1041
1014
  })[];
1042
1015
  jsonc: {
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/rules/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAYA,wBAYE"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/rules/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAYA,wBAYE"}
@@ -7,24 +7,7 @@ declare const _default: ({
7
7
  };
8
8
  } | {
9
9
  rules: {
10
- readonly "jsonc/no-bigint-literals": import("../state.js").State.ON;
11
- readonly "jsonc/no-binary-expression": import("../state.js").State.ON;
12
- readonly "jsonc/no-binary-numeric-literals": import("../state.js").State.ON;
13
10
  readonly "jsonc/no-comments": import("../state.js").State.ON;
14
- readonly "jsonc/no-escape-sequence-in-identifier": import("../state.js").State.ON;
15
- readonly "jsonc/no-hexadecimal-numeric-literals": import("../state.js").State.ON;
16
- readonly "jsonc/no-infinity": import("../state.js").State.ON;
17
- readonly "jsonc/no-nan": import("../state.js").State.ON;
18
- readonly "jsonc/no-number-props": import("../state.js").State.ON;
19
- readonly "jsonc/no-numeric-separators": import("../state.js").State.ON;
20
- readonly "jsonc/no-octal-numeric-literals": import("../state.js").State.ON;
21
- readonly "jsonc/no-parenthesized": import("../state.js").State.ON;
22
- readonly "jsonc/no-plus-sign": import("../state.js").State.ON;
23
- readonly "jsonc/no-regexp-literals": import("../state.js").State.ON;
24
- readonly "jsonc/no-template-literals": import("../state.js").State.ON;
25
- readonly "jsonc/no-undefined-value": import("../state.js").State.ON;
26
- readonly "jsonc/no-unicode-codepoint-escapes": import("../state.js").State.ON;
27
- readonly "jsonc/valid-json-number": import("../state.js").State.ON;
28
11
  };
29
12
  } | {
30
13
  rules: {
@@ -40,7 +23,6 @@ declare const _default: ({
40
23
  2
41
24
  ];
42
25
  readonly "jsonc/key-spacing": import("../state.js").State.WARN;
43
- readonly "jsonc/no-floating-decimal": import("../state.js").State.ON;
44
26
  readonly "jsonc/no-irregular-whitespace": readonly [
45
27
  import("../state.js").State.ON,
46
28
  {
@@ -48,11 +30,6 @@ declare const _default: ({
48
30
  readonly skipComments: true;
49
31
  }
50
32
  ];
51
- readonly "jsonc/no-multi-str": import("../state.js").State.ON;
52
- readonly "jsonc/no-octal-escape": import("../state.js").State.ON;
53
- readonly "jsonc/no-octal": import("../state.js").State.ON;
54
- readonly "jsonc/no-sparse-arrays": import("../state.js").State.ON;
55
- readonly "jsonc/no-useless-escape": import("../state.js").State.ON;
56
33
  readonly "jsonc/object-curly-newline": readonly [
57
34
  import("../state.js").State.WARN,
58
35
  {
@@ -66,9 +43,6 @@ declare const _default: ({
66
43
  "always"
67
44
  ];
68
45
  readonly "jsonc/object-property-newline": import("../state.js").State.WARN;
69
- readonly "jsonc/quote-props": import("../state.js").State.ON;
70
- readonly "jsonc/quotes": import("../state.js").State.ON;
71
- readonly "jsonc/space-unary-ops": import("../state.js").State.ON;
72
46
  };
73
47
  })[];
74
48
  export default _default;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/rules/json/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAIA,wBAIE"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/rules/json/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAIA,wBAIE"}
@@ -13,7 +13,6 @@ declare const _default: {
13
13
  2
14
14
  ];
15
15
  readonly "jsonc/key-spacing": State.WARN;
16
- readonly "jsonc/no-floating-decimal": State.ON;
17
16
  readonly "jsonc/no-irregular-whitespace": readonly [
18
17
  State.ON,
19
18
  {
@@ -21,11 +20,6 @@ declare const _default: {
21
20
  readonly skipComments: true;
22
21
  }
23
22
  ];
24
- readonly "jsonc/no-multi-str": State.ON;
25
- readonly "jsonc/no-octal-escape": State.ON;
26
- readonly "jsonc/no-octal": State.ON;
27
- readonly "jsonc/no-sparse-arrays": State.ON;
28
- readonly "jsonc/no-useless-escape": State.ON;
29
23
  readonly "jsonc/object-curly-newline": readonly [
30
24
  State.WARN,
31
25
  {
@@ -39,9 +33,6 @@ declare const _default: {
39
33
  "always"
40
34
  ];
41
35
  readonly "jsonc/object-property-newline": State.WARN;
42
- readonly "jsonc/quote-props": State.ON;
43
- readonly "jsonc/quotes": State.ON;
44
- readonly "jsonc/space-unary-ops": State.ON;
45
36
  };
46
37
  };
47
38
  export default _default;
@@ -1 +1 @@
1
- {"version":3,"file":"extend.d.ts","sourceRoot":"","sources":["../../../../src/rules/json/plugin/extend.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGpC,wBA8CE"}
1
+ {"version":3,"file":"extend.d.ts","sourceRoot":"","sources":["../../../../src/rules/json/plugin/extend.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;;;;;;;;;;;;;;;;;;;;;;AAGpC,wBA8CE"}
@@ -12,7 +12,6 @@ export default {
12
12
  2,
13
13
  ],
14
14
  "jsonc/key-spacing": 1,
15
- "jsonc/no-floating-decimal": 2,
16
15
  "jsonc/no-irregular-whitespace": [
17
16
  2,
18
17
  {
@@ -20,11 +19,6 @@ export default {
20
19
  skipComments: true,
21
20
  },
22
21
  ],
23
- "jsonc/no-multi-str": 2,
24
- "jsonc/no-octal-escape": 2,
25
- "jsonc/no-octal": 2,
26
- "jsonc/no-sparse-arrays": 2,
27
- "jsonc/no-useless-escape": 2,
28
22
  "jsonc/object-curly-newline": [
29
23
  1,
30
24
  {
@@ -38,9 +32,6 @@ export default {
38
32
  "always",
39
33
  ],
40
34
  "jsonc/object-property-newline": 1,
41
- "jsonc/quote-props": 2,
42
- "jsonc/quotes": 2,
43
- "jsonc/space-unary-ops": 2,
44
35
  },
45
36
  };
46
37
  //# sourceMappingURL=extend.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"extend.js","sourceRoot":"","sources":["../../../../src/rules/json/plugin/extend.ts"],"names":[],"mappings":"AAGA,eAAe;IACb,KAAK,EAAE;QAEL,6BAA6B,GAAY;QACzC,6BAA6B,EAAE;;YAE7B,YAAY;SACb;QACD,oBAAoB,GAAU;QAC9B,mBAAmB,GAAY;QAC/B,cAAc,EAAE;;YAEd,CAAC;SACF;QACD,mBAAmB,GAAY;QAE/B,2BAA2B,GAAU;QACrC,+BAA+B,EAAE;;YAE/B;gBACE,WAAW,EAAE,IAAI;gBACjB,YAAY,EAAE,IAAI;aACnB;SACF;QACD,oBAAoB,GAAU;QAC9B,uBAAuB,GAAU;QACjC,gBAAgB,GAAU;QAC1B,wBAAwB,GAAU;QAClC,yBAAyB,GAAU;QACnC,4BAA4B,EAAE;;YAE5B;gBACE,UAAU,EAAE,IAAI;gBAChB,SAAS,EAAE,IAAI;gBACf,aAAa,EAAE,CAAC;aACjB;SACF;QACD,4BAA4B,EAAE;;YAE5B,QAAQ;SACT;QACD,+BAA+B,GAAY;QAC3C,mBAAmB,GAAU;QAC7B,cAAc,GAAU;QACxB,uBAAuB,GAAU;KACzB;CACX,CAAC"}
1
+ {"version":3,"file":"extend.js","sourceRoot":"","sources":["../../../../src/rules/json/plugin/extend.ts"],"names":[],"mappings":"AAGA,eAAe;IACb,KAAK,EAAE;QAEL,6BAA6B,GAAY;QACzC,6BAA6B,EAAE;;YAE7B,YAAY;SACb;QACD,oBAAoB,GAAU;QAC9B,mBAAmB,GAAY;QAC/B,cAAc,EAAE;;YAEd,CAAC;SACF;QACD,mBAAmB,GAAY;QAG/B,+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;SACT;QACD,+BAA+B,GAAY;KAInC;CACX,CAAC"}
@@ -1,24 +1,7 @@
1
1
  import { State } from "../../state.js";
2
2
  declare const _default: {
3
3
  rules: {
4
- readonly "jsonc/no-bigint-literals": State.ON;
5
- readonly "jsonc/no-binary-expression": State.ON;
6
- readonly "jsonc/no-binary-numeric-literals": State.ON;
7
4
  readonly "jsonc/no-comments": State.ON;
8
- readonly "jsonc/no-escape-sequence-in-identifier": State.ON;
9
- readonly "jsonc/no-hexadecimal-numeric-literals": State.ON;
10
- readonly "jsonc/no-infinity": State.ON;
11
- readonly "jsonc/no-nan": State.ON;
12
- readonly "jsonc/no-number-props": State.ON;
13
- readonly "jsonc/no-numeric-separators": State.ON;
14
- readonly "jsonc/no-octal-numeric-literals": State.ON;
15
- readonly "jsonc/no-parenthesized": State.ON;
16
- readonly "jsonc/no-plus-sign": State.ON;
17
- readonly "jsonc/no-regexp-literals": State.ON;
18
- readonly "jsonc/no-template-literals": State.ON;
19
- readonly "jsonc/no-undefined-value": State.ON;
20
- readonly "jsonc/no-unicode-codepoint-escapes": State.ON;
21
- readonly "jsonc/valid-json-number": State.ON;
22
5
  };
23
6
  };
24
7
  export default _default;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/rules/json/plugin/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;;;;;;;;;;;;;;;;;;;;;;;AAGpC,wBA0BE"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/rules/json/plugin/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;;;;;;AAGpC,wBA0BE"}
@@ -1,23 +1,6 @@
1
1
  export default {
2
2
  rules: {
3
- "jsonc/no-bigint-literals": 2,
4
- "jsonc/no-binary-expression": 2,
5
- "jsonc/no-binary-numeric-literals": 2,
6
3
  "jsonc/no-comments": 2,
7
- "jsonc/no-escape-sequence-in-identifier": 2,
8
- "jsonc/no-hexadecimal-numeric-literals": 2,
9
- "jsonc/no-infinity": 2,
10
- "jsonc/no-nan": 2,
11
- "jsonc/no-number-props": 2,
12
- "jsonc/no-numeric-separators": 2,
13
- "jsonc/no-octal-numeric-literals": 2,
14
- "jsonc/no-parenthesized": 2,
15
- "jsonc/no-plus-sign": 2,
16
- "jsonc/no-regexp-literals": 2,
17
- "jsonc/no-template-literals": 2,
18
- "jsonc/no-undefined-value": 2,
19
- "jsonc/no-unicode-codepoint-escapes": 2,
20
- "jsonc/valid-json-number": 2,
21
4
  },
22
5
  };
23
6
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/rules/json/plugin/index.ts"],"names":[],"mappings":"AAGA,eAAe;IACb,KAAK,EAAE;QAGL,0BAA0B,GAAU;QACpC,4BAA4B,GAAU;QACtC,kCAAkC,GAAU;QAC5C,mBAAmB,GAAU;QAC7B,wCAAwC,GAAU;QAClD,uCAAuC,GAAU;QACjD,mBAAmB,GAAU;QAC7B,cAAc,GAAU;QACxB,uBAAuB,GAAU;QACjC,6BAA6B,GAAU;QACvC,iCAAiC,GAAU;QAC3C,wBAAwB,GAAU;QAClC,oBAAoB,GAAU;QAC9B,0BAA0B,GAAU;QACpC,4BAA4B,GAAU;QACtC,0BAA0B,GAAU;QACpC,oCAAoC,GAAU;QAG9C,yBAAyB,GAAU;KAE3B;CACX,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/rules/json/plugin/index.ts"],"names":[],"mappings":"AAGA,eAAe;IACb,KAAK,EAAE;QAML,mBAAmB,GAAU;KAkBrB;CACX,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": "19.4.2",
6
+ "version": "19.5.0",
7
7
  "repository": "github:jimmy-zhening-luo/linted-defaults",
8
8
  "description": "Default scopes for `linted`",
9
9
  "keywords": [],
@@ -14,7 +14,7 @@ export default [
14
14
  "html/no-duplicate-in-head": State.WARN,
15
15
  "html/no-ineffective-attrs": State.WARN,
16
16
  // "html/no-inline-styles": State.OFF /* @CONFLICT: breaks Svelte app.html */,
17
- "html/no-invalid-entity": State.WARN,
17
+ "html/no-invalid-entity": State.ON,
18
18
  "html/no-nested-interactive": State.WARN,
19
19
  "html/no-obsolete-tags": State.WARN,
20
20
  // "html/no-restricted-attr-values": State.OFF,
@@ -54,7 +54,7 @@ export default [
54
54
  "html/no-invalid-role": State.WARN,
55
55
  "html/no-non-scalable-viewport": State.WARN,
56
56
  "html/no-positive-tabindex": State.WARN,
57
- "html/no-skip-heading-levels": State.WARN,
57
+ // "html/no-skip-heading-levels": State.OFF,
58
58
  "html/require-form-method": State.WARN,
59
59
  "html/require-frame-title": State.WARN,
60
60
  "html/require-img-alt": State.WARN,
@@ -17,7 +17,7 @@ export default {
17
17
  ],
18
18
  "jsonc/key-spacing": State.WARN,
19
19
  // "jsonc/no-dupe-keys": State.OFF /* ESLint: json/no-duplicate-keys */,
20
- "jsonc/no-floating-decimal": State.ON,
20
+ // "jsonc/no-floating-decimal": State.OFF,
21
21
  "jsonc/no-irregular-whitespace": [
22
22
  State.ON,
23
23
  {
@@ -25,11 +25,11 @@ export default {
25
25
  skipComments: true,
26
26
  },
27
27
  ],
28
- "jsonc/no-multi-str": State.ON,
29
- "jsonc/no-octal-escape": State.ON,
30
- "jsonc/no-octal": State.ON,
31
- "jsonc/no-sparse-arrays": State.ON,
32
- "jsonc/no-useless-escape": State.ON,
28
+ // "jsonc/no-multi-str": State.OFF,
29
+ // "jsonc/no-octal-escape": State.OFF,
30
+ // "jsonc/no-octal": State.OFF,
31
+ // "jsonc/no-sparse-arrays": State.OFF,
32
+ // "jsonc/no-useless-escape": State.OFF,
33
33
  "jsonc/object-curly-newline": [
34
34
  State.WARN,
35
35
  {
@@ -43,8 +43,8 @@ export default {
43
43
  "always",
44
44
  ],
45
45
  "jsonc/object-property-newline": State.WARN,
46
- "jsonc/quote-props": State.ON,
47
- "jsonc/quotes": State.ON,
48
- "jsonc/space-unary-ops": State.ON,
46
+ // "jsonc/quote-props": State.OFF,
47
+ // "jsonc/quotes": State.OFF,
48
+ // "jsonc/space-unary-ops": State.OFF,
49
49
  } as const,
50
50
  };
@@ -5,26 +5,26 @@ export default {
5
5
  rules: {
6
6
  // "jsonc/auto": State.OFF,
7
7
  // "jsonc/key-name-casing": State.OFF,
8
- "jsonc/no-bigint-literals": State.ON,
9
- "jsonc/no-binary-expression": State.ON,
10
- "jsonc/no-binary-numeric-literals": State.ON,
8
+ // "jsonc/no-bigint-literals": State.OFF,
9
+ // "jsonc/no-binary-expression": State.OFF,
10
+ // "jsonc/no-binary-numeric-literals": State.OFF,
11
11
  "jsonc/no-comments": State.ON,
12
- "jsonc/no-escape-sequence-in-identifier": State.ON,
13
- "jsonc/no-hexadecimal-numeric-literals": State.ON,
14
- "jsonc/no-infinity": State.ON,
15
- "jsonc/no-nan": State.ON,
16
- "jsonc/no-number-props": State.ON,
17
- "jsonc/no-numeric-separators": State.ON,
18
- "jsonc/no-octal-numeric-literals": State.ON,
19
- "jsonc/no-parenthesized": State.ON,
20
- "jsonc/no-plus-sign": State.ON,
21
- "jsonc/no-regexp-literals": State.ON,
22
- "jsonc/no-template-literals": State.ON,
23
- "jsonc/no-undefined-value": State.ON,
24
- "jsonc/no-unicode-codepoint-escapes": State.ON,
12
+ // "jsonc/no-escape-sequence-in-identifier": State.OFF,
13
+ // "jsonc/no-hexadecimal-numeric-literals": State.OFF,
14
+ // "jsonc/no-infinity": State.OFF,
15
+ // "jsonc/no-nan": State.OFF,
16
+ // "jsonc/no-number-props": State.OFF,
17
+ // "jsonc/no-numeric-separators": State.OFF,
18
+ // "jsonc/no-octal-numeric-literals": State.OFF,
19
+ // "jsonc/no-parenthesized": State.OFF,
20
+ // "jsonc/no-plus-sign": State.OFF,
21
+ // "jsonc/no-regexp-literals": State.OFF,
22
+ // "jsonc/no-template-literals": State.OFF,
23
+ // "jsonc/no-undefined-value": State.OFF,
24
+ // "jsonc/no-unicode-codepoint-escapes": State.OFF,
25
25
  // "jsonc/sort-array-values": State.OFF,
26
26
  // "jsonc/sort-keys": State.OFF /* ESLint: json/sort-keys */,
27
- "jsonc/valid-json-number": State.ON,
27
+ // "jsonc/valid-json-number": State.OFF,
28
28
  // "jsonc/vue-custom-block/no-parsing-error": State.OFF,
29
29
  } as const,
30
30
  };