eslint-plugin-strict-vue

Various ESLint rules to make you Vue(x) code a bit stricter
7,640 29
Install
npm install eslint-plugin-strict-vue
Latest Version:1.0.0
License:MIT
Last Updated:Nov 20, 2024
Links: GitHub  ·  npm
Maintainer: glebkaf

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

Related Packages

eslint-plugin-harlanzw

Harlan's opinionated ESLint rules

60,587 29
spyfu-vuex-helpers

Utility functions for Vuex.

2,459 9
vuex-pathify

Ridiculously simple Vuex setup + wiring

322,817 1,358
direct-vuex

Use and implement your Vuex store with TypeScript types. Compatible with the Vue...

90,286 255
undo-redo-vuex

A Vuex plugin for module namespaced undo and redo functionality. This plugin tak...

9,207 47

Version History

Version Released License
1.0.0 MIT
0.2.0 MIT
0.1.1 MIT
0.1.0 ISC
Pre-releases (1)
Version Released License
1.0.0-rc.0 MIT