@eslinted/defaults 19.5.1 → 19.6.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/.gitattributes CHANGED
@@ -1,23 +1,25 @@
1
1
  ##############################
2
2
  #### .gitattributes ####
3
- #### v253.0.0 ####
3
+ #### v253.1.0 ####
4
4
  ##############################
5
5
 
6
6
  * text=auto
7
7
 
8
+ *.ics text eol=crlf
9
+
8
10
  *.cmd text eol=crlf
9
11
  *.bat text eol=crlf
10
12
  *.reg text eol=crlf working-tree-encoding=UTF-8
11
- *.ics text eol=crlf
13
+
14
+ *.ps1 text eol=lf working-tree-encoding=UTF-8
15
+ *.psm1 text eol=lf working-tree-encoding=UTF-8
16
+ *.psd1 text eol=lf working-tree-encoding=UTF-8
17
+ *.ps1xml text eol=lf working-tree-encoding=UTF-8
12
18
 
13
19
  *.sh text eol=lf
14
20
  *.bashrc text eol=lf
15
21
  *.bash_profile text eol=lf
16
22
  *.bash_aliases text eol=lf
17
- *.ps1 text eol=lf
18
- *.psm1 text eol=lf
19
- *.psd1 text eol=lf
20
- *.ps1xml text eol=lf
21
23
 
22
24
  LICENSE text eol=lf
23
25
  *.gitattributes text eol=lf
package/dist/index.d.ts CHANGED
@@ -937,6 +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-attr-value": import("./rules/state.js").State.ON;
940
941
  readonly "html/no-invalid-entity": import("./rules/state.js").State.ON;
941
942
  readonly "html/no-nested-interactive": import("./rules/state.js").State.WARN;
942
943
  readonly "html/no-obsolete-tags": import("./rules/state.js").State.WARN;
@@ -959,6 +960,7 @@ declare const _default: {
959
960
  readonly "html/no-invalid-role": import("./rules/state.js").State.WARN;
960
961
  readonly "html/no-non-scalable-viewport": import("./rules/state.js").State.WARN;
961
962
  readonly "html/no-positive-tabindex": import("./rules/state.js").State.WARN;
963
+ readonly "html/no-redundant-role": import("./rules/state.js").State.WARN;
962
964
  readonly "html/require-form-method": import("./rules/state.js").State.WARN;
963
965
  readonly "html/require-frame-title": import("./rules/state.js").State.WARN;
964
966
  readonly "html/require-img-alt": import("./rules/state.js").State.WARN;
@@ -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,6 +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-attr-value": State.ON;
10
11
  readonly "html/no-invalid-entity": State.ON;
11
12
  readonly "html/no-nested-interactive": State.WARN;
12
13
  readonly "html/no-obsolete-tags": State.WARN;
@@ -29,6 +30,7 @@ declare const _default: {
29
30
  readonly "html/no-invalid-role": State.WARN;
30
31
  readonly "html/no-non-scalable-viewport": State.WARN;
31
32
  readonly "html/no-positive-tabindex": State.WARN;
33
+ readonly "html/no-redundant-role": State.WARN;
32
34
  readonly "html/require-form-method": State.WARN;
33
35
  readonly "html/require-frame-title": State.WARN;
34
36
  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,wBA+EE"}
@@ -7,6 +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-attr-value": 2,
10
11
  "html/no-invalid-entity": 2,
11
12
  "html/no-nested-interactive": 1,
12
13
  "html/no-obsolete-tags": 1,
@@ -29,6 +30,7 @@ export default [
29
30
  "html/no-invalid-role": 1,
30
31
  "html/no-non-scalable-viewport": 1,
31
32
  "html/no-positive-tabindex": 1,
33
+ "html/no-redundant-role": 1,
32
34
  "html/require-form-method": 1,
33
35
  "html/require-frame-title": 1,
34
36
  "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,GAA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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,wBAAwB,GAAY;YAEpC,0BAA0B,GAAY;YACtC,0BAA0B,GAAY;YACtC,sBAAsB,GAAY;YAClC,0BAA0B,GAAY;YACtC,4BAA4B,GAAY;SAiBhC;KACX;CACF,CAAC"}
@@ -920,6 +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-attr-value": import("./state.js").State.ON;
923
924
  readonly "html/no-invalid-entity": import("./state.js").State.ON;
924
925
  readonly "html/no-nested-interactive": import("./state.js").State.WARN;
925
926
  readonly "html/no-obsolete-tags": import("./state.js").State.WARN;
@@ -942,6 +943,7 @@ declare const _default: {
942
943
  readonly "html/no-invalid-role": import("./state.js").State.WARN;
943
944
  readonly "html/no-non-scalable-viewport": import("./state.js").State.WARN;
944
945
  readonly "html/no-positive-tabindex": import("./state.js").State.WARN;
946
+ readonly "html/no-redundant-role": import("./state.js").State.WARN;
945
947
  readonly "html/require-form-method": import("./state.js").State.WARN;
946
948
  readonly "html/require-frame-title": import("./state.js").State.WARN;
947
949
  readonly "html/require-img-alt": import("./state.js").State.WARN;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/rules/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAYA,wBAYE"}
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.5.1",
6
+ "version": "19.6.0",
7
7
  "repository": "github:jimmy-zhening-luo/linted-defaults",
8
8
  "description": "Default scopes for `linted`",
9
9
  "keywords": [],
@@ -14,6 +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-attr-value": State.ON,
17
18
  "html/no-invalid-entity": State.ON,
18
19
  "html/no-nested-interactive": State.WARN,
19
20
  "html/no-obsolete-tags": State.WARN,
@@ -54,6 +55,7 @@ export default [
54
55
  "html/no-invalid-role": State.WARN,
55
56
  "html/no-non-scalable-viewport": State.WARN,
56
57
  "html/no-positive-tabindex": State.WARN,
58
+ "html/no-redundant-role": State.WARN,
57
59
  // "html/no-skip-heading-levels": State.OFF,
58
60
  "html/require-form-method": State.WARN,
59
61
  "html/require-frame-title": State.WARN,