Skip to content

Commit 007f465

Browse files
chore: cleaning, removing « my-rule »
1 parent f2056b7 commit 007f465

File tree

4 files changed

+3
-113
lines changed

4 files changed

+3
-113
lines changed

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,7 @@
1414
| Name                | Description | ⚠️ | 🔧 | 💡 |
1515
| :------------------------------------------------------- | :---------------------------------------------------------------------------------- | :-- | :-- | :-- |
1616
| [classnames-order](docs/rules/classnames-order.md) | Enforces a consistent order for the Tailwind CSS classnames, based on the compiler. || 🔧 | |
17-
| [my-rule](docs/rules/my-rule.md) | An example ESLint rule || | 💡 |
18-
| [no-custom-classname](docs/rules/no-custom-classname.md) | Detects classnames which do not belong to Tailwind CSS. || | |
17+
| [no-custom-classname](docs/rules/no-custom-classname.md) | Detects classnames which do not belong to Tailwind CSS. || | 💡 |
1918

2019
<!-- end auto-generated rules list -->
2120

docs/rules/no-custom-classname.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
⚠️ This rule _warns_ in the ✅ `recommended` config.
44

5+
💡 This rule is manually fixable by [editor suggestions](https://eslint.org/docs/latest/use/core-concepts#rule-suggestions).
6+
57
<!-- end auto-generated rule header -->
68

79
## Options

src/index.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ import {
55
classnamesOrder,
66
RULE_NAME as CLASSNAMES_ORDER,
77
} from "./rules/classnames-order";
8-
import { myRule, RULE_NAME as MY_RULE } from "./rules/my-rule";
98
import {
109
noCustomClassname,
1110
RULE_NAME as NO_CUSTOM_CLASSNAME,
@@ -33,14 +32,12 @@ const plugin = {
3332
},
3433
},
3534
rules: {
36-
[MY_RULE]: myRule,
3735
[CLASSNAMES_ORDER]: classnamesOrder,
3836
[NO_CUSTOM_CLASSNAME]: noCustomClassname,
3937
},
4038
} satisfies FlatConfig.Plugin;
4139

4240
const recommended = {
43-
[MY_RULE]: "warn",
4441
[CLASSNAMES_ORDER]: "warn",
4542
[NO_CUSTOM_CLASSNAME]: "warn",
4643
} as const;

src/rules/my-rule.ts

Lines changed: 0 additions & 108 deletions
This file was deleted.

0 commit comments

Comments
 (0)