diff --git a/tsconfig.json b/tsconfig.json index 9634d906d9e..c00c5634138 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -22,7 +22,13 @@ "incremental": true, "noFallthroughCasesInSwitch": true, "noImplicitAny": false, + "plugins": [ + { + "name": "typescript-plugin-css-modules" + } + ], "paths": { + "@scss/*": ["./src/app/components/ThemeProviderSCSSModules/*"], "#app/*": ["./src/app/*"], "#src/*": ["./src/*"], "#nextjs/*": ["./ws-nextjs-app/*"], @@ -30,7 +36,6 @@ "#contexts/*": ["./src/app/contexts/*"], "#components/*": ["./src/app/legacy/components/*"], "#containers/*": ["./src/app/legacy/containers/*"], - "#cypress/*": ["./cypress/*"], "#data/*": ["./data/*"], "#hooks/*": ["./src/app/hooks/*"], "#lib/*": ["./src/app/lib/*"], @@ -43,8 +48,4 @@ }, "include": ["jest.config.ts", "src/**/*", "src/app/legacy/**/*.ts*"], "exclude": ["node_modules", "build"] - , - "plugins": [ - { "name": "typescript-plugin-css-modules" } - ] } diff --git a/ws-nextjs-app/tsconfig.json b/ws-nextjs-app/tsconfig.json index 5af9a721c34..b3026ff805f 100644 --- a/ws-nextjs-app/tsconfig.json +++ b/ws-nextjs-app/tsconfig.json @@ -9,9 +9,13 @@ "plugins": [ { "name": "next" + }, + { + "name": "typescript-plugin-css-modules" } ], "paths": { + "@scss/*": ["../src/app/components/ThemeProviderSCSSModules/*"], "#app/*": ["../src/app/*"], "#src/*": ["../src/*"], "#nextjs/*": ["./*"], @@ -19,7 +23,6 @@ "#contexts/*": ["../src/app/contexts/*"], "#components/*": ["../src/app/legacy/components/*"], "#containers/*": ["../src/app/legacy/containers/*"], - "#cypress/*": ["../cypress/*"], "#data/*": ["../data/*"], "#hooks/*": ["../src/app/hooks/*"], "#lib/*": ["../src/app/lib/*"],