Opened on 12/18/2017 at 09:20:46 AM
Closed on 01/09/2018 at 02:41:22 PM
#6203 closed defect (fixed)
Fix rule-empty-line-before in stylelint-config-eyeo
Reported by: | ire | Assignee: | ire |
---|---|---|---|
Priority: | P3 | Milestone: | |
Module: | Websites | Keywords: | |
Cc: | saroyanm, greiner, martin, p.pastourmatzis, erick, fhd, juliandoucette | Blocked By: | |
Blocking: | Platform: | Unknown / Cross platform | |
Ready: | yes | Confidential: | no |
Tester: | Unknown | Verified working: | no |
Review URL(s): |
Description
Environment
Any
How to reproduce
- Follow the instructions to install stylelint-config-eyeo from codingtools
- Run the stylelint command with any CSS file
Observed behaviour
See error:
Invalid Option: Invalid value "first-nested" for option "ignore" of rule "rule-empty-line-before"
Expected behaviour
The first-nested rule should be an option for except within the rule rule-empty-line-before.
What to do
Change the rule-empty-line-before to the following:
// Separate rules by an empty line "rule-empty-line-before": ["always", { "ignore": ["after-comment"], "except": ["first-nested"] }],
Attachments (0)
Change History (3)
Note: See
TracTickets for help on using
tickets.
A commit referencing this issue has landed:
Issue 6203 - Fix rule-empty-line-before in stylelint-config-eyeo