eslint-plugin-strict-vue

Various ESLint rules to make you Vue(x) code a bit stricter

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
eslint-plugin-strict-vue
1.0.05 years ago6 years agoMinified + gzip package size for eslint-plugin-strict-vue in KB

Readme

eslint-plugin-strict-vue

NPM version
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:
{
	"name": "my-awesome-project",
	"eslintConfig": {
		"parserOptions": {
			"ecmaVersion": 2018,
			"sourceType": "module"
		},
		"plugins": [
			"strict-vue"
		],
		"rules": {
			"strict-vue/require-jsdoc": "error",
			"strict-vue/no-root-store-calls": "error",
			"strict-vue/no-root-store-assets": "error",
		}
	}
}

๐ŸŽญ Rules

License

MIT