@edenspiekermann/stylelint-config

1.0.2 • Public • Published

Edenspiekermann STYLELINT Configuration

This repository contains the STYLELINT configuration for projects at Edenspiekermann.

Installation

Install this package, and save it as a devDependency:

yarn add @edenspiekermann/stylelint-config --dev

Then have your project's .stylelintrc file extend the ruleset.

{
  "extends": ["@edenspiekermann/stylelint-config"]
}

Core rules

Using "extends": ["@edenspiekermann/stylelint-config"] is a short hand for "extends": ["@edenspiekermann/stylelint-config/rules/core"]. The core rules use extend the stylelint-config-standard configuration. It contains all rulesets for a frameworkless / vanilla css validation. On top of that its possible to extend these rules with some more specific configurations (see the following).

BEM

Add this configuration if you want to use stylelint with the rules of BEM.

{
  "extends": [
    "@edenspiekermann/stylelint-config",
    "@edenspiekermann/stylelint-config/rules/bem"
  ]
}

SASS

Add this configuration if you want to use stylelint with the rules of SASS.

{
  "extends": [
    "@edenspiekermann/stylelint-config",
    "@edenspiekermann/stylelint-config/rules/sass"
  ]
}

Styled components

Add this configuration if you want to use stylelint with the rules of styled components.

{
  "extends": [
    "@edenspiekermann/stylelint-config",
    "@edenspiekermann/stylelint-config/rules/styled-components"
  ]
}

Tailwind

Add this configuration if you want to use stylelint with the rules of tailwind.

{
  "extends": [
    "@edenspiekermann/stylelint-config",
    "@edenspiekermann/stylelint-config/rules/tailwind"
  ]
}

License

The MIT License (MIT). Please see License File for more information.

Package Sidebar

Install

npm i @edenspiekermann/stylelint-config

Weekly Downloads

21

Version

1.0.2

License

MIT

Unpacked Size

14.5 kB

Total Files

17

Last publish

Collaborators

  • edenspiekermann_user
  • nrmnrsh
  • espi_ci
  • yvesrijckaert