@eslinted/defaults 19.0.2 → 19.0.3

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/README.md CHANGED
@@ -1,4 +1,5 @@
1
1
  # [`@eslinted/defaults`](https://www.npmjs.com/package/@eslinted/defaults)
2
+
2
3
  [![NPM Publish](https://github.com/jimmy-zhening-luo/linted-defaults/actions/workflows/RELEASE.yml/badge.svg)](https://github.com/jimmy-zhening-luo/linted-defaults/actions/workflows/RELEASE.yml)
3
4
 
4
5
  Default scopes for `linted`
package/dist/index.d.ts CHANGED
@@ -978,45 +978,6 @@ declare const _default: {
978
978
  readonly "html/require-img-alt": import("./rules/state.js").State.WARN;
979
979
  readonly "html/require-input-label": import("./rules/state.js").State.WARN;
980
980
  readonly "html/require-meta-viewport": import("./rules/state.js").State.WARN;
981
- readonly "html/attrs-newline": readonly [
982
- import("./rules/state.js").State.WARN,
983
- {
984
- readonly ifAttrsMoreThan: 0;
985
- }
986
- ];
987
- readonly "html/element-newline": readonly [
988
- import("./rules/state.js").State.WARN,
989
- {
990
- readonly skip: readonly [
991
- "head"
992
- ];
993
- readonly inline: readonly [
994
- "$inline"
995
- ];
996
- }
997
- ];
998
- readonly "html/indent": readonly [
999
- import("./rules/state.js").State.WARN,
1000
- 2
1001
- ];
1002
- readonly "html/lowercase": import("./rules/state.js").State.WARN;
1003
- readonly "html/no-extra-spacing-attrs": readonly [
1004
- import("./rules/state.js").State.WARN,
1005
- {
1006
- readonly disallowMissing: true;
1007
- readonly disallowTabs: true;
1008
- readonly disallowInAssignment: true;
1009
- }
1010
- ];
1011
- readonly "html/no-extra-spacing-text": import("./rules/state.js").State.WARN;
1012
- readonly "html/no-multiple-empty-lines": readonly [
1013
- import("./rules/state.js").State.WARN,
1014
- {
1015
- readonly max: 1;
1016
- }
1017
- ];
1018
- readonly "html/no-trailing-spaces": import("./rules/state.js").State.WARN;
1019
- readonly "html/quotes": import("./rules/state.js").State.WARN;
1020
981
  };
1021
982
  }[];
1022
983
  css: {
@@ -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"}
@@ -34,45 +34,6 @@ declare const _default: {
34
34
  readonly "html/require-img-alt": State.WARN;
35
35
  readonly "html/require-input-label": State.WARN;
36
36
  readonly "html/require-meta-viewport": State.WARN;
37
- readonly "html/attrs-newline": readonly [
38
- State.WARN,
39
- {
40
- readonly ifAttrsMoreThan: 0;
41
- }
42
- ];
43
- readonly "html/element-newline": readonly [
44
- State.WARN,
45
- {
46
- readonly skip: readonly [
47
- "head"
48
- ];
49
- readonly inline: readonly [
50
- "$inline"
51
- ];
52
- }
53
- ];
54
- readonly "html/indent": readonly [
55
- State.WARN,
56
- 2
57
- ];
58
- readonly "html/lowercase": State.WARN;
59
- readonly "html/no-extra-spacing-attrs": readonly [
60
- State.WARN,
61
- {
62
- readonly disallowMissing: true;
63
- readonly disallowTabs: true;
64
- readonly disallowInAssignment: true;
65
- }
66
- ];
67
- readonly "html/no-extra-spacing-text": State.WARN;
68
- readonly "html/no-multiple-empty-lines": readonly [
69
- State.WARN,
70
- {
71
- readonly max: 1;
72
- }
73
- ];
74
- readonly "html/no-trailing-spaces": State.WARN;
75
- readonly "html/quotes": State.WARN;
76
37
  };
77
38
  }[];
78
39
  export default _default;
@@ -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,wBAsGE"}
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,wBA4EE"}
@@ -34,41 +34,6 @@ export default [
34
34
  "html/require-img-alt": 1,
35
35
  "html/require-input-label": 1,
36
36
  "html/require-meta-viewport": 1,
37
- "html/attrs-newline": [
38
- 1,
39
- {
40
- ifAttrsMoreThan: 0,
41
- },
42
- ],
43
- "html/element-newline": [
44
- 1,
45
- {
46
- skip: ["head"],
47
- inline: ["$inline"],
48
- },
49
- ],
50
- "html/indent": [
51
- 1,
52
- 2,
53
- ],
54
- "html/lowercase": 1,
55
- "html/no-extra-spacing-attrs": [
56
- 1,
57
- {
58
- disallowMissing: true,
59
- disallowTabs: true,
60
- disallowInAssignment: true,
61
- },
62
- ],
63
- "html/no-extra-spacing-text": 1,
64
- "html/no-multiple-empty-lines": [
65
- 1,
66
- {
67
- max: 1,
68
- },
69
- ],
70
- "html/no-trailing-spaces": 1,
71
- "html/quotes": 1,
72
37
  },
73
38
  },
