refactor
This commit is contained in:
parent
d0ea6e9eec
commit
2967f1a5af
31 changed files with 469 additions and 165 deletions
|
|
@ -28,7 +28,11 @@ export default tseslint.config(
|
|||
{
|
||||
languageOptions: {
|
||||
parserOptions: {
|
||||
projectService: true,
|
||||
// The app build project excludes test files (so the production image build
|
||||
// never compiles the SDK-coupled integration test). ESLint still needs type
|
||||
// info for every file it lints, so point it at BOTH projects explicitly
|
||||
// rather than relying on projectService to discover the test project.
|
||||
project: ['./tsconfig.app.json', './tsconfig.test.json'],
|
||||
tsconfigRootDir: import.meta.dirname,
|
||||
},
|
||||
globals: { ...globals.browser, ...globals.es2022 },
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue