@rob8080/eslint-config-vue
v0.2.1
Published
A config mostly used by myself, including recommend extends from JS, TS & Vue, also with some additional rules.
Downloads
3
Readme
@rob8080/eslint-config-vue
A config mostly used by myself, including recommend extends from JS, TS & Vue, also with some additional rules.
Install
# Yarn
yarn add --dev eslint @rob8080/eslint-config-vue
# NPM
npm install -D eslint @rob8080/eslint-config-vue
- Also add peer dependencies listed below
Peer Dependencies
package|eslint-config|-base|-ts|-vue -|-|-|-|- eslint@>=7|✔️|✔️|✔️|✔️ @typescript-eslint/eslint-plugin@>=4.14.0|✔️||✔️| @typescript-eslint/parser@>=4.14.0|✔️||✔️| eslint-plugin-vue@>=7.4.0|✔️|||✔️ vue-eslint-parser@>=7.3.0|✔️|||✔️
Usage
.eslintrc.js
module.exports = {
// ...
extends: [
'@rob8080/eslint-config-vue', // or other package
],
// ...
}