Files
odoo_source/addons/web/tooling/_jsconfig.json
T
Simon Genin (ges) 72f7d52254 [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>
2022-11-18 08:43:49 +01:00

36 lines
1.3 KiB
JSON

{
"compilerOptions": {
"moduleResolution": "node",
"baseUrl": ".",
"target": "ES2022",
"noEmit": true,
"disableSizeLimit": true,
"typeRoots": ["addons/web/tooling/types"],
"paths": {
"@web/*": ["addons/web/static/src/*"],
"@web_enterprise/*": ["web_enterprise/static/src/*"],
"@web_kanban_gauge/*": ["addons/web_kanban_gauge/static/src/*"],
"@web_unsplash/*": ["addons/web_unsplash/static/src/*"],
"@web_editor/*": ["addons/web_editor/static/src/*"],
"@web_tour/*": ["addons/web_tour/static/src/*"],
"@web_gantt/*": ["web_gantt/static/src/*"],
"@web_cohort/*": ["web_cohort/static/src/*"],
"@web_map/*": ["web_map/static/src/*"],
"@web_mobile/*": ["web_mobile/static/src/*"],
"@web_grid/*": ["web_grid/static/src/*"],
"@web_studio/*": ["web_studio/static/src/*"],
"@mail/*": ["addons/mail/static/src/*"],
"@pos/*": ["addons/pos/static/src/*"]
}
},
"include": ["**/*.js", "**/*.ts"],
"exclude": [
"node_modules",
"setup",
"doc",
"**/lib",
"**/l10n*",
"addons/spreadsheet/static/src/o_spreadsheet/o_spreadsheet.js"
]
}