eslint-plugin-crisp
Advanced tools
Comparing version 1.0.57 to 1.0.58
{ | ||
"name": "eslint-plugin-crisp", | ||
"version": "1.0.57", | ||
"version": "1.0.58", | ||
"description": "Custom EsLint Rules for Crisp", | ||
@@ -21,3 +21,3 @@ "author": "Crisp IM SAS", | ||
"eslint": "8.45.0", | ||
"eslint-plugin-vue": "9.15.1", | ||
"eslint-plugin-vue": "9.18.1", | ||
"eslint-plugin-vue-pug": "0.6.0" | ||
@@ -24,0 +24,0 @@ }, |
@@ -48,2 +48,3 @@ module.exports = { | ||
"linebreak-style": ["error", "unix"], | ||
"newline-per-chained-call": "error", | ||
"no-console": "warn", | ||
@@ -164,2 +165,3 @@ "no-debugger": "warn", | ||
"jsdoc/newline-after-description": "off", | ||
"jsdoc/require-description": "error", | ||
"jsdoc/require-jsdoc": [ | ||
@@ -169,3 +171,3 @@ "error", | ||
{ | ||
require: { | ||
"require": { | ||
"FunctionDeclaration": true, | ||
@@ -178,3 +180,3 @@ "MethodDefinition": true, | ||
contexts: [ | ||
"contexts": [ | ||
"Property[key.name=\"getters\"] > ObjectExpression > Property", | ||
@@ -189,5 +191,5 @@ "Property[key.name=\"methods\"] > ObjectExpression > Property" | ||
{ | ||
tagSequence: [ | ||
"tagSequence": [ | ||
{ | ||
tags: [ | ||
"tags": [ | ||
"private", | ||
@@ -217,2 +219,20 @@ "protected", | ||
// General Vue rules | ||
"vue/component-api-style": ["error", ["options"]], | ||
"vue/component-name-in-template-casing": ["error", "kebab-case"], | ||
"vue/component-options-name-casing": ["error", "PascalCase"], | ||
"vue/custom-event-name-casing": ["error", "camelCase"], | ||
"vue/html-comment-content-spacing": ["error", "always"], | ||
"vue/match-component-import-name": ["error"], | ||
"vue/new-line-between-multi-line-property": ["error"], | ||
"vue/no-bare-strings-in-template": ["error"], | ||
"vue/no-multiple-objects-in-class": ["error"], | ||
"vue/no-static-inline-styles": ["error"], | ||
"vue/no-use-v-else-with-v-for": ["error"], | ||
"vue/no-useless-v-bind": ["error"], | ||
"vue/padding-line-between-blocks": ["error", "always"], | ||
"vue/padding-lines-in-component-definition": ["error"], | ||
"vue/require-direct-export": ["error"], | ||
"vue/v-for-delimiter-style": ["error", "in"], | ||
"vue/comma-dangle": "error", | ||
"vue/html-quotes": "off", | ||
@@ -225,3 +245,3 @@ "vue/no-v-html": "off", | ||
{ | ||
order: [ | ||
"order": [ | ||
"RENDER_MODIFIERS", | ||
@@ -228,0 +248,0 @@ "CONDITIONALS", |
74971
2168