mirror of
https://github.com/Frooodle/Stirling-PDF.git
synced 2025-11-16 01:21:16 +01:00
Update ESLint TypeScript projectService config
Refines the ESLint TypeScript parser configuration by specifying allowed default projects for certain files and setting the default project to './tsconfig.json'. This improves linting accuracy for the listed files.
This commit is contained in:
parent
ea952fb0a7
commit
9b764220a6
@ -81,7 +81,14 @@ export default defineConfig(
|
||||
languageOptions: {
|
||||
parser: tseslint.parser,
|
||||
parserOptions: {
|
||||
projectService: true,
|
||||
projectService: {
|
||||
allowDefaultProject: [
|
||||
'src/components/tooltips/usePageSelectionTips.tsx',
|
||||
'src/reportWebVitals.js',
|
||||
'src/setupTests.js'
|
||||
],
|
||||
defaultProject: './tsconfig.json'
|
||||
},
|
||||
tsconfigRootDir: __dirname,
|
||||
},
|
||||
globals: {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user