eslint-plugin-vue-kuzzle
v0.0.15
Published
Kuzzle Vue Coding Standard
Readme
eslint-plugin-vue-kuzzle
Kuzzle Coding Standard for Vue.js.
This plugin is standalone, meaning that eslint and prettier are included in the package so you don't need to install them yourself.
Install our coding standard
- Install the plugin
npm i eslint-plugin-vue-kuzzle --save-dev- Add
kuzzleto the plugins section of your.eslintrcconfiguration file and select the default rule set:
{
"extends": [
"plugin:vue-kuzzle/defaultt",
"plugin:vue-kuzzle/base",
"plugin:vue-kuzzle/typescript"
]
}Remove unused eslint-related dependencies (such as
@vue/eslint-config-standard,eslintetc)Commit relevant files
Available rule sets
plugin:vue-kuzzle/default: default combines base and typecript rules setsplugin:vue-kuzzle/base: rules for only Javascript projectsplugin:vue-kuzzle/typescript: rules for Typescript projects
You can disable the import/order rule on project that are not libraries:
{
"extends": [
"plugin:vue-kuzzle/default",
],
"rules": {
"import/order": ["off"]
}
}