Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Add selector-max-pseudo-class rule #3195
I had to use --no-verify flag when committing, as I was getting:
@Bilie Many thanks for the PR!
I've requested some changes based on the guidelines.
The tests are failing because of a linting error. You'll likely address this when adapting to code to account for nested selectors, though. FYI, you can use
npm run lint to run the linting locally.
You'll need to wire-up the rule by adding it to the list of rules and the example config.
But no errors were listed and I did not know how to fix this.
I've not come across this before, I'm afraid. You can run
npm run prettier:fix before committing to make sure your files are correctly formatted.
Thanks again! I'm personally a great fan of these limiting rules and so it's great to see a contributor add more!