stylelint-config-persgroep

2.0.0 • Public • Published

styleling-config-persgroep

De Persgroep ESLint Shareable Config (.stylelintrc).

Usage

Install from npm public registry

npm install stylelint-config-persgroep --save-dev

Add the extends array to your .stylelintrc with the config sets you need.

extends:
  - stylelint-config-persgroep

If some rules don't work for you, you can disable them. Set the rule to null to do this. This can also help when you migrate to this config: disable all rules, re-enable one and fix errors, re-enable the next rule.

Example for Fannypack:

rules:
  # Problems: one problem with nested blocks
  selector-class-pattern: null
  
  # Problems: check out specificity
  selector-max-specificity: null
  
  # Problems: some small problems
  order/order: null
  
  # Problems: spaces for indent (fonts) and closing function bracket wrong indent
  indentation: null
  
  # Problems: codebase has block comments as single line comments + newlines after single line comments
  rule-empty-line-before: null
  
  # Problems: smacss preferred order has changed since our last update
  order/properties-order: null

Contribute

Edit the .stylelintrc to add, update or delete rules.

Test your rules against the fannypack SCSS code (1.0.0)

npm run test

Package Sidebar

Install

npm i stylelint-config-persgroep

Weekly Downloads

1

Version

2.0.0

License

Apache-2.0

Unpacked Size

126 kB

Total Files

53

Last publish

Collaborators

  • bengie
  • yvanavermaet
  • dcino
  • gaetan
  • jvandenberghe