postcss-bem-linter
Advanced tools
Comparing version 2.3.0 to 2.3.1
@@ -0,1 +1,5 @@ | ||
=== 2.3.1 (February 9, 2015) | ||
* Ensure that `@keyframes` selectors are always skipped. | ||
=== 2.3.0 (November 24, 2015) | ||
@@ -2,0 +6,0 @@ |
@@ -38,2 +38,4 @@ var postcss = require('postcss'); | ||
root.walkRules(function(rule) { | ||
if (rule.parent && rule.parent.name === 'keyframes') return; | ||
var ruleStartLine = rule.source.start.line; | ||
@@ -40,0 +42,0 @@ ranges.forEach(function(range) { |
@@ -17,3 +17,2 @@ var listSequences = require('./list-sequences'); | ||
module.exports = function(config) { | ||
if (config.rule.parent && config.rule.parent.name === 'keyframes') return; | ||
if (shouldIgnoreRule(config.rule)) return; | ||
@@ -20,0 +19,0 @@ |
{ | ||
"name": "postcss-bem-linter", | ||
"version": "2.3.0", | ||
"version": "2.3.1", | ||
"description": "A BEM linter for postcss", | ||
@@ -5,0 +5,0 @@ "files": [ |
@@ -30,2 +30,8 @@ # postcss-bem-linter | ||
### stylelint plugin | ||
postcss-bem-linter can also be used as a [stylelint](http://stylelint.io/) plugin: [stylelint-selector-bem-pattern](https://github.com/davidtheclark/stylelint-selector-bem-pattern). | ||
By using the stylelint plugin, all of your linting can happen in one step, seamlessly: postcss-bem-linter warnings will output alongside other stylelint warnings. Also, you can take advantage of all the other features that stylelint offers, such as a CLI and Node.js API, different formatters for output, etc. | ||
## Conformance tests | ||
@@ -32,0 +38,0 @@ |
32003
430