0.0.17 • Published 4 months ago
volar-service-eslint v0.0.17
volar-service-eslint
Volar plugin for ESLint.
Use ESLint with Volar language server to have better performance and accuracy.
Please note that you should disable ESLint VSCode Extension when use this plugin.
Example: https://github.com/DrJume/vue-volar-eslint
Installation
npm install volar-service-eslint
Usage
volar.config.js
const baseConfig = require('./.eslintrc.cjs'); // load your project eslint config
module.exports = {
services: [
require('volar-service-eslint').create(program => ({
...baseConfig,
ignorePatterns: ['**/*.vue.*'], // ignore virtual files: *.vue.ts, *.vue.html, *.vue.css
parserOptions: {
...baseConfig.parserOptions,
programs: [program], // replace eslint typescript program
},
})),
],
};
License
0.0.26
4 months ago
0.0.25
5 months ago
0.0.23
5 months ago
0.0.24
5 months ago
0.0.22
5 months ago
0.0.21
5 months ago
0.0.20
5 months ago
0.0.19
5 months ago
0.0.15
7 months ago
0.0.16
6 months ago
0.0.17
6 months ago
0.0.18
5 months ago
0.0.10
10 months ago
0.0.11
10 months ago
0.0.12
8 months ago
0.0.13
8 months ago
0.0.14
7 months ago
0.0.9
10 months ago
0.0.8
11 months ago
0.0.5
11 months ago
0.0.7
11 months ago
0.0.6
11 months ago
0.0.4
12 months ago
0.0.3
12 months ago
0.0.2
1 year ago
0.0.1
1 year ago
0.0.0
1 year ago