You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/rules/prefer-class-list-directive.md
+5-1Lines changed: 5 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -2,13 +2,13 @@
2
2
title: "astro/prefer-class-list-directive"
3
3
description: "require `class:list` directives instead of `class` with expressions"
4
4
setup: "import ESLintCodeBlock from '../docs-build/src/components/ESLintCodeBlockWrap.astro'"
5
+
since: "v0.4.0"
5
6
---
6
7
7
8
# astro/prefer-class-list-directive
8
9
9
10
> require `class:list` directives instead of `class` with expressions
10
11
11
-
-:exclamation: <badgetext="This rule has not been released yet."vertical="middle"type="error"> **_This rule has not been released yet._** </badge>
12
12
-:wrench: The `--fix` option on the [command line](https://eslint.org/docs/user-guide/command-line-interface#fixing-problems) can automatically fix some of the problems reported by this rule.
Copy file name to clipboardExpand all lines: docs/rules/prefer-object-class-list.md
+5-1Lines changed: 5 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -2,13 +2,13 @@
2
2
title: "astro/prefer-object-class-list"
3
3
description: "require use object instead of ternary expression in `class:list`"
4
4
setup: "import ESLintCodeBlock from '../docs-build/src/components/ESLintCodeBlockWrap.astro'"
5
+
since: "v0.4.0"
5
6
---
6
7
7
8
# astro/prefer-object-class-list
8
9
9
10
> require use object instead of ternary expression in `class:list`
10
11
11
-
-:exclamation: <badgetext="This rule has not been released yet."vertical="middle"type="error"> **_This rule has not been released yet._** </badge>
12
12
-:wrench: The `--fix` option on the [command line](https://eslint.org/docs/user-guide/command-line-interface#fixing-problems) can automatically fix some of the problems reported by this rule.
Copy file name to clipboardExpand all lines: docs/rules/prefer-split-class-list.md
+5-1Lines changed: 5 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -2,13 +2,13 @@
2
2
title: "astro/prefer-split-class-list"
3
3
description: "require use split array elements in `class:list`"
4
4
setup: "import ESLintCodeBlock from '../docs-build/src/components/ESLintCodeBlockWrap.astro'"
5
+
since: "v0.4.0"
5
6
---
6
7
7
8
# astro/prefer-split-class-list
8
9
9
10
> require use split array elements in `class:list`
10
11
11
-
-:exclamation: <badgetext="This rule has not been released yet."vertical="middle"type="error"> **_This rule has not been released yet._** </badge>
12
12
-:wrench: The `--fix` option on the [command line](https://eslint.org/docs/user-guide/command-line-interface#fixing-problems) can automatically fix some of the problems reported by this rule.
0 commit comments