File tree Expand file tree Collapse file tree 3 files changed +24
-3
lines changed
Expand file tree Collapse file tree 3 files changed +24
-3
lines changed Original file line number Diff line number Diff line change 99🔧 Automatically fixable by the [ ` --fix ` CLI option] ( https://eslint.org/docs/user-guide/command-line-interface#--fix ) .\
1010💡 Manually fixable by [ editor suggestions] ( https://eslint.org/docs/latest/use/core-concepts#rule-suggestions ) .
1111
12- | Name | Description | 🔧 | 💡 |
13- | :------------------------------------------------- | :---------------------------------------------------------------------------------- | :- | :- |
14- | [ classnames-order] ( docs/rules/classnames-order.md ) | Enforces a consistent order for the Tailwind CSS classnames, based on the compiler. | 🔧 | 💡 |
12+ | Name | Description | 🔧 | 💡 |
13+ | :------------------------------------------------------- | :---------------------------------------------------------------------------------- | :- | :- |
14+ | [ classnames-order] ( docs/rules/classnames-order.md ) | Enforces a consistent order for the Tailwind CSS classnames, based on the compiler. | 🔧 | 💡 |
15+ | [ no-custom-classname] ( docs/rules/no-custom-classname.md ) | Detects classnames which do not belong to Tailwind CSS. | | 💡 |
1516
1617<!-- end auto-generated rules list -->
1718
Original file line number Diff line number Diff line change 1+ # Detects classnames which do not belong to Tailwind CSS
2+
3+ 💡 This rule is manually fixable by [ editor suggestions] ( https://eslint.org/docs/latest/use/core-concepts#rule-suggestions ) .
4+
5+ <!-- end auto-generated rule header -->
6+
7+ ## Options
8+
9+ <!-- begin auto-generated rule options list -->
10+
11+ | Name | Type |
12+ | :---------- | :------- |
13+ | ` whitelist ` | String[ ] |
14+
15+ <!-- end auto-generated rule options list -->
Original file line number Diff line number Diff line change @@ -2,7 +2,12 @@ import {
22 classnamesOrder ,
33 RULE_NAME as CLASSNAMES_ORDER ,
44} from "./classnames-order" ;
5+ import {
6+ noCustomClassname ,
7+ RULE_NAME as NO_CUSTOM_CLASSNAME ,
8+ } from "./no-custom-classname" ;
59
610export const rules = {
711 [ CLASSNAMES_ORDER ] : classnamesOrder ,
12+ [ NO_CUSTOM_CLASSNAME ] : noCustomClassname ,
813} ;
You can’t perform that action at this time.
0 commit comments