@eslinted/defaults 4.7.0-rc.0 → 4.8.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/rules/html/enable.d.ts +6 -0
- package/dist/rules/html/enable.d.ts.map +1 -1
- package/dist/rules/html/enable.js +6 -0
- package/dist/rules/html/enable.js.map +1 -1
- package/dist/rules/html/index.d.ts +6 -0
- package/dist/rules/html/index.d.ts.map +1 -1
- package/dist/rules/index.d.ts +6 -0
- package/dist/rules/index.d.ts.map +1 -1
- package/package.json +3 -3
- package/src/rules/html/enable.ts +12 -6
|
@@ -5,11 +5,13 @@ export declare const HtmlEnable: readonly ["enable", {
|
|
|
5
5
|
readonly skip: readonly [];
|
|
6
6
|
}];
|
|
7
7
|
readonly "@html-eslint/no-inline-styles": "off";
|
|
8
|
+
readonly "@html-eslint/no-nested-interactive": "error";
|
|
8
9
|
readonly "@html-eslint/no-obsolete-tags": "error";
|
|
9
10
|
readonly "@html-eslint/no-restricted-attr-values": "off";
|
|
10
11
|
readonly "@html-eslint/no-restricted-attrs": "off";
|
|
11
12
|
readonly "@html-eslint/no-script-style-type": "off";
|
|
12
13
|
readonly "@html-eslint/no-target-blank": "error";
|
|
14
|
+
readonly "@html-eslint/prefer-https": "off";
|
|
13
15
|
readonly "@html-eslint/require-attrs": "off";
|
|
14
16
|
readonly "@html-eslint/require-button-type": "error";
|
|
15
17
|
readonly "@html-eslint/require-closing-tags": readonly ["error", {
|
|
@@ -27,13 +29,17 @@ export declare const HtmlEnable: readonly ["enable", {
|
|
|
27
29
|
readonly "@html-eslint/no-abstract-roles": "error";
|
|
28
30
|
readonly "@html-eslint/no-accesskey-attrs": "error";
|
|
29
31
|
readonly "@html-eslint/no-aria-hidden-body": "error";
|
|
32
|
+
readonly "@html-eslint/no-heading-inside-button": "error";
|
|
33
|
+
readonly "@html-eslint/no-invalid-role": "error";
|
|
30
34
|
readonly "@html-eslint/no-non-scalable-viewport": "error";
|
|
31
35
|
readonly "@html-eslint/no-positive-tabindex": "error";
|
|
32
36
|
readonly "@html-eslint/no-skip-heading-levels": "error";
|
|
37
|
+
readonly "@html-eslint/require-form-method": "error";
|
|
33
38
|
readonly "@html-eslint/require-frame-title": "error";
|
|
34
39
|
readonly "@html-eslint/require-img-alt": readonly ["error", {
|
|
35
40
|
readonly substitute: readonly [];
|
|
36
41
|
}];
|
|
42
|
+
readonly "@html-eslint/require-input-label": "error";
|
|
37
43
|
readonly "@html-eslint/require-meta-viewport": "error";
|
|
38
44
|
readonly "@html-eslint/attrs-newline": readonly ["error", {
|
|
39
45
|
readonly ifAttrsMoreThan: 0;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"enable.d.ts","sourceRoot":"","sources":["../../../src/rules/html/enable.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,UAAU
|
|
1
|
+
{"version":3,"file":"enable.d.ts","sourceRoot":"","sources":["../../../src/rules/html/enable.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAmHb,CAAC"}
|
|
@@ -11,11 +11,13 @@ export const HtmlEnable = [
|
|
|
11
11
|
},
|
|
12
12
|
],
|
|
13
13
|
"@html-eslint/no-inline-styles": OFF,
|
|
14
|
+
"@html-eslint/no-nested-interactive": ERROR,
|
|
14
15
|
"@html-eslint/no-obsolete-tags": ERROR,
|
|
15
16
|
"@html-eslint/no-restricted-attr-values": OFF,
|
|
16
17
|
"@html-eslint/no-restricted-attrs": OFF,
|
|
17
18
|
"@html-eslint/no-script-style-type": OFF,
|
|
18
19
|
"@html-eslint/no-target-blank": ERROR,
|
|
20
|
+
"@html-eslint/prefer-https": OFF,
|
|
19
21
|
"@html-eslint/require-attrs": OFF,
|
|
20
22
|
"@html-eslint/require-button-type": ERROR,
|
|
21
23
|
"@html-eslint/require-closing-tags": [
|
|
@@ -36,9 +38,12 @@ export const HtmlEnable = [
|
|
|
36
38
|
"@html-eslint/no-abstract-roles": ERROR,
|
|
37
39
|
"@html-eslint/no-accesskey-attrs": ERROR,
|
|
38
40
|
"@html-eslint/no-aria-hidden-body": ERROR,
|
|
41
|
+
"@html-eslint/no-heading-inside-button": ERROR,
|
|
42
|
+
"@html-eslint/no-invalid-role": ERROR,
|
|
39
43
|
"@html-eslint/no-non-scalable-viewport": ERROR,
|
|
40
44
|
"@html-eslint/no-positive-tabindex": ERROR,
|
|
41
45
|
"@html-eslint/no-skip-heading-levels": ERROR,
|
|
46
|
+
"@html-eslint/require-form-method": ERROR,
|
|
42
47
|
"@html-eslint/require-frame-title": ERROR,
|
|
43
48
|
"@html-eslint/require-img-alt": [
|
|
44
49
|
ERROR,
|
|
@@ -46,6 +51,7 @@ export const HtmlEnable = [
|
|
|
46
51
|
substitute: [],
|
|
47
52
|
},
|
|
48
53
|
],
|
|
54
|
+
"@html-eslint/require-input-label": ERROR,
|
|
49
55
|
"@html-eslint/require-meta-viewport": ERROR,
|
|
50
56
|
"@html-eslint/attrs-newline": [
|
|
51
57
|
ERROR,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"enable.js","sourceRoot":"","sources":["../../../src/rules/html/enable.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,EAAE,EACF,KAAK,EACL,GAAG,EACH,KAAK,GACN,MAAM,gBAAgB,CAAC;AAExB,MAAM,CAAC,MAAM,UAAU,GAAG;IACxB,EAAE,CAAC,MAAM;IACT;QAGE,iCAAiC,EAAE,KAAK;QACxC,8BAA8B,EAAE,KAAK;QACrC,oCAAoC,EAAE;YACpC,KAAK;YACL;gBACE,IAAI,EAAE,EAAE;aACT;SACF;QACD,+BAA+B,EAAE,GAAG;QACpC,+BAA+B,EAAE,KAAK;QACtC,wCAAwC,EAAE,GAAG;QAC7C,kCAAkC,EAAE,GAAG;QACvC,mCAAmC,EAAE,GAAG;QACxC,8BAA8B,EAAE,KAAK;QACrC,4BAA4B,EAAE,GAAG;QACjC,kCAAkC,EAAE,KAAK;QACzC,mCAAmC,EAAE;YACnC,KAAK;YACL;gBACE,WAAW,EAAE,KAAK;gBAClB,yBAAyB,EAAE,CAAC,EAAE,CAAC;aAChC;SACF;QACD,8BAA8B,EAAE,KAAK;QACrC,mCAAmC,EAAE,KAAK;QAC1C,mCAAmC,EAAE,KAAK;QAM1C,6BAA6B,EAAE,KAAK;QACpC,2BAA2B,EAAE,KAAK;QAClC,uCAAuC,EAAE,GAAG;QAC5C,0CAA0C,EAAE,GAAG;QAC/C,4BAA4B,EAAE,GAAG;QAMjC,gCAAgC,EAAE,KAAK;QACvC,iCAAiC,EAAE,KAAK;QACxC,kCAAkC,EAAE,KAAK;QACzC,uCAAuC,EAAE,KAAK;QAC9C,mCAAmC,EAAE,KAAK;QAC1C,qCAAqC,EAAE,KAAK;QAC5C,kCAAkC,EAAE,KAAK;QACzC,8BAA8B,EAAE;YAC9B,KAAK;YACL;gBACE,UAAU,EAAE,EAAE;aACf;SACF;QACD,oCAAoC,EAAE,KAAK;QAQ3C,4BAA4B,EAAE;YAC5B,KAAK;YACL;gBACE,eAAe,EAAE,CAAC;gBAClB,UAAU,EAAE,UAAU;aACvB;SACF;QACD,8BAA8B,EAAE;YAC9B,KAAK;YACL;gBACE,IAAI,EAAE,CAAC,MAAM,CAAC;gBACd,MAAM,EAAE,CAAC,SAAS,CAAC;aACpB;SACF;QACD,mCAAmC,EAAE,GAAG;QACxC,qBAAqB,EAAE;YACrB,KAAK;YACL,CAAC;SACF;QACD,wBAAwB,EAAE,KAAK;QAC/B,qCAAqC,EAAE;YACrC,KAAK;YACL;gBACE,sBAAsB,EAAE,IAAI;gBAC5B,eAAe,EAAE,IAAI;gBACrB,YAAY,EAAE,IAAI;gBAClB,oBAAoB,EAAE,IAAI;aAC3B;SACF;QACD,sCAAsC,EAAE;YACtC,KAAK;YACL;gBACE,GAAG,EAAE,CAAC;aACP;SACF;QACD,iCAAiC,EAAE,KAAK;QACxC,qBAAqB,EAAE;YACrB,KAAK;YACL,QAAQ;SACT;QACD,yBAAyB,EAAE,GAAG;KACtB;CACF,CAAC"}
|
|
1
|
+
{"version":3,"file":"enable.js","sourceRoot":"","sources":["../../../src/rules/html/enable.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,EAAE,EACF,KAAK,EACL,GAAG,EACH,KAAK,GACN,MAAM,gBAAgB,CAAC;AAExB,MAAM,CAAC,MAAM,UAAU,GAAG;IACxB,EAAE,CAAC,MAAM;IACT;QAGE,iCAAiC,EAAE,KAAK;QACxC,8BAA8B,EAAE,KAAK;QACrC,oCAAoC,EAAE;YACpC,KAAK;YACL;gBACE,IAAI,EAAE,EAAE;aACT;SACF;QACD,+BAA+B,EAAE,GAAG;QACpC,oCAAoC,EAAE,KAAK;QAC3C,+BAA+B,EAAE,KAAK;QACtC,wCAAwC,EAAE,GAAG;QAC7C,kCAAkC,EAAE,GAAG;QACvC,mCAAmC,EAAE,GAAG;QACxC,8BAA8B,EAAE,KAAK;QACrC,2BAA2B,EAAE,GAAG;QAChC,4BAA4B,EAAE,GAAG;QACjC,kCAAkC,EAAE,KAAK;QACzC,mCAAmC,EAAE;YACnC,KAAK;YACL;gBACE,WAAW,EAAE,KAAK;gBAClB,yBAAyB,EAAE,CAAC,EAAE,CAAC;aAChC;SACF;QACD,8BAA8B,EAAE,KAAK;QACrC,mCAAmC,EAAE,KAAK;QAC1C,mCAAmC,EAAE,KAAK;QAM1C,6BAA6B,EAAE,KAAK;QACpC,2BAA2B,EAAE,KAAK;QAClC,uCAAuC,EAAE,GAAG;QAC5C,0CAA0C,EAAE,GAAG;QAC/C,4BAA4B,EAAE,GAAG;QAMjC,gCAAgC,EAAE,KAAK;QACvC,iCAAiC,EAAE,KAAK;QACxC,kCAAkC,EAAE,KAAK;QACzC,uCAAuC,EAAE,KAAK;QAC9C,8BAA8B,EAAE,KAAK;QACrC,uCAAuC,EAAE,KAAK;QAC9C,mCAAmC,EAAE,KAAK;QAC1C,qCAAqC,EAAE,KAAK;QAC5C,kCAAkC,EAAE,KAAK;QACzC,kCAAkC,EAAE,KAAK;QACzC,8BAA8B,EAAE;YAC9B,KAAK;YACL;gBACE,UAAU,EAAE,EAAE;aACf;SACF;QACD,kCAAkC,EAAE,KAAK;QACzC,oCAAoC,EAAE,KAAK;QAQ3C,4BAA4B,EAAE;YAC5B,KAAK;YACL;gBACE,eAAe,EAAE,CAAC;gBAClB,UAAU,EAAE,UAAU;aACvB;SACF;QACD,8BAA8B,EAAE;YAC9B,KAAK;YACL;gBACE,IAAI,EAAE,CAAC,MAAM,CAAC;gBACd,MAAM,EAAE,CAAC,SAAS,CAAC;aACpB;SACF;QACD,mCAAmC,EAAE,GAAG;QACxC,qBAAqB,EAAE;YACrB,KAAK;YACL,CAAC;SACF;QACD,wBAAwB,EAAE,KAAK;QAC/B,qCAAqC,EAAE;YACrC,KAAK;YACL;gBACE,sBAAsB,EAAE,IAAI;gBAC5B,eAAe,EAAE,IAAI;gBACrB,YAAY,EAAE,IAAI;gBAClB,oBAAoB,EAAE,IAAI;aAC3B;SACF;QACD,sCAAsC,EAAE;YACtC,KAAK;YACL;gBACE,GAAG,EAAE,CAAC;aACP;SACF;QACD,iCAAiC,EAAE,KAAK;QACxC,qBAAqB,EAAE;YACrB,KAAK;YACL,QAAQ;SACT;QACD,yBAAyB,EAAE,GAAG;KACtB;CACF,CAAC"}
|
|
@@ -5,11 +5,13 @@ declare const _default: (readonly ["enable", {
|
|
|
5
5
|
readonly skip: readonly [];
|
|
6
6
|
}];
|
|
7
7
|
readonly "@html-eslint/no-inline-styles": "off";
|
|
8
|
+
readonly "@html-eslint/no-nested-interactive": "error";
|
|
8
9
|
readonly "@html-eslint/no-obsolete-tags": "error";
|
|
9
10
|
readonly "@html-eslint/no-restricted-attr-values": "off";
|
|
10
11
|
readonly "@html-eslint/no-restricted-attrs": "off";
|
|
11
12
|
readonly "@html-eslint/no-script-style-type": "off";
|
|
12
13
|
readonly "@html-eslint/no-target-blank": "error";
|
|
14
|
+
readonly "@html-eslint/prefer-https": "off";
|
|
13
15
|
readonly "@html-eslint/require-attrs": "off";
|
|
14
16
|
readonly "@html-eslint/require-button-type": "error";
|
|
15
17
|
readonly "@html-eslint/require-closing-tags": readonly ["error", {
|
|
@@ -27,13 +29,17 @@ declare const _default: (readonly ["enable", {
|
|
|
27
29
|
readonly "@html-eslint/no-abstract-roles": "error";
|
|
28
30
|
readonly "@html-eslint/no-accesskey-attrs": "error";
|
|
29
31
|
readonly "@html-eslint/no-aria-hidden-body": "error";
|
|
32
|
+
readonly "@html-eslint/no-heading-inside-button": "error";
|
|
33
|
+
readonly "@html-eslint/no-invalid-role": "error";
|
|
30
34
|
readonly "@html-eslint/no-non-scalable-viewport": "error";
|
|
31
35
|
readonly "@html-eslint/no-positive-tabindex": "error";
|
|
32
36
|
readonly "@html-eslint/no-skip-heading-levels": "error";
|
|
37
|
+
readonly "@html-eslint/require-form-method": "error";
|
|
33
38
|
readonly "@html-eslint/require-frame-title": "error";
|
|
34
39
|
readonly "@html-eslint/require-img-alt": readonly ["error", {
|
|
35
40
|
readonly substitute: readonly [];
|
|
36
41
|
}];
|
|
42
|
+
readonly "@html-eslint/require-input-label": "error";
|
|
37
43
|
readonly "@html-eslint/require-meta-viewport": "error";
|
|
38
44
|
readonly "@html-eslint/attrs-newline": readonly ["error", {
|
|
39
45
|
readonly ifAttrsMoreThan: 0;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/rules/html/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/rules/html/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,wBAA4B"}
|
package/dist/rules/index.d.ts
CHANGED
|
@@ -1339,11 +1339,13 @@ export declare const rules: {
|
|
|
1339
1339
|
readonly skip: readonly [];
|
|
1340
1340
|
}];
|
|
1341
1341
|
readonly "@html-eslint/no-inline-styles": "off";
|
|
1342
|
+
readonly "@html-eslint/no-nested-interactive": "error";
|
|
1342
1343
|
readonly "@html-eslint/no-obsolete-tags": "error";
|
|
1343
1344
|
readonly "@html-eslint/no-restricted-attr-values": "off";
|
|
1344
1345
|
readonly "@html-eslint/no-restricted-attrs": "off";
|
|
1345
1346
|
readonly "@html-eslint/no-script-style-type": "off";
|
|
1346
1347
|
readonly "@html-eslint/no-target-blank": "error";
|
|
1348
|
+
readonly "@html-eslint/prefer-https": "off";
|
|
1347
1349
|
readonly "@html-eslint/require-attrs": "off";
|
|
1348
1350
|
readonly "@html-eslint/require-button-type": "error";
|
|
1349
1351
|
readonly "@html-eslint/require-closing-tags": readonly ["error", {
|
|
@@ -1361,13 +1363,17 @@ export declare const rules: {
|
|
|
1361
1363
|
readonly "@html-eslint/no-abstract-roles": "error";
|
|
1362
1364
|
readonly "@html-eslint/no-accesskey-attrs": "error";
|
|
1363
1365
|
readonly "@html-eslint/no-aria-hidden-body": "error";
|
|
1366
|
+
readonly "@html-eslint/no-heading-inside-button": "error";
|
|
1367
|
+
readonly "@html-eslint/no-invalid-role": "error";
|
|
1364
1368
|
readonly "@html-eslint/no-non-scalable-viewport": "error";
|
|
1365
1369
|
readonly "@html-eslint/no-positive-tabindex": "error";
|
|
1366
1370
|
readonly "@html-eslint/no-skip-heading-levels": "error";
|
|
1371
|
+
readonly "@html-eslint/require-form-method": "error";
|
|
1367
1372
|
readonly "@html-eslint/require-frame-title": "error";
|
|
1368
1373
|
readonly "@html-eslint/require-img-alt": readonly ["error", {
|
|
1369
1374
|
readonly substitute: readonly [];
|
|
1370
1375
|
}];
|
|
1376
|
+
readonly "@html-eslint/require-input-label": "error";
|
|
1371
1377
|
readonly "@html-eslint/require-meta-viewport": "error";
|
|
1372
1378
|
readonly "@html-eslint/attrs-newline": readonly ["error", {
|
|
1373
1379
|
readonly ifAttrsMoreThan: 0;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/rules/index.ts"],"names":[],"mappings":"AASA,eAAO,MAAM,KAAK
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/rules/index.ts"],"names":[],"mappings":"AASA,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CASR,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
|
-
"_schemaVersion": "22.
|
|
2
|
+
"_schemaVersion": "22.13.0",
|
|
3
3
|
"name": "@eslinted/defaults",
|
|
4
|
-
"version": "4.
|
|
4
|
+
"version": "4.8.0",
|
|
5
5
|
"description": "Default scopes for `linted`.",
|
|
6
6
|
"keywords": [],
|
|
7
7
|
"repository": "github:jimmy-zhening-luo/linted-defaults",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
},
|
|
24
24
|
"engineStrict": true,
|
|
25
25
|
"engines": {
|
|
26
|
-
"node": ">=22.
|
|
26
|
+
"node": ">=22.13.0",
|
|
27
27
|
"npm": ">=10.9.0"
|
|
28
28
|
},
|
|
29
29
|
"peerDependenciesMeta": {},
|
package/src/rules/html/enable.ts
CHANGED
|
@@ -18,19 +18,21 @@ export const HtmlEnable = [
|
|
|
18
18
|
skip: [],
|
|
19
19
|
},
|
|
20
20
|
],
|
|
21
|
-
"@html-eslint/no-inline-styles": OFF /* breaks Svele app.html */,
|
|
21
|
+
"@html-eslint/no-inline-styles": OFF /* @CONFLICT: breaks Svele app.html */,
|
|
22
|
+
"@html-eslint/no-nested-interactive": ERROR,
|
|
22
23
|
"@html-eslint/no-obsolete-tags": ERROR,
|
|
23
24
|
"@html-eslint/no-restricted-attr-values": OFF,
|
|
24
25
|
"@html-eslint/no-restricted-attrs": OFF,
|
|
25
26
|
"@html-eslint/no-script-style-type": OFF,
|
|
26
27
|
"@html-eslint/no-target-blank": ERROR,
|
|
28
|
+
"@html-eslint/prefer-https": OFF /* @CONFLICT: not everything is https */,
|
|
27
29
|
"@html-eslint/require-attrs": OFF,
|
|
28
30
|
"@html-eslint/require-button-type": ERROR,
|
|
29
31
|
"@html-eslint/require-closing-tags": [
|
|
30
32
|
ERROR,
|
|
31
33
|
{
|
|
32
34
|
selfClosing: never,
|
|
33
|
-
selfClosingCustomPatterns: [""] /* regex[]
|
|
35
|
+
selfClosingCustomPatterns: [""] /* @CONFIGURE: regex[] = custom pattern */,
|
|
34
36
|
},
|
|
35
37
|
],
|
|
36
38
|
"@html-eslint/require-doctype": ERROR,
|
|
@@ -43,9 +45,9 @@ export const HtmlEnable = [
|
|
|
43
45
|
// DOC: https://html-eslint.org/docs/rules#seo
|
|
44
46
|
"@html-eslint/no-multiple-h1": ERROR,
|
|
45
47
|
"@html-eslint/require-lang": ERROR,
|
|
46
|
-
"@html-eslint/require-meta-description": OFF /* breaks Svelte which leaves meta descriptions to route leaves */,
|
|
47
|
-
"@html-eslint/require-open-graph-protocol": OFF /* idk what this is */,
|
|
48
|
-
"@html-eslint/require-title": OFF /* breaks Svelte which leaves title to route leaves */,
|
|
48
|
+
"@html-eslint/require-meta-description": OFF /* @CONFLICT: breaks Svelte which leaves meta descriptions to route leaves */,
|
|
49
|
+
"@html-eslint/require-open-graph-protocol": OFF /* idk what this is, also it probably breaks Svelte */,
|
|
50
|
+
"@html-eslint/require-title": OFF /* @CONFLICT: breaks Svelte which leaves title to route leaves */,
|
|
49
51
|
|
|
50
52
|
// #endregion SEO
|
|
51
53
|
|
|
@@ -54,9 +56,12 @@ export const HtmlEnable = [
|
|
|
54
56
|
"@html-eslint/no-abstract-roles": ERROR,
|
|
55
57
|
"@html-eslint/no-accesskey-attrs": ERROR,
|
|
56
58
|
"@html-eslint/no-aria-hidden-body": ERROR,
|
|
59
|
+
"@html-eslint/no-heading-inside-button": ERROR,
|
|
60
|
+
"@html-eslint/no-invalid-role": ERROR,
|
|
57
61
|
"@html-eslint/no-non-scalable-viewport": ERROR,
|
|
58
62
|
"@html-eslint/no-positive-tabindex": ERROR,
|
|
59
63
|
"@html-eslint/no-skip-heading-levels": ERROR,
|
|
64
|
+
"@html-eslint/require-form-method": ERROR,
|
|
60
65
|
"@html-eslint/require-frame-title": ERROR,
|
|
61
66
|
"@html-eslint/require-img-alt": [
|
|
62
67
|
ERROR,
|
|
@@ -64,6 +69,7 @@ export const HtmlEnable = [
|
|
|
64
69
|
substitute: [],
|
|
65
70
|
},
|
|
66
71
|
],
|
|
72
|
+
"@html-eslint/require-input-label": ERROR,
|
|
67
73
|
"@html-eslint/require-meta-viewport": ERROR,
|
|
68
74
|
|
|
69
75
|
// #endregion ACCESSIBILITY
|
|
@@ -90,7 +96,7 @@ export const HtmlEnable = [
|
|
|
90
96
|
"@html-eslint/indent": [
|
|
91
97
|
ERROR,
|
|
92
98
|
2,
|
|
93
|
-
]
|
|
99
|
+
] /* @CONFIGURE: indents for specific child tags: https://html-eslint.org/docs/rules/indent */,
|
|
94
100
|
"@html-eslint/lowercase": ERROR,
|
|
95
101
|
"@html-eslint/no-extra-spacing-attrs": [
|
|
96
102
|
ERROR,
|