@hireupau/eslint-plugin-hu-vue
Advanced tools
Comparing version 0.1.0 to 0.1.1-beta.0
@@ -6,5 +6,6 @@ module.exports = { | ||
rules: { | ||
'@hireupau/hu-vue/sort-component-registrations': 'error', | ||
'@hireupau/hu-vue/sort-prop-definitions': 'error', | ||
'@hireupau/hu-vue/sort-component-registrations': 'error', | ||
'@hireupau/hu-vue/sort-prop-properties': 'error', | ||
} | ||
}; |
{ | ||
"name": "@hireupau/eslint-plugin-hu-vue", | ||
"version": "0.1.0", | ||
"version": "0.1.1-beta.0", | ||
"description": "Hireup's vue eslint rules", | ||
"main": "index.js", | ||
"scripts": { | ||
"preversion": "npm test", | ||
"postversion": "git push && git push --tags", | ||
"test": "jest" | ||
@@ -8,0 +10,0 @@ }, |
@@ -0,7 +1,11 @@ | ||
const asyncImportComponents = require('./async-import-components'); | ||
const sortComponentRegistrations = require('./sort-component-registrations'); | ||
const sortPropDefinitions = require('./sort-prop-definitions'); | ||
const sortPropProperties = require('./sort-prop-properties'); | ||
module.exports = { | ||
'async-import-components': asyncImportComponents, | ||
'sort-component-registrations': sortComponentRegistrations, | ||
'sort-prop-definitions': sortPropDefinitions, | ||
'sort-prop-properties': sortPropProperties, | ||
}; |
@@ -26,4 +26,4 @@ /** | ||
}, | ||
create: function(context) { | ||
return utils.executeOnVue(context, function(obj) { | ||
create: context => { | ||
return utils.executeOnVue(context, obj => { | ||
if (!componentsAreSortedCorrectly(obj)) { | ||
@@ -30,0 +30,0 @@ const componentNode = utils |
@@ -26,4 +26,4 @@ /** | ||
}, | ||
create: function(context) { | ||
return utils.executeOnVue(context, function(obj) { | ||
create: context => { | ||
return utils.executeOnVue(context, obj => { | ||
if (!propsAreSortedCorrectly(obj)) { | ||
@@ -30,0 +30,0 @@ const propsNode = utils |
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
No README
QualityPackage does not have a README. This may indicate a failed publish or a low quality package.
Found 1 instance in 1 package
17400
16
584
1
24