@fimbul/ve

Vue processor for wotan
5,287 280
Install
npm install @fimbul/ve
Latest Version:0.24.0
License:Apache-2.0
Last Updated:Jun 19, 2023
Links: GitHub  ·  npm
Maintainer: ajaff

Vé

Wotan processor for Vue Single File Components (SFC)

npm version npm downloads Renovate enabled CircleCI Build status codecov Join the chat at https://gitter.im/fimbullinter/wotan

Make sure to also read the full documentation of all available modules.

Purpose

Enable wotan to lint *.vue files. This works by extracting the <script> content of a single file component and feeding that into TypeScript. The lang attribute is respected and defaults to js if not present. You can use every language TypeScript supports (currently js, jsx, ts, tsx). It even works with type checking.

Installation

npm install --save-dev @fimbul/wotan @fimbul/ve
# or
yarn add -D @fimbul/wotan @fimbul/ve

Usage

Use as processor in your config:

---
overrides:
  - files: "*.vue"
    processor: "@fimbul/ve"

There's also a configuration preset you can extend. This preset comes without any enabled rules and just provides the processor for *.vue files as described above.

---
extends:
  - "@fimbul/ve"

License

Apache-2.0 © Klaus Meinhardt

Related Packages

king-design-analyzer

AST-based code analyzer for King Design Vue components with on-demand modular im...

4,211
@qnp/lus

Command-line formatting of in Vue SFC files using Stylus Supremacy

3,205 1
j-vue

.vue single-file component back-end compiler. Belong to "Plan J"./.vue 单文件组...

6,068 7
@vue/component-compiler

bundler agnostic API for compiling Vue SFC

3,126,609 343
@vuedx/compiler-sfc

This package extracts `parse()` function [@vue/compiler-sfc] as ES module.

250,768 1,251

Version History

Version Released License
0.24.0 Apache-2.0
0.22.0 Apache-2.0
0.21.0 Apache-2.0
0.18.0 Apache-2.0
0.17.0 Apache-2.0
Pre-releases (47)
Version Released License
0.24.0-dev.20210216 Apache-2.0
0.24.0-dev.20210214 Apache-2.0
0.21.0-dev.20190518 Apache-2.0
0.21.0-dev.20190329 Apache-2.0
0.21.0-dev.20190322 Apache-2.0