- Fix
implicitComponents
with a stringcomponentName
pattern #175
- Fix issue with with multiple components in same file #138
- Allow double dash modifier #136
- Move to Prettier
- Switch to Yarn
- Allow both
/**
and/*
for module definitions #125
- Update PostCSS to
^6.0.6
- Drops support for Node 0.12 - Ignore underscore on implicitComponent to allow Scss partials #115
- Use parent directory for implicitComponent if filename is 'index.css' commit
- Lint rulesets that only have an @extend keyword #119
- Switch to Jest for unit tests
- Use Airbnb ESLint configuration
- Fix issue with nested rules when using LESS syntax #114
- Add implicitComponents and implicitUtilities option (#93)
- Allow component selector patterns without
{componentName}
interpolation.
- Add support for nested selectors in utility stylesheets.
- Add support for nested selectors.
- Fix preset
componentName
patterns.
- Allow chaining modifier classes in SUIT pattern.
- Allow chaining state classes in SUIT pattern.
- Skip nodes that do not have
source
properties.
- Prevent failure if a PostCSS node lacks a
source
property.
- Ensure that
@keyframes
selectors are always skipped.
- Add ability to ignore custom properties via
postcss-bem-linter: ignore
comments and theignoreCustomProperties
pattern.
- Allow attribute selectors in BEM preset pattern.
- Fix bug causing pseudo-classes with operators like
:nth-child(3n+1)
to cause problems. - Add flexibility (remove unnecessary strictness) in attribute part of preset patterns.
- Support string patterns for everything:
componentName
,componentSelectors
(with one description, and withinitial
andcombined
),utilitySelectors
, andignoreSelectors
(with a single value or an array).
- Add namespace option to BEM preset pattern.
- Light breaking change: Improve strictness of SUIT preset pattern: enforce proper camelCasing.
- Support array of patterns for
ignoreSelectors
.
- Support selective overriding of a chosen preset's patterns.
- Support
ignoreSelectors
pattern. - Support ignoring utility selectors with a preceding comment.
- Add helpful error messages when user configuration is lacking patterns.
- Use PostCSS's improved warning API to provide more precise locations.
- Upgrade to PostCSS 5.
- Support multiple definitions per file.
- Support comments to end definition enforcement.
- Support verbose comment syntax, e.g.
/* postcss-bem-linter: define ComponentName */
.
- Add alternate signature for designating preset and preset options.
- Remove checks that
:root
rules only contain custom-properties, and that the:root
selector is not grouped or combined with other selectors. Outsourcing these checks to stylelint.
- Support
/* postcss-bem-linter: ignore */
comments.
- Support BEM format and custom formats.
- Make
strict mode
the default. Addweak
mode. - Support pseudo-selectors.
- Support utility linting.
- Add better warning logging.
- Use postcss 4.1.x.
- Allow adjoining attributes in SUITCSS selectors.
- Use postcss 4.0.x API.
- Skip
@keyframes
rules when validating selectors.
- Initial release. Ported from rework-suit-conformance. e1iv