@diesdasdigital/csslint
Advanced tools
Comparing version 1.0.2 to 2.0.0
@@ -135,2 +135,3 @@ #!/usr/bin/env node | ||
node.name !== componentName && | ||
!node.name.startsWith(`${componentName}--`) && | ||
!node.name.startsWith(`${componentName}__`) | ||
@@ -145,6 +146,3 @@ ) { | ||
componentName | ||
)} should start with ${colors.blue(`${componentName}__`)}. | ||
Renaming your class as | ||
${colors.green(`.${componentName}__${node.name}`)} | ||
would solve the problem.`; | ||
)} should start with ${colors.blue(`${componentName}__`)}`; | ||
} | ||
@@ -173,6 +171,3 @@ | ||
`${componentName}__` | ||
)}. | ||
Renaming your animation as | ||
${colors.green(`${componentName}__${animationName}`)} | ||
would solve the problem.`; | ||
)}`; | ||
} | ||
@@ -179,0 +174,0 @@ } |
{ | ||
"name": "@diesdasdigital/csslint", | ||
"version": "1.0.2", | ||
"version": "2.0.0", | ||
"description": "Linter for our CSS architecture", | ||
@@ -5,0 +5,0 @@ "main": "./bin/index.js", |
Sorry, the diff of this file is not supported yet
493392
726