3.0.0 • Published 1 month ago

@ramseyinhouse/stylelint-config v3.0.0

Weekly downloads
3
License
GPL-3.0
Repository
github
Last release
1 month ago

@ramseyinhouse/stylelint-config

The official stylelint configuration for Ramsey Solutions.

Support for Prettier is pre-configured out of the box.

Expected Dependencies

  • stylelint
  • prettier - Though not strictly required, this config relies on prettier to enforce many stylistic rules.

Installation

Install stylelint and prettier as devDependencies if you have not already:

yarn add stylelint prettier --dev

Install @ramseyinhouse/stylelint-config:

yarn add @ramseyinhouse/stylelint-config --dev

Usage

Configure stylelint to extend @ramseyinhouse/stylelint-config.

  1. Add a stylelint.config.js (or other supported file format) to the root of your project.
  2. Extend @ramseyinhouse/stylelint-config via the extends property:
module.exports = {
  extends: ['@ramseyinhouse/stylelint-config'],
};