All Projects → GlebkaF → eslint-plugin-strict-vue

GlebkaF / eslint-plugin-strict-vue

Licence: MIT license
Vue eslint plugin with rules to make you code stricter: enforce jsdoc, restrict rootGetters, rootState and more.

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to eslint-plugin-strict-vue

Xo
❤️ JavaScript/TypeScript linter (ESLint wrapper) with great defaults
Stars: ✭ 6,277 (+22317.86%)
Mutual labels:  eslint-plugin, eslint-rules
eslint-config-get-off-my-lawn
A highly opinionated, sharable config of ESLint rules to produce beautiful, readable JavaScript.
Stars: ✭ 44 (+57.14%)
Mutual labels:  eslint-plugin, eslint-rules
Eslint Plugin Unicorn
Various awesome ESLint rules
Stars: ✭ 2,157 (+7603.57%)
Mutual labels:  eslint-plugin, eslint-rules
eslint-plugin-no-secrets
An eslint plugin to find strings that might be secrets/credentials
Stars: ✭ 93 (+232.14%)
Mutual labels:  eslint-plugin, eslint-rules
eslint-plugin-no-only-tests
ESLint rule for catching focused/only test blocks
Stars: ✭ 67 (+139.29%)
Mutual labels:  eslint-plugin, eslint-rules
eslint-plugin-vue-scoped-css
ESLint plugin for Scoped CSS in Vue.js
Stars: ✭ 58 (+107.14%)
Mutual labels:  eslint-plugin
eslint-plugin-editorconfig
An ESLint plugin to enforce EditorConfig rules
Stars: ✭ 22 (-21.43%)
Mutual labels:  eslint-plugin
eslint-plugin-googleappsscript
ESLint plugin for Google Apps Script environment
Stars: ✭ 37 (+32.14%)
Mutual labels:  eslint-plugin
eslint-plugin-yml
This ESLint plugin provides linting rules for YAML.
Stars: ✭ 40 (+42.86%)
Mutual labels:  eslint-plugin
eslint-plugin-tailwind
ESLint rules for Tailwind CSS
Stars: ✭ 97 (+246.43%)
Mutual labels:  eslint-rules
eslint-plugin-ban
Ban some methods and functions
Stars: ✭ 23 (-17.86%)
Mutual labels:  eslint-plugin
html-eslint
ESLint plugin for linting HTML
Stars: ✭ 72 (+157.14%)
Mutual labels:  eslint-plugin
eslint-plugin-import
ESLint plugin with rules that help validate proper imports.
Stars: ✭ 4,290 (+15221.43%)
Mutual labels:  eslint-plugin
eslint-plugin-disable
Disable ESLint plugins using file path patterns and inline comments
Stars: ✭ 51 (+82.14%)
Mutual labels:  eslint-plugin
eslint-plugin-chai-friendly
Makes eslint friendly towards Chai.js 'expect' and 'should' statements.
Stars: ✭ 49 (+75%)
Mutual labels:  eslint-plugin
eslint-plugin-layout-shift
ESLint plugin to force responsive media elements to set the width/height attributes
Stars: ✭ 15 (-46.43%)
Mutual labels:  eslint-plugin
eslint-plugin-roku
ESLint plugin to parse and lint BrightScript files
Stars: ✭ 44 (+57.14%)
Mutual labels:  eslint-plugin
eslint-plugin-react-hook-form
ESLint plugin for react-hook-form
Stars: ✭ 27 (-3.57%)
Mutual labels:  eslint-plugin
eslint-plugin-pug
An ESLint plugin for linting inline scripts in Pug files
Stars: ✭ 17 (-39.29%)
Mutual labels:  eslint-plugin
typescript-eslint-demo
typescript eslint playground
Stars: ✭ 25 (-10.71%)
Mutual labels:  eslint-plugin

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

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].