@html-eslint/eslint-plugin 0.51.0 → 0.52.1
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/lib/configs/recommended.js +8 -2
- package/lib/index.js +2 -6
- package/lib/languages/html-language.js +23 -15
- package/lib/languages/html-source-code.js +34 -26
- package/lib/languages/html-traversal-step.js +6 -10
- package/lib/rules/attrs-newline.js +15 -11
- package/lib/rules/class-spacing.js +148 -0
- package/lib/rules/element-newline.js +18 -21
- package/lib/rules/id-naming-convention.js +15 -12
- package/lib/rules/indent/indent-level.js +10 -17
- package/lib/rules/indent/indent.js +51 -56
- package/lib/rules/index.js +5 -1
- package/lib/rules/lowercase.js +11 -23
- package/lib/rules/max-element-depth.js +8 -10
- package/lib/rules/no-abstract-roles.js +8 -8
- package/lib/rules/no-accesskey-attrs.js +8 -8
- package/lib/rules/no-aria-hidden-body.js +2 -6
- package/lib/rules/no-aria-hidden-on-focusable.js +4 -5
- package/lib/rules/no-duplicate-attrs.js +12 -8
- package/lib/rules/no-duplicate-class.js +8 -14
- package/lib/rules/no-duplicate-id.js +9 -15
- package/lib/rules/no-duplicate-in-head.js +10 -17
- package/lib/rules/no-empty-headings.js +7 -8
- package/lib/rules/no-extra-spacing-attrs.js +13 -8
- package/lib/rules/no-extra-spacing-text.js +11 -14
- package/lib/rules/no-heading-inside-button.js +2 -6
- package/lib/rules/no-ineffective-attrs.js +14 -15
- package/lib/rules/no-inline-styles.js +2 -6
- package/lib/rules/no-invalid-entity.js +4 -8
- package/lib/rules/no-invalid-role.js +3 -10
- package/lib/rules/no-multiple-empty-lines.js +7 -7
- package/lib/rules/no-multiple-h1.js +4 -8
- package/lib/rules/no-nested-interactive.js +5 -9
- package/lib/rules/no-non-scalable-viewport.js +2 -6
- package/lib/rules/no-obsolete-attrs.js +83 -0
- package/lib/rules/no-obsolete-tags.js +2 -6
- package/lib/rules/no-positive-tabindex.js +8 -8
- package/lib/rules/no-restricted-attr-values.js +18 -21
- package/lib/rules/no-restricted-attrs.js +18 -22
- package/lib/rules/no-restricted-tags.js +17 -20
- package/lib/rules/no-script-style-type.js +7 -6
- package/lib/rules/no-skip-heading-levels.js +4 -8
- package/lib/rules/no-target-blank.js +3 -6
- package/lib/rules/no-trailing-spaces.js +7 -6
- package/lib/rules/no-whitespace-only-children.js +7 -8
- package/lib/rules/prefer-https.js +11 -14
- package/lib/rules/quotes.js +13 -16
- package/lib/rules/require-attrs.js +18 -17
- package/lib/rules/require-button-type.js +6 -5
- package/lib/rules/require-closing-tags.js +9 -12
- package/lib/rules/require-doctype.js +2 -6
- package/lib/rules/require-explicit-size.js +2 -5
- package/lib/rules/require-form-method.js +2 -6
- package/lib/rules/require-frame-title.js +2 -6
- package/lib/rules/require-img-alt.js +3 -6
- package/lib/rules/require-input-label.js +3 -5
- package/lib/rules/require-lang.js +2 -6
- package/lib/rules/require-li-container.js +2 -6
- package/lib/rules/require-meta-charset.js +6 -5
- package/lib/rules/require-meta-description.js +6 -5
- package/lib/rules/require-meta-viewport.js +6 -5
- package/lib/rules/require-open-graph-protocol.js +7 -8
- package/lib/rules/require-title.js +7 -5
- package/lib/rules/sort-attrs.js +13 -19
- package/lib/rules/use-baseline.js +8 -6
- package/lib/rules/utils/baseline.js +4 -6
- package/lib/rules/utils/naming.js +14 -7
- package/lib/rules/utils/node.js +63 -29
- package/lib/rules/utils/rule.js +1 -4
- package/lib/rules/utils/settings.js +9 -3
- package/lib/rules/utils/source-code.js +2 -6
- package/lib/rules/utils/template-literal.js +16 -7
- package/lib/rules/utils/visitors.js +4 -1
- package/lib/specs/index.js +5 -0
- package/lib/specs/obsolete-attrs.js +604 -0
- package/lib/types/ast.ts +5 -2
- package/package.json +6 -6
- package/types/configs/recommended.d.ts +2 -1
- package/types/configs/recommended.d.ts.map +1 -1
- package/types/index.d.ts +2 -6
- package/types/index.d.ts.map +1 -1
- package/types/languages/html-language.d.ts +12 -10
- package/types/languages/html-language.d.ts.map +1 -1
- package/types/languages/html-source-code.d.ts +13 -6
- package/types/languages/html-source-code.d.ts.map +1 -1
- package/types/languages/html-traversal-step.d.ts +5 -5
- package/types/languages/html-traversal-step.d.ts.map +1 -1
- package/types/rules/attrs-newline.d.ts +1 -1
- package/types/rules/attrs-newline.d.ts.map +1 -1
- package/types/rules/class-spacing.d.ts +4 -0
- package/types/rules/class-spacing.d.ts.map +1 -0
- package/types/rules/element-newline.d.ts +3 -3
- package/types/rules/element-newline.d.ts.map +1 -1
- package/types/rules/id-naming-convention.d.ts.map +1 -1
- package/types/rules/indent/indent-level.d.ts +10 -17
- package/types/rules/indent/indent-level.d.ts.map +1 -1
- package/types/rules/indent/indent.d.ts.map +1 -1
- package/types/rules/lowercase.d.ts.map +1 -1
- package/types/rules/max-element-depth.d.ts.map +1 -1
- package/types/rules/no-abstract-roles.d.ts.map +1 -1
- package/types/rules/no-accesskey-attrs.d.ts.map +1 -1
- package/types/rules/no-aria-hidden-body.d.ts.map +1 -1
- package/types/rules/no-aria-hidden-on-focusable.d.ts.map +1 -1
- package/types/rules/no-duplicate-attrs.d.ts.map +1 -1
- package/types/rules/no-duplicate-class.d.ts.map +1 -1
- package/types/rules/no-duplicate-id.d.ts.map +1 -1
- package/types/rules/no-duplicate-in-head.d.ts.map +1 -1
- package/types/rules/no-empty-headings.d.ts.map +1 -1
- package/types/rules/no-extra-spacing-attrs.d.ts.map +1 -1
- package/types/rules/no-extra-spacing-text.d.ts.map +1 -1
- package/types/rules/no-heading-inside-button.d.ts.map +1 -1
- package/types/rules/no-ineffective-attrs.d.ts.map +1 -1
- package/types/rules/no-inline-styles.d.ts.map +1 -1
- package/types/rules/no-invalid-entity.d.ts.map +1 -1
- package/types/rules/no-invalid-role.d.ts.map +1 -1
- package/types/rules/no-multiple-empty-lines.d.ts.map +1 -1
- package/types/rules/no-multiple-h1.d.ts.map +1 -1
- package/types/rules/no-nested-interactive.d.ts.map +1 -1
- package/types/rules/no-non-scalable-viewport.d.ts.map +1 -1
- package/types/rules/no-obsolete-attrs.d.ts +4 -0
- package/types/rules/no-obsolete-attrs.d.ts.map +1 -0
- package/types/rules/no-obsolete-tags.d.ts.map +1 -1
- package/types/rules/no-positive-tabindex.d.ts.map +1 -1
- package/types/rules/no-restricted-attr-values.d.ts.map +1 -1
- package/types/rules/no-restricted-attrs.d.ts.map +1 -1
- package/types/rules/no-restricted-tags.d.ts.map +1 -1
- package/types/rules/no-script-style-type.d.ts.map +1 -1
- package/types/rules/no-skip-heading-levels.d.ts.map +1 -1
- package/types/rules/no-target-blank.d.ts.map +1 -1
- package/types/rules/no-trailing-spaces.d.ts.map +1 -1
- package/types/rules/no-whitespace-only-children.d.ts.map +1 -1
- package/types/rules/prefer-https.d.ts.map +1 -1
- package/types/rules/quotes.d.ts.map +1 -1
- package/types/rules/require-attrs.d.ts.map +1 -1
- package/types/rules/require-button-type.d.ts.map +1 -1
- package/types/rules/require-closing-tags.d.ts.map +1 -1
- package/types/rules/require-doctype.d.ts.map +1 -1
- package/types/rules/require-explicit-size.d.ts.map +1 -1
- package/types/rules/require-form-method.d.ts.map +1 -1
- package/types/rules/require-frame-title.d.ts.map +1 -1
- package/types/rules/require-img-alt.d.ts.map +1 -1
- package/types/rules/require-input-label.d.ts.map +1 -1
- package/types/rules/require-lang.d.ts.map +1 -1
- package/types/rules/require-li-container.d.ts.map +1 -1
- package/types/rules/require-meta-charset.d.ts.map +1 -1
- package/types/rules/require-meta-description.d.ts.map +1 -1
- package/types/rules/require-meta-viewport.d.ts.map +1 -1
- package/types/rules/require-open-graph-protocol.d.ts.map +1 -1
- package/types/rules/require-title.d.ts.map +1 -1
- package/types/rules/sort-attrs.d.ts.map +1 -1
- package/types/rules/use-baseline.d.ts.map +1 -1
- package/types/rules/utils/baseline.d.ts +1 -3
- package/types/rules/utils/baseline.d.ts.map +1 -1
- package/types/rules/utils/naming.d.ts +14 -7
- package/types/rules/utils/naming.d.ts.map +1 -1
- package/types/rules/utils/node.d.ts +11 -10
- package/types/rules/utils/node.d.ts.map +1 -1
- package/types/rules/utils/rule.d.ts +1 -4
- package/types/rules/utils/rule.d.ts.map +1 -1
- package/types/rules/utils/settings.d.ts +0 -1
- package/types/rules/utils/settings.d.ts.map +1 -1
- package/types/rules/utils/source-code.d.ts +2 -6
- package/types/rules/utils/source-code.d.ts.map +1 -1
- package/types/rules/utils/template-literal.d.ts +2 -1
- package/types/rules/utils/template-literal.d.ts.map +1 -1
- package/types/rules/utils/visitors.d.ts.map +1 -1
- package/types/specs/index.d.ts +3 -0
- package/types/specs/index.d.ts.map +1 -0
- package/types/specs/obsolete-attrs.d.ts +19 -0
- package/types/specs/obsolete-attrs.d.ts.map +1 -0
- package/types/types/ast.d.ts +5 -2
- package/types/types/ast.d.ts.map +1 -1
|
@@ -1,34 +1,36 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @implements {Language<{
|
|
2
|
+
* @implements {Language<{
|
|
3
|
+
* LangOptions: ParserOptions;
|
|
4
|
+
* Code: ReturnType<typeof createHTMLSourceCode>;
|
|
5
|
+
* RootNode: AST.Program;
|
|
6
|
+
* Node: {};
|
|
7
|
+
* }>}
|
|
3
8
|
*/
|
|
4
9
|
export class HTMLLanguage implements Language {
|
|
5
10
|
/**
|
|
6
|
-
* @property
|
|
7
11
|
* @type {"text"}
|
|
12
|
+
* @property
|
|
8
13
|
*/
|
|
9
14
|
fileType: "text";
|
|
10
15
|
/**
|
|
16
|
+
* @type {0 | 1}
|
|
11
17
|
* @property
|
|
12
|
-
* @type {0|1}
|
|
13
18
|
*/
|
|
14
19
|
lineStart: 0 | 1;
|
|
15
20
|
/**
|
|
21
|
+
* @type {0 | 1}
|
|
16
22
|
* @property
|
|
17
|
-
* @type {0|1}
|
|
18
23
|
*/
|
|
19
24
|
columnStart: 0 | 1;
|
|
20
|
-
/**
|
|
21
|
-
* @type {string}
|
|
22
|
-
*/
|
|
25
|
+
/** @type {string} */
|
|
23
26
|
nodeTypeKey: string;
|
|
24
27
|
/**
|
|
25
28
|
* The visitor keys for the es-html-parser AST.
|
|
29
|
+
*
|
|
26
30
|
* @type {Record<string, string[]>}
|
|
27
31
|
*/
|
|
28
32
|
visitorKeys: Record<string, string[]>;
|
|
29
|
-
/**
|
|
30
|
-
* @param {ParserOptions} languageOptions
|
|
31
|
-
*/
|
|
33
|
+
/** @param {ParserOptions} languageOptions */
|
|
32
34
|
validateLanguageOptions(languageOptions: ParserOptions): void;
|
|
33
35
|
/**
|
|
34
36
|
* @param {File} file
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"html-language.d.ts","sourceRoot":"","sources":["../../lib/languages/html-language.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"html-language.d.ts","sourceRoot":"","sources":["../../lib/languages/html-language.js"],"names":[],"mappings":"AAeA;;;;;;;GAOG;AACH;IAEI;;;OAGG;IACH,UAHU,MAAM,CAGM;IAEtB;;;OAGG;IACH,WAHU,CAAC,GAAG,CAAC,CAGG;IAElB;;;OAGG;IACH,aAHU,CAAC,GAAG,CAAC,CAGK;IAEpB,qBAAqB;IACrB,aADW,MAAM,CACQ;IAEzB;;;;OAIG;IACH,aAFU,MAAM,CAAC,MAAM,EAAE,MAAM,EAAE,CAAC,CAEJ;IAGhC,6CAA6C;IAC7C,yCADY,aAAa,QA6BxB;IAED;;;;;OAKG;IACH,YALW,IAAI,YAEZ;QAA+B,eAAe,EAAtC,aAAa;KACrB,GAAU,YAAY,WAAW,CAAC,CAkBpC;IAED;;;OAGG;IACH,uBAHW,IAAI,eACJ,cAAc,WAAW,CAAC;;;;;;;;;;MAQpC;CACF;8BAjHS,cAAc;mCACQ,qBAAqB;0BAD3C,cAAc;yBAEF,QAAQ;iCAFpB,cAAc;mCAAd,cAAc"}
|
|
@@ -1,8 +1,15 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @param {{ast: AST.Program
|
|
2
|
+
* @param {{ ast: AST.Program; text: string; comments: CommentContent[] }} config
|
|
3
3
|
* @returns {TextSourceCodeBase<any> & {
|
|
4
|
-
* getDisableDirectives(): {
|
|
5
|
-
*
|
|
4
|
+
* getDisableDirectives(): {
|
|
5
|
+
* problems: {
|
|
6
|
+
* ruleId: null | string;
|
|
7
|
+
* message: string;
|
|
8
|
+
* loc: SourceLocation;
|
|
9
|
+
* }[];
|
|
10
|
+
* directives: Directive[];
|
|
11
|
+
* };
|
|
12
|
+
* getInlineConfigNodes(): CommentContent[];
|
|
6
13
|
* }}
|
|
7
14
|
*/
|
|
8
15
|
export function createHTMLSourceCode(config: {
|
|
@@ -20,9 +27,9 @@ export function createHTMLSourceCode(config: {
|
|
|
20
27
|
};
|
|
21
28
|
getInlineConfigNodes(): CommentContent[];
|
|
22
29
|
};
|
|
23
|
-
import type { AST } from
|
|
24
|
-
import type { CommentContent } from
|
|
30
|
+
import type { AST } from "eslint";
|
|
31
|
+
import type { CommentContent } from "@html-eslint/types";
|
|
25
32
|
import { TextSourceCodeBase } from "@eslint/plugin-kit";
|
|
26
|
-
import type { SourceLocation } from
|
|
33
|
+
import type { SourceLocation } from "@eslint/plugin-kit";
|
|
27
34
|
import { Directive } from "@eslint/plugin-kit";
|
|
28
35
|
//# sourceMappingURL=html-source-code.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"html-source-code.d.ts","sourceRoot":"","sources":["../../lib/languages/html-source-code.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"html-source-code.d.ts","sourceRoot":"","sources":["../../lib/languages/html-source-code.js"],"names":[],"mappings":"AA0LA;;;;;;;;;;;;;GAaG;AACH,6CAbW;IAAE,GAAG,EAAE,WAAW,CAAC;IAAC,IAAI,EAAE,MAAM,CAAC;IAAC,QAAQ,EAAE,cAAc,EAAE,CAAA;CAAE,GAC5D,kBAAkB,CAAC,GAAG,CAAC,GAAG;IAClC,oBAAoB,IAAI;QACtB,QAAQ,EAAE;YACR,MAAM,EAAE,IAAI,GAAG,MAAM,CAAC;YACtB,OAAO,EAAE,MAAM,CAAC;YAChB,GAAG,EAAE,cAAc,CAAC;SACrB,EAAE,CAAC;QACJ,UAAU,EAAE,SAAS,EAAE,CAAC;KACzB,CAAC;IACF,oBAAoB,IAAI,cAAc,EAAE,CAAC;CAC1C,CAIH;yBA7LqB,QAAQ;oCADpB,oBAAoB;;oCAJpB,oBAAoB"}
|
|
@@ -2,13 +2,13 @@ export class HTMLTraversalStep extends VisitNodeStep {
|
|
|
2
2
|
/**
|
|
3
3
|
* @param {Object} options
|
|
4
4
|
* @param {AnyHTMLNode | AST.Program} options.target
|
|
5
|
-
* @param {1|2} options.phase
|
|
6
|
-
* @param {
|
|
5
|
+
* @param {1 | 2} options.phase
|
|
6
|
+
* @param {any[]} options.args
|
|
7
7
|
*/
|
|
8
8
|
constructor({ target, phase, args }: {
|
|
9
9
|
target: AnyHTMLNode | AST.Program;
|
|
10
10
|
phase: 1 | 2;
|
|
11
|
-
args:
|
|
11
|
+
args: any[];
|
|
12
12
|
});
|
|
13
13
|
target: AST.Program | AnyHTMLNode;
|
|
14
14
|
}
|
|
@@ -17,6 +17,6 @@ export namespace STEP_PHASE {
|
|
|
17
17
|
let EXIT: 2;
|
|
18
18
|
}
|
|
19
19
|
import { VisitNodeStep } from "@eslint/plugin-kit";
|
|
20
|
-
import type { AST } from
|
|
21
|
-
import type { AnyHTMLNode } from
|
|
20
|
+
import type { AST } from "eslint";
|
|
21
|
+
import type { AnyHTMLNode } from "@html-eslint/types";
|
|
22
22
|
//# sourceMappingURL=html-traversal-step.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"html-traversal-step.d.ts","sourceRoot":"","sources":["../../lib/languages/html-traversal-step.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"html-traversal-step.d.ts","sourceRoot":"","sources":["../../lib/languages/html-traversal-step.js"],"names":[],"mappings":"AAcA;IACE;;;;;OAKG;IACH,qCAJG;QAA2C,MAAM,EAAzC,WAAW,GAAG,WAAW;QACV,KAAK,EAApB,CAAC,GAAG,CAAC;QACU,IAAI,EAAnB,GAAG,EAAE;KACf,EAIA;IADC,kCAAoB;CAEvB;;eAjBY,CAAC;cAED,CAAC;;;yBARQ,QAAQ;iCADA,oBAAoB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"attrs-newline.d.ts","sourceRoot":"","sources":["../../lib/rules/attrs-newline.js"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"attrs-newline.d.ts","sourceRoot":"","sources":["../../lib/rules/attrs-newline.js"],"names":[],"mappings":";;;wBAwBW,WAAW,CAAC,MAAM,CAAC,CAAC;;;uBAlBjB,iBAAiB;qBACjB,gBAAgB;;;;;;gCAHpB,UAAU"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"class-spacing.d.ts","sourceRoot":"","sources":["../../lib/rules/class-spacing.js"],"names":[],"mappings":"wBAeW,WAAW,EAAE,CAAC;;gCAfK,UAAU"}
|
|
@@ -8,7 +8,7 @@ type Option = {
|
|
|
8
8
|
skip?: string[] | undefined;
|
|
9
9
|
inline?: string[] | undefined;
|
|
10
10
|
};
|
|
11
|
-
import type { RuleModule } from
|
|
12
|
-
import type { AnyNode } from
|
|
13
|
-
import type { Line } from
|
|
11
|
+
import type { RuleModule } from "../types";
|
|
12
|
+
import type { AnyNode } from "@html-eslint/types";
|
|
13
|
+
import type { Line } from "../types";
|
|
14
14
|
//# sourceMappingURL=element-newline.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"element-newline.d.ts","sourceRoot":"","sources":["../../lib/rules/element-newline.js"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"element-newline.d.ts","sourceRoot":"","sources":["../../lib/rules/element-newline.js"],"names":[],"mappings":";;;wBAyEW,WAAW,CAAC,MAAM,CAAC,CAAC;;qBA9DlB,OAAO,GAAG,IAAI;;;;;gCADjB,UAAU;6BAJV,oBAAoB;0BAIpB,UAAU"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"id-naming-convention.d.ts","sourceRoot":"","sources":["../../lib/rules/id-naming-convention.js"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"id-naming-convention.d.ts","sourceRoot":"","sources":["../../lib/rules/id-naming-convention.js"],"names":[],"mappings":";;;wBAiDW,WAAW,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC;;eA1C5B,WAAW,GACjB,YAAY,GACZ,YAAY,GACZ,YAAY,GACZ,OAAO;;aAIA,MAAM;;;gCATS,UAAU"}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
export = IndentLevel;
|
|
2
2
|
/**
|
|
3
|
-
* @import {AnyNode} from "@html-eslint/types"
|
|
4
|
-
* @typedef {{ [key in AnyNode[
|
|
3
|
+
* @import {AnyNode} from "@html-eslint/types"
|
|
4
|
+
* @typedef {{ [key in AnyNode["type"]]?: number }} IncLevelOptions
|
|
5
|
+
*
|
|
5
6
|
* @typedef {(node: AnyNode) => number} GetIncreasingLevel
|
|
6
7
|
*/
|
|
7
8
|
declare class IndentLevel {
|
|
@@ -13,37 +14,29 @@ declare class IndentLevel {
|
|
|
13
14
|
getIncreasingLevel: GetIncreasingLevel;
|
|
14
15
|
});
|
|
15
16
|
/**
|
|
16
|
-
* @member
|
|
17
17
|
* @private
|
|
18
|
+
* @member
|
|
18
19
|
* @type {number}
|
|
19
20
|
*/
|
|
20
21
|
private level;
|
|
21
22
|
/**
|
|
22
|
-
* @member
|
|
23
23
|
* @private
|
|
24
|
+
* @member
|
|
24
25
|
* @type {number}
|
|
25
26
|
*/
|
|
26
27
|
private baseLevel;
|
|
27
28
|
/**
|
|
28
|
-
* @member
|
|
29
29
|
* @private
|
|
30
|
+
* @member
|
|
30
31
|
*/
|
|
31
32
|
private getInc;
|
|
32
|
-
/**
|
|
33
|
-
* @returns {number}
|
|
34
|
-
*/
|
|
33
|
+
/** @returns {number} */
|
|
35
34
|
value(): number;
|
|
36
|
-
/**
|
|
37
|
-
* @param {AnyNode} node
|
|
38
|
-
*/
|
|
35
|
+
/** @param {AnyNode} node */
|
|
39
36
|
indent(node: AnyNode): void;
|
|
40
|
-
/**
|
|
41
|
-
* @param {AnyNode} node
|
|
42
|
-
*/
|
|
37
|
+
/** @param {AnyNode} node */
|
|
43
38
|
dedent(node: AnyNode): void;
|
|
44
|
-
/**
|
|
45
|
-
* @param {number} base
|
|
46
|
-
*/
|
|
39
|
+
/** @param {number} base */
|
|
47
40
|
setBase(base: number): void;
|
|
48
41
|
}
|
|
49
42
|
declare namespace IndentLevel {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"indent-level.d.ts","sourceRoot":"","sources":["../../../lib/rules/indent/indent-level.js"],"names":[],"mappings":";AAAA
|
|
1
|
+
{"version":3,"file":"indent-level.d.ts","sourceRoot":"","sources":["../../../lib/rules/indent/indent-level.js"],"names":[],"mappings":";AAAA;;;;;GAKG;AAEH;IACE;;;OAGG;IACH,oBAFG;QAAmC,kBAAkB,EAA7C,kBAAkB;KAC5B,EAmBA;IAjBC;;;;OAIG;IACH,cAAe;IACf;;;;OAIG;IACH,kBAAkB;IAClB;;;OAGG;IACH,eAAuC;IAGzC,wBAAwB;IACxB,SADc,MAAM,CAGnB;IAED,4BAA4B;IAC5B,aADY,OAAO,QAGlB;IAED,4BAA4B;IAC5B,aADY,OAAO,QAGlB;IAED,2BAA2B;IAC3B,cADY,MAAM,QAGjB;CACF;;;;6BAlDyB,oBAAoB;uBACjC,GAAG,GAAG,IAAI,OAAO,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,MAAM,GAAE;0BAErC,CAAC,IAAI,EAAE,OAAO,KAAK,MAAM"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"indent.d.ts","sourceRoot":"","sources":["../../../lib/rules/indent/indent.js"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"indent.d.ts","sourceRoot":"","sources":["../../../lib/rules/indent/indent.js"],"names":[],"mappings":";;;wBAyEW,WAAW,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC;;qBAtD5B,OAAO,GAAG,IAAI;;SAGb,KAAK;WACL,OAAO;;;kBAGP,aAAa;;;gBAGb,UAAU,CAAC,KAAK,CAAC,GAAG,UAAU,CAAC,OAAO,CAAC;gBACvC,MAAM;gBACN,MAAM;;eAEP,KAAK,GAAG,MAAM;;;;;;;gCAfjB,aAAa;6BAPb,oBAAoB;0BAOpB,aAAa"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"lowercase.d.ts","sourceRoot":"","sources":["../../lib/rules/lowercase.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"lowercase.d.ts","sourceRoot":"","sources":["../../lib/rules/lowercase.js"],"names":[],"mappings":"wBAoBW,WAAW,EAAE,CAAC;;gCAbI,UAAU"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"max-element-depth.d.ts","sourceRoot":"","sources":["../../lib/rules/max-element-depth.js"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"max-element-depth.d.ts","sourceRoot":"","sources":["../../lib/rules/max-element-depth.js"],"names":[],"mappings":";;;wBAmBW,WAAW,CAAC,MAAM,CAAC,CAAC;;;;;gCAbF,UAAU"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"no-abstract-roles.d.ts","sourceRoot":"","sources":["../../lib/rules/no-abstract-roles.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"no-abstract-roles.d.ts","sourceRoot":"","sources":["../../lib/rules/no-abstract-roles.js"],"names":[],"mappings":"wBAiCW,WAAW,EAAE,CAAC;;gCA3BI,UAAU"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"no-accesskey-attrs.d.ts","sourceRoot":"","sources":["../../lib/rules/no-accesskey-attrs.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"no-accesskey-attrs.d.ts","sourceRoot":"","sources":["../../lib/rules/no-accesskey-attrs.js"],"names":[],"mappings":"wBAkBW,WAAW,EAAE,CAAC;;gCAZI,UAAU"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"no-aria-hidden-body.d.ts","sourceRoot":"","sources":["../../lib/rules/no-aria-hidden-body.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"no-aria-hidden-body.d.ts","sourceRoot":"","sources":["../../lib/rules/no-aria-hidden-body.js"],"names":[],"mappings":"wBAWW,WAAW,EAAE,CAAC;;gCAXK,UAAU"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"no-aria-hidden-on-focusable.d.ts","sourceRoot":"","sources":["../../lib/rules/no-aria-hidden-on-focusable.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"no-aria-hidden-on-focusable.d.ts","sourceRoot":"","sources":["../../lib/rules/no-aria-hidden-on-focusable.js"],"names":[],"mappings":"wBA6BW,WAAW,EAAE,CAAC;;gCA3BI,UAAU"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"no-duplicate-attrs.d.ts","sourceRoot":"","sources":["../../lib/rules/no-duplicate-attrs.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"no-duplicate-attrs.d.ts","sourceRoot":"","sources":["../../lib/rules/no-duplicate-attrs.js"],"names":[],"mappings":"wBAuBW,WAAW,EAAE,CAAC;;gCAbf,UAAU"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"no-duplicate-class.d.ts","sourceRoot":"","sources":["../../lib/rules/no-duplicate-class.js"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"no-duplicate-class.d.ts","sourceRoot":"","sources":["../../lib/rules/no-duplicate-class.js"],"names":[],"mappings":";;;wBAkBW,WAAW,EAAE,CAAC;;;UAdX,MAAM;SACN,OAAO,oBAAoB,EAAE,OAAO,CAAC,KAAK,CAAC;WAC3C,OAAO,oBAAoB,EAAE,OAAO,CAAC,OAAO,CAAC;;gCAJ9B,UAAU"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"no-duplicate-id.d.ts","sourceRoot":"","sources":["../../lib/rules/no-duplicate-id.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"no-duplicate-id.d.ts","sourceRoot":"","sources":["../../lib/rules/no-duplicate-id.js"],"names":[],"mappings":"wBAsBW,WAAW,EAAE,CAAC;;gCAjBI,UAAU"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"no-duplicate-in-head.d.ts","sourceRoot":"","sources":["../../lib/rules/no-duplicate-in-head.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"no-duplicate-in-head.d.ts","sourceRoot":"","sources":["../../lib/rules/no-duplicate-in-head.js"],"names":[],"mappings":"wBA6DW,WAAW,EAAE,CAAC;;gCA3DI,UAAU"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"no-empty-headings.d.ts","sourceRoot":"","sources":["../../lib/rules/no-empty-headings.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"no-empty-headings.d.ts","sourceRoot":"","sources":["../../lib/rules/no-empty-headings.js"],"names":[],"mappings":"wBAwFW,WAAW,EAAE,CAAC;;gCAnFI,UAAU"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"no-extra-spacing-attrs.d.ts","sourceRoot":"","sources":["../../lib/rules/no-extra-spacing-attrs.js"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"no-extra-spacing-attrs.d.ts","sourceRoot":"","sources":["../../lib/rules/no-extra-spacing-attrs.js"],"names":[],"mappings":";;;wBAuCW,WAAW,CAAC,MAAM,CAAC,CAAC;;;;;;;;gCA5BF,UAAU"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"no-extra-spacing-text.d.ts","sourceRoot":"","sources":["../../lib/rules/no-extra-spacing-text.js"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"no-extra-spacing-text.d.ts","sourceRoot":"","sources":["../../lib/rules/no-extra-spacing-text.js"],"names":[],"mappings":";;;wBAsBW,WAAW,CAAC,MAAM,CAAC,CAAC;;;;;gCAfF,UAAU"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"no-heading-inside-button.d.ts","sourceRoot":"","sources":["../../lib/rules/no-heading-inside-button.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"no-heading-inside-button.d.ts","sourceRoot":"","sources":["../../lib/rules/no-heading-inside-button.js"],"names":[],"mappings":"wBAaW,WAAW,EAAE,CAAC;;gCAbK,UAAU"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"no-ineffective-attrs.d.ts","sourceRoot":"","sources":["../../lib/rules/no-ineffective-attrs.js"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"no-ineffective-attrs.d.ts","sourceRoot":"","sources":["../../lib/rules/no-ineffective-attrs.js"],"names":[],"mappings":";;;wBAqHW,WAAW,EAAE,CAAC;;wBA/GZ;IACR,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,CAAC,IAAI,EAAE,GAAG,GAAG,SAAS,KAAK,OAAO,CAAC;IACzC,OAAO,EAAE,MAAM,CAAC;CACjB;gCALyB,UAAU;yBAD7B,oBAAoB;+BAApB,oBAAoB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"no-inline-styles.d.ts","sourceRoot":"","sources":["../../lib/rules/no-inline-styles.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"no-inline-styles.d.ts","sourceRoot":"","sources":["../../lib/rules/no-inline-styles.js"],"names":[],"mappings":"wBAWW,WAAW,EAAE,CAAC;;gCAXK,UAAU"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"no-invalid-entity.d.ts","sourceRoot":"","sources":["../../lib/rules/no-invalid-entity.js"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"no-invalid-entity.d.ts","sourceRoot":"","sources":["../../lib/rules/no-invalid-entity.js"],"names":[],"mappings":";;;wBAuBW,WAAW,EAAE,CAAC;;;gBAfX,MAAM,EAAE;gBACR,MAAM;;gCAPS,UAAU"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"no-invalid-role.d.ts","sourceRoot":"","sources":["../../lib/rules/no-invalid-role.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"no-invalid-role.d.ts","sourceRoot":"","sources":["../../lib/rules/no-invalid-role.js"],"names":[],"mappings":"wBAkOW,WAAW,EAAE,CAAC;;gCAlOK,UAAU"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"no-multiple-empty-lines.d.ts","sourceRoot":"","sources":["../../lib/rules/no-multiple-empty-lines.js"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"no-multiple-empty-lines.d.ts","sourceRoot":"","sources":["../../lib/rules/no-multiple-empty-lines.js"],"names":[],"mappings":";;;wBA4BW,WAAW,CAAC,MAAM,CAAC,CAAC;;;SArBjB,MAAM;;gCAFS,UAAU"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"no-multiple-h1.d.ts","sourceRoot":"","sources":["../../lib/rules/no-multiple-h1.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"no-multiple-h1.d.ts","sourceRoot":"","sources":["../../lib/rules/no-multiple-h1.js"],"names":[],"mappings":"wBAYW,WAAW,EAAE,CAAC;;gCAVI,UAAU"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"no-nested-interactive.d.ts","sourceRoot":"","sources":["../../lib/rules/no-nested-interactive.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"no-nested-interactive.d.ts","sourceRoot":"","sources":["../../lib/rules/no-nested-interactive.js"],"names":[],"mappings":"wBAyDW,WAAW,EAAE,CAAC;;gCAvDI,UAAU"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"no-non-scalable-viewport.d.ts","sourceRoot":"","sources":["../../lib/rules/no-non-scalable-viewport.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"no-non-scalable-viewport.d.ts","sourceRoot":"","sources":["../../lib/rules/no-non-scalable-viewport.js"],"names":[],"mappings":"wBAUW,WAAW,EAAE,CAAC;;gCAVK,UAAU"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"no-obsolete-attrs.d.ts","sourceRoot":"","sources":["../../lib/rules/no-obsolete-attrs.js"],"names":[],"mappings":"wBAmBW,WAAW,EAAE,CAAC;;gCAbI,UAAU"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"no-obsolete-tags.d.ts","sourceRoot":"","sources":["../../lib/rules/no-obsolete-tags.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"no-obsolete-tags.d.ts","sourceRoot":"","sources":["../../lib/rules/no-obsolete-tags.js"],"names":[],"mappings":"wBAYW,WAAW,EAAE,CAAC;;gCAZK,UAAU"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"no-positive-tabindex.d.ts","sourceRoot":"","sources":["../../lib/rules/no-positive-tabindex.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"no-positive-tabindex.d.ts","sourceRoot":"","sources":["../../lib/rules/no-positive-tabindex.js"],"names":[],"mappings":"wBAkBW,WAAW,EAAE,CAAC;;gCAZI,UAAU"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"no-restricted-attr-values.d.ts","sourceRoot":"","sources":["../../lib/rules/no-restricted-attr-values.js"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"no-restricted-attr-values.d.ts","sourceRoot":"","sources":["../../lib/rules/no-restricted-attr-values.js"],"names":[],"mappings":";;;wBAuBW,WAAW,OAAO,CAAC;;eAfjB;IACR,YAAY,EAAE,MAAM,EAAE,CAAC;IACvB,iBAAiB,EAAE,MAAM,EAAE,CAAC;IAC5B,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB,EAAE;gCALuB,UAAU"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"no-restricted-attrs.d.ts","sourceRoot":"","sources":["../../lib/rules/no-restricted-attrs.js"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"no-restricted-attrs.d.ts","sourceRoot":"","sources":["../../lib/rules/no-restricted-attrs.js"],"names":[],"mappings":";;;wBAwBW,WAAW,OAAO,CAAC;;eAhBjB;IACR,WAAW,EAAE,MAAM,EAAE,CAAC;IACtB,YAAY,EAAE,MAAM,EAAE,CAAC;IACvB,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB,EAAE;gCALuB,UAAU"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"no-restricted-tags.d.ts","sourceRoot":"","sources":["../../lib/rules/no-restricted-tags.js"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"no-restricted-tags.d.ts","sourceRoot":"","sources":["../../lib/rules/no-restricted-tags.js"],"names":[],"mappings":";;;wBAmBW,WAAW,OAAO,CAAC;;eAZjB;IAAE,WAAW,EAAE,MAAM,EAAE,CAAC;IAAC,OAAO,CAAC,EAAE,MAAM,CAAA;CAAE,EAAE;gCAD7B,UAAU"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"no-script-style-type.d.ts","sourceRoot":"","sources":["../../lib/rules/no-script-style-type.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"no-script-style-type.d.ts","sourceRoot":"","sources":["../../lib/rules/no-script-style-type.js"],"names":[],"mappings":"wBAkBW,WAAW,EAAE,CAAC;;gCAZI,UAAU"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"no-skip-heading-levels.d.ts","sourceRoot":"","sources":["../../lib/rules/no-skip-heading-levels.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"no-skip-heading-levels.d.ts","sourceRoot":"","sources":["../../lib/rules/no-skip-heading-levels.js"],"names":[],"mappings":"wBAYW,WAAW,EAAE,CAAC;;gCAVI,UAAU"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"no-target-blank.d.ts","sourceRoot":"","sources":["../../lib/rules/no-target-blank.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"no-target-blank.d.ts","sourceRoot":"","sources":["../../lib/rules/no-target-blank.js"],"names":[],"mappings":"wBAWW,WAAW,EAAE,CAAC;;gCAXK,UAAU"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"no-trailing-spaces.d.ts","sourceRoot":"","sources":["../../lib/rules/no-trailing-spaces.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"no-trailing-spaces.d.ts","sourceRoot":"","sources":["../../lib/rules/no-trailing-spaces.js"],"names":[],"mappings":"wBA0BW,WAAW,EAAE,CAAC;;gCArBI,UAAU"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"no-whitespace-only-children.d.ts","sourceRoot":"","sources":["../../lib/rules/no-whitespace-only-children.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"no-whitespace-only-children.d.ts","sourceRoot":"","sources":["../../lib/rules/no-whitespace-only-children.js"],"names":[],"mappings":"wBA4CW,WAAW,CAAC;IAAE,WAAW,CAAC,EAAE,MAAM,EAAE,CAAA;CAAE,CAAC,CAAC;;gCAvCtB,UAAU"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"prefer-https.d.ts","sourceRoot":"","sources":["../../lib/rules/prefer-https.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"prefer-https.d.ts","sourceRoot":"","sources":["../../lib/rules/prefer-https.js"],"names":[],"mappings":"wBAiEW,WAAW,EAAE,CAAC;;gCA1DI,UAAU"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"quotes.d.ts","sourceRoot":"","sources":["../../lib/rules/quotes.js"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"quotes.d.ts","sourceRoot":"","sources":["../../lib/rules/quotes.js"],"names":[],"mappings":";;;wBAgCW,WAAW,CAAC,mBAAmB,EAAE,YAAY,CAAC,CAAC;;2BAvB7C,QAAQ,GAAG,QAAQ;oBAEnB;IAAE,yBAAyB,EAAE,OAAO,CAAA;CAAE;gCAHtB,UAAU"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"require-attrs.d.ts","sourceRoot":"","sources":["../../lib/rules/require-attrs.js"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"require-attrs.d.ts","sourceRoot":"","sources":["../../lib/rules/require-attrs.js"],"names":[],"mappings":";;;wBA4BW,WAAW,MAAM,EAAE,CAAC;;;SAhBjB,MAAM;UACN,MAAM;;;;gCAHV,UAAU"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"require-button-type.d.ts","sourceRoot":"","sources":["../../lib/rules/require-button-type.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"require-button-type.d.ts","sourceRoot":"","sources":["../../lib/rules/require-button-type.js"],"names":[],"mappings":"wBAuBW,WAAW,EAAE,CAAC;;gCAlBf,UAAU"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"require-closing-tags.d.ts","sourceRoot":"","sources":["../../lib/rules/require-closing-tags.js"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"require-closing-tags.d.ts","sourceRoot":"","sources":["../../lib/rules/require-closing-tags.js"],"names":[],"mappings":";;;wBAyBW,WAAW,CAAC,MAAM,CAAC,CAAC;;;;;;gCAnBF,UAAU"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"require-doctype.d.ts","sourceRoot":"","sources":["../../lib/rules/require-doctype.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"require-doctype.d.ts","sourceRoot":"","sources":["../../lib/rules/require-doctype.js"],"names":[],"mappings":"wBASW,WAAW,EAAE,CAAC;;gCATK,UAAU"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"require-explicit-size.d.ts","sourceRoot":"","sources":["../../lib/rules/require-explicit-size.js"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"require-explicit-size.d.ts","sourceRoot":"","sources":["../../lib/rules/require-explicit-size.js"],"names":[],"mappings":";;;wBAmBW,WAAW,CAAC,MAAM,CAAC,CAAC;;;;;;gCAlBF,UAAU"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"require-form-method.d.ts","sourceRoot":"","sources":["../../lib/rules/require-form-method.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"require-form-method.d.ts","sourceRoot":"","sources":["../../lib/rules/require-form-method.js"],"names":[],"mappings":"wBAgBW,WAAW,EAAE,CAAC;;gCAhBK,UAAU"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"require-frame-title.d.ts","sourceRoot":"","sources":["../../lib/rules/require-frame-title.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"require-frame-title.d.ts","sourceRoot":"","sources":["../../lib/rules/require-frame-title.js"],"names":[],"mappings":"wBAYW,WAAW,EAAE,CAAC;;gCAZK,UAAU"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"require-img-alt.d.ts","sourceRoot":"","sources":["../../lib/rules/require-img-alt.js"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"require-img-alt.d.ts","sourceRoot":"","sources":["../../lib/rules/require-img-alt.js"],"names":[],"mappings":";;;wBAgBW,WAAW,CAAC,MAAM,CAAC,CAAC;;;;;gCAdF,UAAU"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"require-input-label.d.ts","sourceRoot":"","sources":["../../lib/rules/require-input-label.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"require-input-label.d.ts","sourceRoot":"","sources":["../../lib/rules/require-input-label.js"],"names":[],"mappings":"wBAkBW,WAAW,EAAE,CAAC;;gCAhBI,UAAU"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"require-lang.d.ts","sourceRoot":"","sources":["../../lib/rules/require-lang.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"require-lang.d.ts","sourceRoot":"","sources":["../../lib/rules/require-lang.js"],"names":[],"mappings":"wBAYW,WAAW,EAAE,CAAC;;gCAZK,UAAU"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"require-li-container.d.ts","sourceRoot":"","sources":["../../lib/rules/require-li-container.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"require-li-container.d.ts","sourceRoot":"","sources":["../../lib/rules/require-li-container.js"],"names":[],"mappings":"wBAYW,WAAW,EAAE,CAAC;;gCAZK,UAAU"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"require-meta-charset.d.ts","sourceRoot":"","sources":["../../lib/rules/require-meta-charset.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"require-meta-charset.d.ts","sourceRoot":"","sources":["../../lib/rules/require-meta-charset.js"],"names":[],"mappings":"wBA0BW,WAAW,EAAE,CAAC;;gCArBI,UAAU"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"require-meta-description.d.ts","sourceRoot":"","sources":["../../lib/rules/require-meta-description.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"require-meta-description.d.ts","sourceRoot":"","sources":["../../lib/rules/require-meta-description.js"],"names":[],"mappings":"wBAyBW,WAAW,EAAE,CAAC;;gCApBI,UAAU"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"require-meta-viewport.d.ts","sourceRoot":"","sources":["../../lib/rules/require-meta-viewport.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"require-meta-viewport.d.ts","sourceRoot":"","sources":["../../lib/rules/require-meta-viewport.js"],"names":[],"mappings":"wBAkCW,WAAW,EAAE,CAAC;;gCA7BI,UAAU"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"require-open-graph-protocol.d.ts","sourceRoot":"","sources":["../../lib/rules/require-open-graph-protocol.js"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"require-open-graph-protocol.d.ts","sourceRoot":"","sources":["../../lib/rules/require-open-graph-protocol.js"],"names":[],"mappings":";;;wBAqCW,WAAW,CAAC,MAAM,CAAC,CAAC;;cA/BlB,MAAM,EAAE;gCADQ,UAAU"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"require-title.d.ts","sourceRoot":"","sources":["../../lib/rules/require-title.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"require-title.d.ts","sourceRoot":"","sources":["../../lib/rules/require-title.js"],"names":[],"mappings":"wBAmCW,WAAW,EAAE,CAAC;;gCA7BI,UAAU"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sort-attrs.d.ts","sourceRoot":"","sources":["../../lib/rules/sort-attrs.js"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"sort-attrs.d.ts","sourceRoot":"","sources":["../../lib/rules/sort-attrs.js"],"names":[],"mappings":";;;wBAoBW,WAAW,CAAC,MAAM,CAAC,CAAC;;;;iBAbI,MAAM;;;gCAF/B,UAAU"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-baseline.d.ts","sourceRoot":"","sources":["../../lib/rules/use-baseline.js"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"use-baseline.d.ts","sourceRoot":"","sources":["../../lib/rules/use-baseline.js"],"names":[],"mappings":";;;wBA4BW,WAAW,CAAC,MAAM,CAAC,CAAC;;;eAnBjB,QAAQ,GAAG,OAAO,GAAG,MAAM;;gCAFZ,UAAU"}
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
export const elements: Map<string, string>;
|
|
2
2
|
export const globalAttributes: Map<string, string>;
|
|
3
|
-
/**
|
|
4
|
-
* This file is auto-generated. (yarn run baseline)
|
|
5
|
-
*/
|
|
3
|
+
/** This file is auto-generated. (yarn run baseline) */
|
|
6
4
|
export const BASELINE_HIGH: 10;
|
|
7
5
|
export const BASELINE_LOW: 5;
|
|
8
6
|
export const BASELINE_FALSE: 0;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"baseline.d.ts","sourceRoot":"","sources":["../../../lib/rules/utils/baseline.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"baseline.d.ts","sourceRoot":"","sources":["../../../lib/rules/utils/baseline.js"],"names":[],"mappings":"AAKA,2CAkkBG;AACH,mDA4BG;AApmBH,uDAAuD;AACvD,4BAAsB,EAAE,CAAC;AACzB,2BAAqB,CAAC,CAAC;AACvB,6BAAuB,CAAC,CAAC"}
|
|
@@ -1,24 +1,31 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Checks a given name follows `kebab-case` or not.
|
|
3
|
-
*
|
|
4
|
-
* @
|
|
3
|
+
*
|
|
4
|
+
* @param {string} name Name to check
|
|
5
|
+
* @returns {boolean} `true` if a name follows `kebab-case`, otherwise
|
|
6
|
+
* `false`.
|
|
5
7
|
*/
|
|
6
8
|
export function isKebabCase(name: string): boolean;
|
|
7
9
|
/**
|
|
8
10
|
* Checks a given name follows `snake_case` or not.
|
|
9
|
-
*
|
|
10
|
-
* @
|
|
11
|
+
*
|
|
12
|
+
* @param {string} name Name to check
|
|
13
|
+
* @returns {boolean} `true` if a name follows `snake_case`, otherwise
|
|
14
|
+
* `false`.
|
|
11
15
|
*/
|
|
12
16
|
export function isSnakeCase(name: string): boolean;
|
|
13
17
|
/**
|
|
14
18
|
* Checks a given name follows `PascalCase` or not.
|
|
15
|
-
*
|
|
16
|
-
* @
|
|
19
|
+
*
|
|
20
|
+
* @param {string} name Name to check
|
|
21
|
+
* @returns {boolean} `true` if a name follows `PascalCase`, otherwise
|
|
22
|
+
* `false`.
|
|
17
23
|
*/
|
|
18
24
|
export function isPascalCase(name: string): boolean;
|
|
19
25
|
/**
|
|
20
26
|
* Checks a given name follows `camelCase` or not.
|
|
21
|
-
*
|
|
27
|
+
*
|
|
28
|
+
* @param {string} name Name to check
|
|
22
29
|
* @returns {boolean} `true` if a name follows `camelCase`, otherwise `false`.
|
|
23
30
|
*/
|
|
24
31
|
export function isCamelCase(name: string): boolean;
|