3.0.0 • Published 2 years ago
@ramseyinhouse/stylelint-config v3.0.0
@ramseyinhouse/stylelint-config
The official stylelint configuration for Ramsey Solutions.
Support for Prettier is pre-configured out of the box.
Expected Dependencies
stylelintprettier- Though not strictly required, this config relies onprettierto enforce many stylistic rules.
Installation
Install stylelint and prettier as devDependencies if you have not already:
yarn add stylelint prettier --devInstall @ramseyinhouse/stylelint-config:
yarn add @ramseyinhouse/stylelint-config --devUsage
Configure stylelint to extend @ramseyinhouse/stylelint-config.
- Add a
stylelint.config.js(or other supported file format) to the root of your project. - Extend
@ramseyinhouse/stylelint-configvia theextendsproperty:
module.exports = {
extends: ['@ramseyinhouse/stylelint-config'],
};