[IMP] dx: js tooling: imp to jsconfig file

remove checkJS: It made the ts server check for error, bypassing some
eslint rules (such as globals).
add ts files in the include: ts files need to be included in the project
as there are some .d.ts files defining types.

closes odoo/odoo#105984

Signed-off-by: Michaël Mattiello <mcm@odoo.com>
This commit is contained in:
Simon Genin (ges)
2022-11-18 08:43:49 +01:00
parent 10bb028540
commit 72f7d52254
+1 -2
View File
@@ -3,7 +3,6 @@
"moduleResolution": "node",
"baseUrl": ".",
"target": "ES2022",
"checkJs": true,
"noEmit": true,
"disableSizeLimit": true,
"typeRoots": ["addons/web/tooling/types"],
@@ -24,7 +23,7 @@
"@pos/*": ["addons/pos/static/src/*"]
}
},
"include": ["**/*.js"],
"include": ["**/*.js", "**/*.ts"],
"exclude": [
"node_modules",
"setup",