-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(stylelint): add stylelint-config-carbon #6170
feat(stylelint): add stylelint-config-carbon #6170
Conversation
cc @jendowns if you have any recommendations! |
Deploy preview for carbon-elements ready! Built with commit bfa6345 |
Deploy preview for carbon-components-react ready! Built with commit bfa6345 https://deploy-preview-6170--carbon-components-react.netlify.app |
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.
I'd be interested in using this in carbon-addons-iot-react
👍
It would be helpful to know if there's a CLI command I can run to view our existing config/values and diff them with what's available here
…feat/add-stylelint-config-carbon
@emyarod @andreancardona let me know if you have any questions about this PR! |
This PR adds in a new package called
stylelint-config-carbon
that has our stylelint configuration for the monorepo and for other projects in the carbon ecosystem.It currently does not add listing styles to our CI check. Instead, we'll chip away at this over time and have
lint-staged
catch changes to be fixed on a per-file basis. When we get full coverage, we'll add stylelint to our CI check.This PR adds in the package (moving from
stylelint-config-elements
), updates some dependencies for stylelint, adds in some new rules, and also fixes some stylelint issues in Sass files around the project.Changelog
New
stylelint-config-carbon
Changed
Removed
stylelint-config-elements