Skip to content

Commit

Permalink
[Setting] tailwind css 관련 eslint 적용
Browse files Browse the repository at this point in the history
  • Loading branch information
Develsopher committed Mar 13, 2024
1 parent fe00a35 commit 15fdc53
Show file tree
Hide file tree
Showing 17 changed files with 305 additions and 3,485 deletions.
30 changes: 30 additions & 0 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,35 @@ module.exports = {
'warn',
{ allowConstantExport: true },
],
'tailwindcss/classnames-order': [
'warn',
{
callees: ['cn'],
},
],
'tailwindcss/enforces-negative-arbitrary-values': [
'warn',
{
callees: ['cn'],
},
],
'tailwindcss/enforces-shorthand': [
'warn',
{
callees: ['cn'],
},
],
'tailwindcss/no-contradicting-classname': [
'warn',
{
callees: ['cn'],
},
],
'tailwindcss/no-custom-classname': [
'warn',
{
callees: ['cn'],
},
],
},
};
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,4 @@ dist-ssr

.env
.env.local
dev-dist
17 changes: 17 additions & 0 deletions components.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"$schema": "https://ui.shadcn.com/schema.json",
"style": "default",
"rsc": false,
"tsx": true,
"tailwind": {
"config": "tailwind.config.js",
"css": "src/global.css",
"baseColor": "slate",
"cssVariables": true,
"prefix": ""
},
"aliases": {
"components": "/components",
"utils": "@/lib/utility"
}
}
1 change: 0 additions & 1 deletion dev-dist/registerSW.js

This file was deleted.

96 changes: 0 additions & 96 deletions dev-dist/sw.js

This file was deleted.

1 change: 0 additions & 1 deletion dev-dist/sw.js.map

This file was deleted.

Loading

0 comments on commit 15fdc53

Please sign in to comment.