@18f/identity-stylelint-config

4.1.0 • Public • Published

@18f/identity-stylelint-config

Stylelint shareable configuration for Login.gov CSS/SASS standards.

These configurations largely inherit from the TTS CSS coding standards, pre-bundled with recommended rulesets and extended to provide support for Login.gov-specific implementation choices.

Installation

Install using NPM or Yarn. Stylelint and Prettier are required as peer dependencies and should be installed if it is not already.

npm install --save-dev @18f/identity-stylelint-config stylelint prettier

Usage

Create a .stylelintrc.json configuration file in the root of your project and extend this configuration:

{
  "extends": "@18f/identity-stylelint-config"
}

When you next run stylelint, it will apply the configured rules.

License

This project is in the public domain within the United States, and copyright and related rights in the work worldwide are waived through the CC0 1.0 Universal public domain dedication.

All contributions to this project will be released under the CC0 dedication. By submitting a pull request or issue, you are agreeing to comply with this waiver of copyright interest.

Readme

Keywords

none

Package Sidebar

Install

npm i @18f/identity-stylelint-config

Weekly Downloads

799

Version

4.1.0

License

CC0-1.0

Unpacked Size

4.24 kB

Total Files

4

Last publish

Collaborators

  • eileen-nava
  • keithnava
  • lnyoung
  • mkgsa
  • np-techops
  • ginayam
  • sb-nava
  • cvfergus
  • mneveunava
  • nava-matt
  • tts-tech-portfolio
  • 18f-devops
  • mgwalker
  • stvnrlly
  • rori123
  • aduth