annotate vetur.config.js @ 5736:55892008ec96 default tip

Fixed a bunch of corner cases in WG import.
author Sascha Wilde <wilde@sha-bang.de>
date Wed, 29 May 2024 19:02:42 +0200
parents dcb22351e058
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
5317
dcb22351e058 Added configuration files for JS tooling
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
1 // vetur.config.js
dcb22351e058 Added configuration files for JS tooling
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
2 /** @type {import('vls').VeturConfig} */
dcb22351e058 Added configuration files for JS tooling
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
3 module.exports = {
dcb22351e058 Added configuration files for JS tooling
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
4 // **optional** default: `{}`
dcb22351e058 Added configuration files for JS tooling
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
5 // override vscode settings
dcb22351e058 Added configuration files for JS tooling
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
6 // Notice: It only affects the settings used by Vetur.
dcb22351e058 Added configuration files for JS tooling
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
7 settings: {
dcb22351e058 Added configuration files for JS tooling
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
8 "vetur.useWorkspaceDependencies": true,
dcb22351e058 Added configuration files for JS tooling
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
9 "vetur.experimental.templateInterpolationService": true,
dcb22351e058 Added configuration files for JS tooling
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
10 },
dcb22351e058 Added configuration files for JS tooling
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
11 // **optional** default: `[{ root: './' }]`
dcb22351e058 Added configuration files for JS tooling
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
12 // support monorepos
dcb22351e058 Added configuration files for JS tooling
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
13 projects: [
dcb22351e058 Added configuration files for JS tooling
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
14 "./client", // Shorthand for specifying only the project root location
dcb22351e058 Added configuration files for JS tooling
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
15 ],
dcb22351e058 Added configuration files for JS tooling
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
16 };