Add css modules, remove styled components linters and utils

This commit is contained in:
jeffvli 2023-07-23 05:16:29 -07:00
parent 03a4a1da55
commit 84bec824f2
5 changed files with 299 additions and 2913 deletions

View File

@ -8,7 +8,7 @@
{
"files": ["**/*.css", "**/*.scss", "**/*.html"],
"options": {
"singleQuote": false
"singleQuote": true
}
}
],

View File

@ -1,9 +1,7 @@
{
"processors": ["stylelint-processor-styled-components"],
"customSyntax": "postcss-scss",
"extends": [
"stylelint-config-standard-scss",
"stylelint-config-styled-components",
"stylelint-config-css-modules",
"stylelint-config-rational-order"
],
"rules": {

12
.vscode/settings.json vendored
View File

@ -12,11 +12,15 @@
"typescript.tsserver.experimental.enableProjectDiagnostics": true,
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true,
"source.fixAll.stylelint": false
"source.fixAll.stylelint": true,
"source.organizeImports": false,
"source.formatDocument": true
},
"css.validate": false,
"css.validate": true,
"less.validate": false,
"scss.validate": false,
"scss.validate": true,
"scss.lint.unknownAtRules": "warn",
"scss.lint.unknownProperties": "warn",
"javascript.validate.enable": false,
"javascript.format.enable": false,
"typescript.format.enable": false,
@ -34,7 +38,7 @@
"i18n-ally.localesPaths": ["src/i18n", "src/i18n/locales"],
"typescript.tsdk": "node_modules\\typescript\\lib",
"typescript.preferences.importModuleSpecifier": "non-relative",
"stylelint.validate": ["css", "less", "postcss", "typescript", "typescriptreact", "scss"],
"stylelint.validate": ["css", "less", "postcss", "scss"],
"typescript.updateImportsOnFileMove.enabled": "always",
"[typescript]": { "editor.defaultFormatter": "esbenp.prettier-vscode" },
"[typescriptreact]": { "editor.defaultFormatter": "esbenp.prettier-vscode" },

3115
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -229,11 +229,9 @@
"sass-loader": "^12.6.0",
"style-loader": "^3.3.1",
"stylelint": "^14.9.1",
"stylelint-config-css-modules": "^4.3.0",
"stylelint-config-rational-order": "^0.1.2",
"stylelint-config-standard-scss": "^4.0.0",
"stylelint-config-styled-components": "^0.1.1",
"stylelint-order": "^5.0.0",
"stylelint-processor-styled-components": "^1.10.0",
"terser-webpack-plugin": "^5.3.1",
"ts-jest": "^27.1.4",
"ts-loader": "^9.2.8",
@ -265,6 +263,7 @@
"@tanstack/react-query-devtools": "^4.32.0",
"@ts-rest/core": "^3.23.0",
"axios": "^1.4.0",
"clsx": "^2.0.0",
"cmdk": "^0.2.0",
"dayjs": "^1.11.6",
"electron-debug": "^3.2.0",
@ -300,7 +299,7 @@
"react-virtualized-auto-sizer": "^1.0.17",
"react-window": "^1.8.9",
"react-window-infinite-loader": "^1.0.9",
"styled-components": "^6.0.5",
"styled-components": "^5.3.11",
"swiper": "^9.3.1",
"zod": "^3.21.4",
"zustand": "^4.3.9"