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.6.0 to 3.7.0

lib/rules/return-in-computed-property.js

1

lib/recommended-rules.js

@@ -34,4 +34,5 @@ /*

"vue/require-v-for-key": "error",
"vue/return-in-computed-property": "off",
"vue/v-bind-style": "off",
"vue/v-on-style": "off"
}

7

lib/rules/no-invalid-v-on.js

@@ -36,9 +36,2 @@ /**

"VAttribute[directive=true][key.name='on']" (node) {
if (!node.key.argument) {
context.report({
node,
loc: node.loc,
message: "'v-on' directives require event names."
})
}
for (const modifier of node.key.modifiers) {

@@ -45,0 +38,0 @@ if (!VALID_MODIFIERS.has(modifier) && !Number.isInteger(parseInt(modifier, 10))) {

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

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

@@ -114,2 +114,3 @@ # eslint-plugin-vue

| | [no-template-key](./docs/rules/no-template-key.md) | disallow `key` attribute on `<template>`. |
| | [return-in-computed-property](./docs/rules/return-in-computed-property.md) | Enforces that a return statement is present in computed property. |

@@ -116,0 +117,0 @@ <!--RULES_TABLE_END-->

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