diff --git a/package.json b/package.json index 57c59c1..f663d5a 100644 --- a/package.json +++ b/package.json @@ -62,5 +62,8 @@ "prettier-plugin-organize-imports" ], "organizeImportsSkipDestructiveCodeActions": false + }, + "dependencies": { + "typescript-styled-plugin": "^0.18.3" } } diff --git a/tsconfig.json b/tsconfig.json index 72a33ef..50ed980 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -3,6 +3,12 @@ "plugins": [ { "name": "typescript-plugin-css-modules" + }, + { + "name": "typescript-styled-plugin", + "lint": { + "validProperties": "rx,ry" + } } ], "tsBuildInfoFile": "./node_modules/.tmp/tsconfig.node.tsbuildinfo", @@ -11,7 +17,6 @@ "lib": ["ES2023"], "module": "ESNext", "skipLibCheck": true, - /* Bundler mode */ "moduleResolution": "bundler", "allowImportingTsExtensions": true, @@ -19,7 +24,6 @@ "moduleDetection": "force", "noEmit": true, "jsx": "react-jsx", - /* Linting */ "strict": true, "noUnusedLocals": true,