74
39
  ];
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/rules/html/index.ts"],"names":[],"mappings":"AAGA,eAAe;IACb;QACE,KAAK,EAAE;YAIL,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;YAKxC,oBAAoB,EAAE;;gBAEpB;oBACE,eAAe,EAAE,CAAC;iBACnB;aACF;YACD,sBAAsB,EAAE;;gBAEtB;oBACE,IAAI,EAAE,CAAC,MAAM,CAAC;oBACd,MAAM,EAAE,CAAC,SAAS,CAAC;iBACpB;aACF;YAED,aAAa,EAAE;;gBAEb,CAAC;aACF;YACD,gBAAgB,GAAY;YAC5B,6BAA6B,EAAE;;gBAE7B;oBACE,eAAe,EAAE,IAAI;oBACrB,YAAY,EAAE,IAAI;oBAClB,oBAAoB,EAAE,IAAI;iBAC3B;aACF;YACD,4BAA4B,GAAY;YACxC,8BAA8B,EAAE;;gBAE9B;oBACE,GAAG,EAAE,CAAC;iBACP;aACF;YACD,yBAAyB,GAAY;YACrC,aAAa,GAAY;SAGjB;KACX;CACF,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/rules/html/index.ts"],"names":[],"mappings":"AAGA,eAAe;IACb;QACE,KAAK,EAAE;YAIL,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"}
@@ -961,45 +961,6 @@ declare const _default: {
961
961
  readonly "html/require-img-alt": import("./state.js").State.WARN;
962
962
  readonly "html/require-input-label": import("./state.js").State.WARN;
963
963
  readonly "html/require-meta-viewport": import("./state.js").State.WARN;
964
- readonly "html/attrs-newline": readonly [
965
- import("./state.js").State.WARN,
966
- {
967
- readonly ifAttrsMoreThan: 0;
968
- }
969
- ];
970
- readonly "html/element-newline": readonly [
971
- import("./state.js").State.WARN,
972
- {
973
- readonly skip: readonly [
974
- "head"
975
- ];
976
- readonly inline: readonly [
977
- "$inline"
978
- ];
979
- }
980
- ];
981
- readonly "html/indent": readonly [
982
- import("./state.js").State.WARN,
983
- 2
984
- ];
985
- readonly "html/lowercase": import("./state.js").State.WARN;
986
- readonly "html/no-extra-spacing-attrs": readonly [
987
- import("./state.js").State.WARN,
988
- {
989
- readonly disallowMissing: true;
990
- readonly disallowTabs: true;
991
- readonly disallowInAssignment: true;
992
- }
993
- ];
994
- readonly "html/no-extra-spacing-text": import("./state.js").State.WARN;
995
- readonly "html/no-multiple-empty-lines": readonly [
996
- import("./state.js").State.WARN,
997
- {
998
- readonly max: 1;
999
- }
1000
- ];
1001
- readonly "html/no-trailing-spaces": import("./state.js").State.WARN;
1002
- readonly "html/quotes": import("./state.js").State.WARN;
1003
964
  };
1004
965
  }[];
1005
966
  css: {
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/rules/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAWA,wBAWE"}
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.2",
6
+ "version": "19.0.3",
7
7
  "repository": "github:jimmy-zhening-luo/linted-defaults",
8
8
  "description": "Default scopes for `linted`",
9
9
  "keywords": [],
@@ -63,42 +63,16 @@ export default [
63
63
 
64
64
  // #region STYLE
65
65
  // DOC: https://html-eslint.org/docs/rules#style
66
- "html/attrs-newline": [
67
- State.WARN,
68
- {
69
- ifAttrsMoreThan: 0,
70
- },
71
- ],
72
- "html/element-newline": [
73
- State.WARN,
74
- {
75
- skip: ["head"],
76
- inline: ["$inline"],
77
- },
78
- ],
66
+ // "html/attrs-newline": State.OFF,
67
+ // "html/element-newline": State.OFF,
79
68
  // "html/id-naming-convention": State.OFF,
80
- "html/indent": [
81
- State.WARN,
82
- 2,
83
- ],
84
- "html/lowercase": State.WARN,
85
- "html/no-extra-spacing-attrs": [
86
- State.WARN,
87
- {
88
- disallowMissing: true,
89
- disallowTabs: true,
90
- disallowInAssignment: true,
91
- },
92
- ],
93
- "html/no-extra-spacing-text": State.WARN,
94
- "html/no-multiple-empty-lines": [
95
- State.WARN,
96
- {
97
- max: 1,
98
- },
99
- ],
100
- "html/no-trailing-spaces": State.WARN,
101
- "html/quotes": State.WARN,
69
+ // "html/indent": State.OFF,
70
+ // "html/lowercase": State.OFF,
71
+ // "html/no-extra-spacing-attrs": State.OFF,
72
+ // "html/no-extra-spacing-text": State.OFF,
73
+ // "html/no-multiple-empty-lines": State.OFF,
74
+ // "html/no-trailing-spaces": State.OFF,
75
+ // "html/quotes": State.OFF,
102
76
  // "html/sort-attrs": State.OFF,
103
77
  // #endregion
104
78
  } as const,