1.0.1 • Published 2 years ago
@reflektor/eslint-config-vue v1.0.1
eslint-config-vue
ESLint configuration for Vue projects at Reflektor Digital.
What's inside this config?
Installation
yarn add @reflektor/eslint-config-vue -DESLint only exports the configuration from this package and not the dependencies. Hence, in order to use this config, we'll also need to install the dependencies separately.
yarn add eslint eslint-import-resolver-alias eslint-plugin-import eslint-plugin-vue -DUsage
Once the package and dependencies are installed, we can apply this ESLint config into our project.
// .eslintrc.js
module.exports = {
// ...
extends : [
// ...
'@reflektor/vue'
]
};