Socket
Socket
Sign inDemoInstall

eslint-plugin-vue

Package Overview
Dependencies
Maintainers
3
Versions
170
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-plugin-vue - npm Package Compare versions

Comparing version 3.2.2 to 3.3.0

2

lib/recommended-rules.js

@@ -8,3 +8,3 @@ /*

"vue/html-end-tags": "off",
"vue/html-no-self-closing": "error",
"vue/html-no-self-closing": "off",
"vue/html-quotes": "off",

@@ -11,0 +11,0 @@ "vue/jsx-uses-vars": "error",

@@ -52,3 +52,3 @@ /**

category: 'Best Practices',
recommended: true
recommended: false
},

@@ -55,0 +55,0 @@ fixable: 'code',

@@ -23,2 +23,5 @@ /**

])
const VERB_MODIFIERS = new Set([
'stop', 'prevent'
])

@@ -51,7 +54,7 @@ /**

}
if (!utils.hasAttributeValue(node)) {
if (!utils.hasAttributeValue(node) && !node.key.modifiers.some(VERB_MODIFIERS.has, VERB_MODIFIERS)) {
context.report({
node,
loc: node.loc,
message: "'v-on' directives require that attribute value."
message: "'v-on' directives require that attribute value or verb modifiers."
})

@@ -58,0 +61,0 @@ }

{
"name": "eslint-plugin-vue",
"version": "3.2.2",
"version": "3.3.0",
"description": "Official ESLint plugin for Vue.js",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

@@ -68,3 +68,3 @@ # eslint-plugin-vue

| :wrench: | [html-end-tags](./docs/rules/html-end-tags.md) | enforce end tag style. |
| :white_check_mark::wrench: | [html-no-self-closing](./docs/rules/html-no-self-closing.md) | disallow self-closing elements. |
| :wrench: | [html-no-self-closing](./docs/rules/html-no-self-closing.md) | disallow self-closing elements. |
| :white_check_mark: | [no-confusing-v-for-v-if](./docs/rules/no-confusing-v-for-v-if.md) | disallow confusing `v-for` and `v-if` on the same element. |

@@ -71,0 +71,0 @@ | | [no-duplicate-attributes](./docs/rules/no-duplicate-attributes.md) | disallow duplicate arguments. |

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc