Learn More

CSS/SASS

In effort to maintain a consistent codebase, we’ve implemented stylelint in crds-styles to help enforce some general rules to follow when formatting new style declarations. While you can expect these rules to change over time, the basic ruleset can be viewed here.

To manually execute the linter against the crds-styles project, simply execute the following command…

npm run lint

Currently, linter rules are not enforced during the build process but it’s a good idea to observe their feedback regularly and correct any violations as you encounter them. If you’re using VSCode, you can install the vscode-stylelint plugin for real-time feedback.