Skip to content

Commit

Permalink
💄 shadcn ui 설치
Browse files Browse the repository at this point in the history
  • Loading branch information
jangmoonwon committed Jul 7, 2024
1 parent 37538f7 commit 249dafb
Show file tree
Hide file tree
Showing 24 changed files with 2,069 additions and 288 deletions.
20 changes: 7 additions & 13 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@


module.exports = {
parser: '@typescript-eslint/parser',
parserOptions: {
Expand All @@ -12,7 +10,7 @@ module.exports = {
},
extends: [
'eslint:recommended',
"plugin:@tanstack/eslint-plugin-query/recommended",
'plugin:@tanstack/eslint-plugin-query/recommended',
'plugin:react/recommended',
'plugin:react-hooks/recommended',
'plugin:@typescript-eslint/recommended',
Expand All @@ -23,20 +21,16 @@ module.exports = {
'next/core-web-vitals',
'prettier',
],
plugins: [
'react',
'react-hooks',
'@typescript-eslint',
'jsx-a11y',
'import',
'prettier',
],
plugins: ['react', 'react-hooks', '@typescript-eslint', 'jsx-a11y', 'import', 'prettier'],
rules: {
'prettier/prettier': 'error',
'react/react-in-jsx-scope': 'off', // Next.js doesn't require React to be in scope
'react/prop-types': 'off',
'no-console':'error',
"react/jsx-props-no-spreading":'off'
'no-console': 'error',
'react/jsx-props-no-spreading': 'off',
'no-use-before-define': 'off',
'@typescript-eslint/no-use-before-define': ['error', { variables: false, functions: false, classes: false }],
'react/jsx-no-constructed-context-values': 'off',
},
settings: {
react: {
Expand Down
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.ts",
"css": "src/styles/globals.css",
"baseColor": "slate",
"cssVariables": true,
"prefix": ""
},
"aliases": {
"components": "@/components",
"utils": "@/lib/utils"
}
}
Loading

0 comments on commit 249dafb

Please sign in to comment.