Skip to content

Commit 378b874

Browse files
authored
Fix no-custom-classname sample code (#48)
Add `cssFiles` option and use correct rule name
1 parent fd36985 commit 378b874

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docs/rules/no-custom-classname.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,10 @@ Examples of **correct** code for this rule:
2222

2323
```js
2424
...
25-
"tailwindcss/classnames-order": [<enabled>, {
25+
"tailwindcss/no-custom-classname": [<enabled>, {
2626
"callees": Array<string>,
2727
"config": <string>|<object>,
28+
"cssFiles": Array<string>,
2829
"whitelist": Array<string>
2930
}]
3031
...

0 commit comments

Comments
 (0)