File tree Expand file tree Collapse file tree 4 files changed +3
-113
lines changed
Expand file tree Collapse file tree 4 files changed +3
-113
lines changed Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change 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" ;
98import {
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
4240const recommended = {
43- [ MY_RULE ] : "warn" ,
4441 [ CLASSNAMES_ORDER ] : "warn" ,
4542 [ NO_CUSTOM_CLASSNAME ] : "warn" ,
4643} as const ;
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments