eslint-plugin-strict-vue
Various ESLint rules to make you Vue(x) code a bit stricter
🥋 Requirements
- ESLint >=4.15.0
- Node.js >=8.0.0
🏋 Installation
$ npm i eslint eslint-plugin-strict-vue --save-dev
🤹 Usage
Configure it in .eslintrc
or package.json
:
🎭 Rules
- require-jsdoc - require JSdoc comments for Vue props, and Vuex actions and state.
- no-root-store-calls - disallow dispatch/commit to the global namespase.
- no-root-store-assets - disallow the use of rootGetters and rootStore.
License
MIT