Skip to content

Commit

Permalink
chore: emotion css 추가 환경설정
Browse files Browse the repository at this point in the history
  • Loading branch information
sap03110 committed Nov 25, 2023
1 parent 8fecec6 commit 2cf5ed2
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
"@typescript-eslint/no-shadow": 0,
"@typescript-eslint/no-unused-vars": 1,
"no-restricted-syntax": 0,
"react/no-unknown-property": [2, { "ignore": ["css"] }],
"prettier/prettier": [
0,
{
Expand Down
1 change: 1 addition & 0 deletions src/styles/styled.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/// <reference types="@emotion/react/types/css-prop" />
4 changes: 3 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,13 @@
"isolatedModules": true,
"noEmit": true,
"jsx": "react-jsx",
"jsxImportSource": "@emotion/react",
"baseUrl": ".",
"paths": {
"@/*": ["./src/*"],
"~/*": ["./public/*"]
}
},
"types": ["@emotion/react/types/css-prop"]
},
"include": ["src", "vite.config.ts", "test"],
"exclude": ["node_modules"],
Expand Down

0 comments on commit 2cf5ed2

Please sign in to comment.