Comparing version 1.0.2 to 1.1.0
@@ -39,2 +39,13 @@ "use strict"; | ||
} | ||
}, tag => { | ||
const params = tag.tagValue.split(/[\s,]+/).filter(p => p !== ''); | ||
if (params.some(p => p.endsWith(':') && p.includes('-'))) { | ||
return { | ||
ruleId: 'no-property-dash', | ||
message: 'Properties should not have dashes', | ||
source: tag.source, | ||
severity: 'error' | ||
}; | ||
} | ||
}]; | ||
@@ -41,0 +52,0 @@ |
{ | ||
"name": "fluidlint", | ||
"version": "1.0.2", | ||
"version": "1.1.0", | ||
"description": "CLI that ensures that Liquid features that aren't supported by Fluid are not used.", | ||
@@ -5,0 +5,0 @@ "keywords": [], |
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
10678
228