Skip to content

Commit

Permalink
updating configs to support emotion features
Browse files Browse the repository at this point in the history
  • Loading branch information
bstaruk committed Sep 29, 2022
1 parent c5ecb97 commit 8664335
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 10 deletions.
4 changes: 3 additions & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,9 @@
"sourceType": "module"
},
"plugins": ["react", "react-hooks", "@typescript-eslint", "@emotion", "prettier"],
"rules": {},
"rules": {
"react/no-unknown-property": ["error", { "ignore": ["css"] }]
},
"settings": {
"import/resolver": {
"node": {
Expand Down
13 changes: 4 additions & 9 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,7 @@
"compilerOptions": {
"baseUrl": "src",
"target": "es5",
"lib": [
"dom",
"dom.iterable",
"esnext"
],
"lib": ["dom", "dom.iterable", "esnext"],
"allowJs": true,
"skipLibCheck": true,
"esModuleInterop": true,
Expand All @@ -19,9 +15,8 @@
"resolveJsonModule": true,
"isolatedModules": true,
"noEmit": true,
"jsx": "react-jsx"
"jsx": "react-jsx",
"jsxImportSource": "@emotion/react"
},
"include": [
"src"
]
"include": ["src"]
}

0 comments on commit 8664335

Please sign in to comment.