1.13.6 • Published 4 years ago

@borealisgroup/stylelint-config v1.13.6

Weekly downloads
149
License
MIT
Repository
github
Last release
4 years ago

@borealisgroup/stylelint-config

Stylelint config for CSS linting.

Prerequisites

  • react
  • styled-components

Install

Using npm:

yarn -D @borealisgroup/stylelint-config

Usage

Create a file stylelint.config.js at the root of your project:

module.exports = require('@borealisgroup/stylelint-config');

Stylelint

Plugins

  • stylelint-config-standard - rules
  • stylelint-config-styled-components - to disable stylelint rules that clash with styled-components

  • stylelint-config-styled-components-processor - to extract styles from styled-components

Rules

  • 'block-no-empty': null - accept styled components with no style, i.e. when we just want to use named components for readability.

Why

Why do we need a shared coding style accross the company?

TL;DR - For consistency, productivity and happiness.

Contributing

If you want to modify plugins or rules in your project, please submit a pull request instead of overwriting your local config.

For each addition, add a justification in this README.

1.13.6

4 years ago

1.8.6

4 years ago

1.8.2

4 years ago

1.8.1

4 years ago

1.8.0-alpha.0

4 years ago

1.7.8

5 years ago

1.7.7

5 years ago

1.7.5

5 years ago

1.7.4

5 years ago

1.7.3

5 years ago

1.2.4

5 years ago

1.2.3

5 years ago

1.2.0

5 years ago

1.1.2

5 years ago

1.1.1

5 years ago

1.1.0

5 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago