Mercurial > gemma
annotate vetur.config.js @ 5361:ce1fe22bda5a extented-report
Backed out changeset f845c3b7b68e
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Tue, 22 Jun 2021 17:12:17 +0200 |
parents | e434979f6ea6 |
children |
rev | line source |
---|---|
5341
e434979f6ea6
Added configuration files for JS tooling
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
1 // vetur.config.js |
e434979f6ea6
Added configuration files for JS tooling
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
2 /** @type {import('vls').VeturConfig} */ |
e434979f6ea6
Added configuration files for JS tooling
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
3 module.exports = { |
e434979f6ea6
Added configuration files for JS tooling
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
4 // **optional** default: `{}` |
e434979f6ea6
Added configuration files for JS tooling
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
5 // override vscode settings |
e434979f6ea6
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. |
e434979f6ea6
Added configuration files for JS tooling
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
7 settings: { |
e434979f6ea6
Added configuration files for JS tooling
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
8 "vetur.useWorkspaceDependencies": true, |
e434979f6ea6
Added configuration files for JS tooling
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
9 "vetur.experimental.templateInterpolationService": true, |
e434979f6ea6
Added configuration files for JS tooling
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
10 }, |
e434979f6ea6
Added configuration files for JS tooling
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
11 // **optional** default: `[{ root: './' }]` |
e434979f6ea6
Added configuration files for JS tooling
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
12 // support monorepos |
e434979f6ea6
Added configuration files for JS tooling
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
13 projects: [ |
e434979f6ea6
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 |
e434979f6ea6
Added configuration files for JS tooling
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
15 ], |
e434979f6ea6
Added configuration files for JS tooling
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
16 }; |