Vetur provides error-checking and linting.
# Error CheckingVetur has error checking for the following languages:
<template>
: html
<style>
: css
, scss
, less
<script>
: js
, ts
You can selectively turn error checking off by vetur.validation.[template/style/script]
.
Vetur bundles eslint-plugin-vue
(opens new window) for template error checking. By default, Vetur loads the vue/essential
(opens new window) ruleset for Vue 2 projects and vue3-essential
(opens new window) ruleset for Vue 3 projects.
If you want to config ESLint rules, do the following:
vetur.validation.template: false
yarn add -D eslint eslint-plugin-vue
in your workspace root.eslintrc
. For example:You can also checkout Veturpack (opens new window) to see how to setup eslint-plugin-vue
.
TSLint is not available yet. We do look forward to including it. See #170 (opens new window).
Meanwhile, TS compiler errors will be shown.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4