This commit is contained in:
lutinglt
2025-07-06 00:38:24 +08:00
parent 98446a9bb3
commit a6efed8f03
2 changed files with 9 additions and 2 deletions

View File

@@ -62,5 +62,8 @@
"prettier-plugin-organize-imports" "prettier-plugin-organize-imports"
], ],
"organizeImportsSkipDestructiveCodeActions": false "organizeImportsSkipDestructiveCodeActions": false
},
"dependencies": {
"typescript-styled-plugin": "^0.18.3"
} }
} }

View File

@@ -3,6 +3,12 @@
"plugins": [ "plugins": [
{ {
"name": "typescript-plugin-css-modules" "name": "typescript-plugin-css-modules"
},
{
"name": "typescript-styled-plugin",
"lint": {
"validProperties": "rx,ry"
}
} }
], ],
"tsBuildInfoFile": "./node_modules/.tmp/tsconfig.node.tsbuildinfo", "tsBuildInfoFile": "./node_modules/.tmp/tsconfig.node.tsbuildinfo",
@@ -11,7 +17,6 @@
"lib": ["ES2023"], "lib": ["ES2023"],
"module": "ESNext", "module": "ESNext",
"skipLibCheck": true, "skipLibCheck": true,
/* Bundler mode */ /* Bundler mode */
"moduleResolution": "bundler", "moduleResolution": "bundler",
"allowImportingTsExtensions": true, "allowImportingTsExtensions": true,
@@ -19,7 +24,6 @@
"moduleDetection": "force", "moduleDetection": "force",
"noEmit": true, "noEmit": true,
"jsx": "react-jsx", "jsx": "react-jsx",
/* Linting */ /* Linting */
"strict": true, "strict": true,
"noUnusedLocals": true, "noUnusedLocals": true,