4.1.0 • Published 1 year ago
@byzanteam/eslint-config-vue v4.1.0
@byzanteam/eslint-config-vue
Byzanteam sharable ESLint configuration for Vue.
Usage
JavaScript
$ npm install -D eslint @byzanteam/eslint-config-javascript @byzanteam/eslint-config-vue
// .eslintrc.js
module.exports = {
extends: [
'@byzanteam/javascript',
'@byzanteam/vue',
],
}
TypeScript
$ npm install -D eslint @byzanteam/eslint-config-typescript @byzanteam/eslint-config-vue
// .eslintrc.js
module.exports = {
extends: [
'@byzanteam/typescript',
'@byzanteam/vue',
],
parserOptions: {
extraFileExtensions: [".vue"],
parser: '@typescript-eslint/parser',
},
}