File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ /**
2+ * ESLint better-tailwindcss ํ๋ฌ๊ทธ์ธ ์ค์ ๋ชจ๋
3+ *
4+ * @author RWB
5+ * @since 2025.06.24 Tue 15:12:29
6+ */
7+
8+ import pluginBetterTailwindcss from 'eslint-plugin-better-tailwindcss' ;
9+
10+ import type { Linter } from 'eslint' ;
11+
12+ export default {
13+ files : [ '**/*.[jt]sx' ] ,
14+ plugins : { '@better-tailwindcss' : pluginBetterTailwindcss } ,
15+ rules : {
16+ // ํด๋์ค ์ ๋ ฌ ๊ฐ์
17+ '@better-tailwindcss/enforce-consistent-class-order' : 'error' ,
18+ // ์ผ๊ด๋ ํด๋์ค ์ค๋ฐ๊ฟ ๊ฐ์
19+ '@better-tailwindcss/enforce-consistent-line-wrapping' : 'error' ,
20+ // ์ผ๊ด๋ CSS ๋ณ์ ํธ์ถ ๊ฐ์
21+ '@better-tailwindcss/enforce-consistent-variable-syntax' : 'error' ,
22+ // ํด๋์ค ์คํ์ผ ์ถฉ๋ ๋ฐฉ์ง
23+ '@better-tailwindcss/no-conflicting-classes' : 'error' ,
24+ // ํด๋์ค ์ค๋ณต ๋ฐฉ์ง
25+ '@better-tailwindcss/no-duplicate-classes' : 'error' ,
26+ // ๋ถํ์ ๊ณต๋ฐฑ ์ ๊ฑฐ
27+ '@better-tailwindcss/no-unnecessary-whitespace' : 'error'
28+ }
29+ } satisfies Linter . Config ;
You canโt perform that action at this time.
0 commit comments