-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Adjust linters. #370
Adjust linters. #370
Conversation
Sorry, this is not ready. Needs tweaks. |
@josephgknox @JBCSU @yvonnetangsu So I finally figured out why our sass lint settings were different in our code climate results. We were using the wrong linter 🤦♂️. This PR revises the linting configuration and takes a first comb through the issues to boil them down to 'real' ones. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could we add one rule to allow attribute selectors? Useful for [aria-expanded="true"] type of attributes in main nav for example.
Co-Authored-By: sherakama <sherakama@gmail.com>
@sherakama I'm not sure I understand how to test this PR. I followed the instructions
and I got 1131 warnings, including tons of warnings about whitespace and semicolons. When I look at the codeclimate details there are 7 issues that aren't marked Fixed, none of which are about whitespace or semicolons. So it seems to me that the lint configurations don't match. What am I looking for in order to validate this PR? |
FYI, CC's issue with not allowing filename extensions on |
Weird....when I ran it last time, I got 0 error and 2x warnings 🤔 |
+1. 🤔 |
Y'know what I should probably do? I should probably test your branch, instead of D'oh! 🤦♀️ Sorry 'bout that. My brain's fried after 2 days of training. |
When I test the correct branch, 0 errors, 28 warnings. That's much mo' bettah. Thanks for doing this. It makes linting actually useful. |
* master: (44 commits) Set up color maps for Decanter and refactor main nav colors to refer to color maps (#420) Move PR template (#416) Fix skiplink target so it doesn't take up space and cause overflow (#415) Release 5.0.1 (#417) Fix CSS grid gaps not displaying on Edge issue and other minor grid related issues (#413) More link fixup (#388) forgot to rebuild .js after final lint fixes (#387) add openNav, closeNav, openSubnav, closeSubnav events (#379) Fix main nav color variants and work with new linting rules (#380) add favicon to style guide (#377) Adjust linters. (#370) update readme.md to match Scott's intro on homepage.md (#371) Update README.md (#369) move the images we need for the styleguide's homepage into kss-assets (#368) Update README.md (#367) Update UPGRADE.md (#363) package.locl.json file is back (#366) Added more to changelog (#364) Update homepage.md (#362) 90 basic webpack (#334) ... # Conflicts: # core/scss/components/index.scss
READY
Summary
scss-lint
enabled in codeclimate but we had configuration forsass-lint
in our repo. They are two different things and need to be one.Needed By (Date)
Urgency
Steps to Test
npm run build
npm run sasslint
See Also