eslint-plugin-vue
Advanced tools
Comparing version 0.1.0 to 0.1.1
@@ -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) | ||
}) | ||
}) |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
6868
11
67