Socket
Socket
Sign inDemoInstall

eslint-plugin-vue

Package Overview
Dependencies
Maintainers
1
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 0.1.0 to 0.1.1

test/no.script.vue

2

lib/processors/vueProcessor.js

@@ -17,3 +17,3 @@ 'use strict'

}
return []
return ['']
},

@@ -20,0 +20,0 @@ postprocess: function (messages, filename) {

{
"name": "eslint-plugin-vue",
"version": "0.1.0",
"version": "0.1.1",
"description": "eslint plugin for vue components (.vue files)",

@@ -5,0 +5,0 @@ "keywords": [

@@ -31,2 +31,13 @@ 'use strict'

})
// issue: https://github.com/Twiknight/eslint-plugin-vue/issues/1
it('should work with vue files without script tag', function () {
cli.addPlugin('eslint-plugin-vue', plugin)
const filename = Path.join(__dirname, 'no.script.vue')
const report = cli.executeOnFiles([filename])
const errors = report.results[0].messages
expect(errors).to.have.lengthOf(0)
})
})
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