Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/postcss/postcss-bem-linter

A BEM linter for postcss
https://github.com/postcss/postcss-bem-linter

Check for an atrule as parent in isNestedRule

Nested rulesets can exist inside media queries

d5ff2f44d50691c8310e503b6362675d26dfa9f9 authored over 8 years ago by Simon Smith <[email protected]>
Skip checking a rule if it has no declarations

Removing the `isTopLevel` check allows code like the following to be
correctly linted:

```css
....

c87f6a817e53b15f9d87472722efa34b1d8ba9c4 authored over 8 years ago by Simon Smith <[email protected]>
Assume a rule is top level if the parent is root

Seeing as nested media queries can exist inside rulesets it is wrong
to assume they are top level

19fe92f1c323fc9d2f364ba5f4beb7d86c407c74 authored over 8 years ago by Simon Smith <[email protected]>
Add tests for getSelectors function

This allows certainty that selectors are being unwrapped as expected. By
following the 'black bo...

6789e0c2bb3b8c2ed4ef23c4d29bf05ef1f18bdf authored over 8 years ago by Simon Smith <[email protected]>
Check whether a rule has any declarations

It's safer to check if there are no declarations as opposed to the
existence of rulesets as this...

2df55ed674a29b46003a145e924d9031b3810898 authored over 8 years ago by Simon Smith <[email protected]>
Add rewire as a dev dependency

Allow extracting functions from modules for testing

1b2e526b27dacb79a98bf73f98d2aee5e57ce845 authored over 8 years ago by Simon Smith <[email protected]>
Move logic for getting rule selectors to a function

Aids testing by allowing the output of this function to be asserted

cb5429341e41f942b29a34e62146e799bd6cde10 authored over 8 years ago by Simon Smith <[email protected]>
Fix broken link to BEM unit test examples

0ede41a8c168e8a56a272f6d4ba1a5d6a01d019b authored over 8 years ago by Simon Smith <[email protected]>
Add ability to validate nested rulesets

Fixes #77

5758be8393986de633845c3e224e2061fd5ede72 authored over 8 years ago by Simon Smith <[email protected]>
Add postcss-resolve-nested-selector

c56e6239012ee77ab13c6fff3ba966851c1cb35f authored over 8 years ago by Simon Smith <[email protected]>
Add a var to reference config.rule

9f5af8a9736ebbb7a788a575d233f2b97dbd5989 authored over 8 years ago by Simon Smith <[email protected]>
Add test and fixture for nested rulesets

3854aa246992f200730ef2ed5a138393e7529962 authored over 8 years ago by Simon Smith <[email protected]>
Remove outdated comment from test-util

0d63d37875f184dfce6bb94e2e099ca38cf9479c authored over 8 years ago by Simon Smith <[email protected]>
Remove extra whitespace

4d279501e66b8815ee8c99affd895ef71ec07c62 authored over 8 years ago by Simon Smith <[email protected]>
Prepare 2.4.1, including docs

6981d906feafb3e487cc48defb9243e69d12db92 authored almost 9 years ago by David Clark <[email protected]>
Fix preset componentName patterns; fixes #84

c59db3fd3ba998fd8017657571d7d95105ac654f authored almost 9 years ago by David Clark <[email protected]>
Prepare 2.4.0

4f0969761f4ef9afa9555c5b39df55370d8b9507 authored almost 9 years ago by David Clark <[email protected]>
Merge pull request #81 from flip-it/chaining-selectors

Allow chaining modifier and state in suit selector

e1a31626d13289a6a916808af6c57242ddf3cd92 authored almost 9 years ago by David Clark <[email protected]>
removed whitespace

27cbab24078da5f80a1c12c56a2a2df4821e414b authored almost 9 years ago by Filip Holm <[email protected]>
Allow chaining modifier and state in selector

c3dbf3851ae532255db5a576184bb482bbe4c643 authored almost 9 years ago by Filip Holm <[email protected]>
Prepare 2.3.3

7fdcdb921e5406b87f2143448517522417a21242 authored almost 9 years ago by David Clark <[email protected]>
Skip nodes that lack source properties; addresses #80

bf486a34826622c1a6f81a460dbf6d82332f8155 authored almost 9 years ago by David Clark <[email protected]>
Prepare 2.3.2

bb1ae9b272b991cb5ebeaa75e267d546b077edf4 authored almost 9 years ago by David Clark <[email protected]>
Prevent failure if a PostCSS node lacks a property; fixes #80

0d9506d31fe01d4938d231ee0e1d22dbe6a9c506 authored almost 9 years ago by David Clark <[email protected]>
Prepare 2.3.1

3bb379e45e3967c3f3b88d069ceec662039bd98b authored almost 9 years ago by David Clark <[email protected]>
Ensure weak mode works with bem; addresses #75

75368f5c90b41949ca8bc418ecbe35ac1c90c756 authored almost 9 years ago by David Clark <[email protected]>
Ensure that selectors are always skipped; addresses #75

576229fd1bc4f1eee8f143bf44440533dbcd14c2 authored almost 9 years ago by David Clark <[email protected]>
Add note to readme about stylelint plugin

f4d5ce9a755bbbb64a26f1a22ae9b29ed02884e0 authored about 9 years ago by David Clark <[email protected]>
Prepare 2.3.0

8c9657e369baa777dc795e666ed15b71d77f0411 authored about 9 years ago by David Clark <[email protected]>
Add support for ignoring custom selectors; closes #74

1897348888ab375e8db6a3c9c3c486c56e61ed94 authored about 9 years ago by David Clark <[email protected]>
Prepare 2.2.0

fcb001ede42c8d65a05eb03a785b2b35c1128267 authored about 9 years ago by David Clark <[email protected]>
Add flexibiliy to attribute selectors in preset patterns

5dee601190503034f6a69e6ad6b3ba1c7ffd8f55 authored about 9 years ago by David Clark <[email protected]>
Test attribute selector in BEM preset; closes #72

ec6c5cd4fe062510b6b9b1f85890dc52cd320f3e authored about 9 years ago by David Clark <[email protected]>
Fix listSequences pseudo-class operator bug; fixes #73

13d0bf05c7394b3bb96b96fa0b192239c8cca088 authored about 9 years ago by David Clark <[email protected]>
Prepare 2.1.0

15b3d8d3be642b949ec835778f9f89695e962b15 authored about 9 years ago by David Clark <[email protected]>
Merge pull request #71 from postcss/string-patterns

Support string patterns

c7ae3dd6ad250862a6218a16e03d6b09cc684a57 authored about 9 years ago by David Clark <[email protected]>
Fix overly-specific error message

a94ffc303e8f2dd61e55b4d8db11540cf8488797 authored about 9 years ago by David Clark <[email protected]>
Support string patterns

3f081d7923800d36e0012171e627573536db3bcd authored about 9 years ago by David Clark <[email protected]>
Move more ignore tests for utility selectors

d056e246bd8160623955cbc6fb85f76b981604bd authored about 9 years ago by David Clark <[email protected]>
Tidy test index

712c0724e84c19eb062c0b6b225209201b75bd54 authored about 9 years ago by David Clark <[email protected]>
Split out ignore selectors tests

517fcdcee3c871aa5c9c0ddfa0fecd51998f4038 authored about 9 years ago by David Clark <[email protected]>
Remove unnecessary async trappings from tests

b88a43d0b817c58ce7301cbc51ab5f77c7f5603d authored about 9 years ago by David Clark <[email protected]>
Update ESLint

602fd5a46a81d7fa64c78eef2955bd16908ed6c3 authored about 9 years ago by David Clark <[email protected]>
Prepare 2.0.0

783e66007c4daec6522c3c8142a4aadd870db131 authored about 9 years ago by David Clark <[email protected]>
Add namespace option to BEM preset; fix tests

d11943f84db6ebe3152dda0a2bd986f0f215fbc6 authored about 9 years ago by David Clark <[email protected]>
Finish improvement of SUIT preset patterns

634512fa9ba91346f60d7ef58295eaa0f957223e authored about 9 years ago by David Clark <[email protected]>
Add Code of Conduct (Contributor Covenant)

3d3f297f78b6c80bf31c91fd37beb61f1a410387 authored about 9 years ago by David Clark <[email protected]>
Update dependencies

028e18312664e9f7f9a22f0d95d46bebdb06df68 authored about 9 years ago by David Clark <[email protected]>
Update travis config for stable Node

a2c7709842a16aeeb92f976b70d21a8cb506c07f authored about 9 years ago by David Clark <[email protected]>
Merge pull request #67 from bezoerb/patch-1

Check camelCase names

bd8f50fc36b6003c5d9fb898438dea840e1b25fe authored about 9 years ago by David Clark <[email protected]>
cleanup

9e8537d958b842abd95a366d143613a8e3179405 authored about 9 years ago by Ben Zörb <[email protected]>
Added tests

349ad549699cf72cbbab12118d5e4d2f6abe8860 authored about 9 years ago by Ben Zörb <[email protected]>
Allow modifier starting with a number

06519875565ffe3582e0568932ae5c362bfe4e90 authored about 9 years ago by Ben Zörb <[email protected]>
Allow single char in component selectors

`.Component-a`

fff875dd8a27e434fd36c620d874e9a9ac06a9b0 authored about 9 years ago by Ben Zörb <[email protected]>
Allow single char in utility classes

Something like
`.u-hidden-x`

06f1e96d2efe8e90b4c33492d09fe85e53f87131 authored about 9 years ago by Ben Zörb <[email protected]>
Check camelCase names

modifierName, descendentName and stateName must be written in camel case.
See https://github.c...

5f097eefa3ec03b13b3af845e5808aa98dd28317 authored about 9 years ago by Ben Zörb <[email protected]>
Prepare 1.2.0

e59101245b2c253fc0c8633f08e0b8990fff38fc authored about 9 years ago by David Clark <[email protected]>
Support array of regexps for ignoreSelectors

Closes #66.

e0d326b31c0fb51d9223a8773ee21fce4acc27d3 authored about 9 years ago by David Clark <[email protected]>
Prepare 1.1.0

72753149344dd7ac1ae60e96cf7549e2e8dac299 authored over 9 years ago by David Clark <[email protected]>
Add selective preset overrides and ignoreSelectors

Cleanup validation functions to accommodate ignoreSelectors.
Update documentation accordingly.

...

ec27f4c6cd65c0aaf1ccc101308b42378d8f0dcf authored over 9 years ago by David Clark <[email protected]>
Add helpful error messages when user config lacks patterns

Fixes #65.

7ead2e14f193fd69cf01bf8ab2c45a95e1e9cefe authored over 9 years ago by David Clark <[email protected]>
Prepare 1.0.1

1cb6dbe721088664d1e55c36ac3c98dfa36972a1 authored over 9 years ago by David Clark <[email protected]>
Improve precision of warnings

a68fff7459a85141d1c826fe4d613c13c27e345e authored over 9 years ago by David Clark <[email protected]>
Fix README title

a38e66265d8b45501f594d8c69a8b511b5489f31 authored over 9 years ago by David Clark <[email protected]>
Add note about PostCSS compatibility

76695ecfc864a66395de275513adf2ac9fafa26c authored over 9 years ago by David Clark <[email protected]>
Upgrade PostCSS; prepare 1.0

034928a35d25714e514648429345b2bce0fb187f authored over 9 years ago by David Clark <[email protected]>
Readme cleanup and clarification

1909a908bd535ac04dfd6cd6f0bfd57eee7c2a01 authored over 9 years ago by David Clark <[email protected]>
Prepare 0.6.0

a91933119c420b044a5fd24d4237d070f51a4884 authored over 9 years ago by David Clark <[email protected]>
Support ranges within files and verbose comments; fixes #57

6f5f27bbea32b9da027d4e31797ecf5871394268 authored over 9 years ago by David Clark <[email protected]>
Prepare 0.5.0

9da9fa2645087eb95f33ab2759a8b47ca0ee66a5 authored over 9 years ago by David Clark <[email protected]>
Merge branch 'master' of github.com:postcss/postcss-bem-linter

278e4b5290567315fef3fcc4cbf6d8a62fcc0d70 authored over 9 years ago by David Clark <[email protected]>
Add preset/presetOptions signature and cleanup code

0ca7d404fa6da11a75ae1003e01938bcdf26cd4c authored over 9 years ago by David Clark <[email protected]>
Blergh

a3e6d8073204ba70d8179ee62ff1237fe9cf6585 authored over 9 years ago by David Clark <[email protected]>
Update README.md

ea10b8bc0bbc60800cba996f497196eab5d6cedd authored over 9 years ago by David Clark <[email protected]>
Update README.md

7a694d7c2e55a513d306d570f586dfe8a44a7091 authored over 9 years ago by David Clark <[email protected]>
Remove :root selector tests; closes #56

80a33f3d6bab5b6d8545b691728cf66b09a416ee authored over 9 years ago by David Clark <[email protected]>
Update eslint version and config

31e836dff8a803f238e19c2fae5829689290a4ca authored over 9 years ago by David Clark <[email protected]>
Switch log-warnings with reporter

a05eb29dab2964eb22aef0c8c99be61e715e980f authored over 9 years ago by David Clark <[email protected]>
Merge pull request #54 from vyorkin/patch-1

Update README.md

7528536afd5229e7647afe7b92cabf3b10fd9e7c authored over 9 years ago by David Clark <[email protected]>
Update README.md

postcss-log-warnings is deprecated, so I guess it shouldn't be mentioned here

3113e28c31b4f268e865a3fdcb4ffb5a8ab326ec authored over 9 years ago by Vasiliy Yorkin <[email protected]>
0.4.0

af8b8b122f29107ccf2502ae45395b00f6eef445 authored over 9 years ago by David Clark <[email protected]>
Update README.md

New Travis badge

ef6181a75180904a65c8e85a3a7276df37141e68 authored over 9 years ago by David Clark <[email protected]>
Update README.md

Typo

eb717a29c87d36beec932431618504a5f5b8db61 authored over 9 years ago by David Clark <[email protected]>
Add camelCase test for BEM pattern

e725a29bc395da2f099d089435f6f52481742e9e authored over 9 years ago by David Clark <[email protected]>
Simplify BEM preset

f764388567746dac230419cdad3c9361e1194775 authored over 9 years ago by Jed Mao <[email protected]>
Clarifications in readme

d3f1cedf7ee606a0dfa5c88fbf44368e92902f72 authored over 9 years ago by David Clark <[email protected]>
Merge pull request #50 from davidtheclark/ignore-selector

Add ignore selector; addresses #47

f5df66ffb37d96c3c739ad134f6baa5552c2eee8 authored over 9 years ago by David Clark <[email protected]>
Add ignore selector; addresses #47

2fbb73adfaf540a7310731f2d25714396f742248 authored over 9 years ago by David Clark <[email protected]>
0.3.0

333f84fd0336b457793ec7d6a817adb87fdd6bb1 authored over 9 years ago by Nicolas Gallagher <[email protected]>
Merge pull request #46 from davidtheclark/utility-pseudos

Strip pseudos from utility selectors before check; fixes #45

f9f4bc821fabb493522e17afa3faf63c6177131f authored over 9 years ago by David Clark <[email protected]>
Merge pull request #43 from davidtheclark/warning-docs

Further document warning printing

fe4a4a010aef56f8067427dfbe0b80d980363131 authored over 9 years ago by David Clark <[email protected]>
Strip pseudos from utility selectors before check; fixes #45

19e630d85d0a9520108517d0bb387263ba14dd30 authored over 9 years ago by David Clark <[email protected]>
Further document warning printing

24bd9a212f1efa945c5d985f5631ca2032ec7191 authored over 9 years ago by David Clark <[email protected]>
Add note about printing warnings to README

To address https://github.com/necolas/postcss-bem-linter/issues/26#issuecomment-98406123

47885f93649f21dbd9b3f0fd583e48770121835e authored over 9 years ago by David Clark <[email protected]>
Merge pull request #40 from davidtheclark/eslint

Switch to ESLint

a257d9720e9b9eb2bee98f74880cb30c8af65d7a authored over 9 years ago by Nicolas Gallagher <[email protected]>
Merge pull request #41 from davidtheclark/empty-styles

Handle empty stylesheet

29a58c646f4499fb85f129c5979c1660aac00ca3 authored over 9 years ago by Nicolas Gallagher <[email protected]>
Handle empty stylesheet

cecd6fc046154dcb281bf2e290c691cd0e9e6c72 authored over 9 years ago by David Clark <[email protected]>
Switch to ESLint

f2f91a5d37f3535435ca256e1717d65c4cee6f55 authored over 9 years ago by David Clark <[email protected]>
Merge pull request #35 from davidtheclark/suit-attributes

Allows chained attributes in SUIT componentSelectors

add452a6e0eff82e540b538143c7a30b6b7039e4 authored over 9 years ago by Nicolas Gallagher <[email protected]>
Merge pull request #36 from davidtheclark/postcss-4-1

Postcss 4.1

4d364f007a76f6144fbc389b2d985f61846aca23 authored over 9 years ago by Nicolas Gallagher <[email protected]>