1.0.0 • Published 8 years ago

@axa-ch/stylelint-config-axa-base v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
8 years ago

stylelint-config-axa-base

AXA's base StyleLint RC, extending standard stylelint config

Usage

  1. Install from @axa-ch/stylelint-config-axa-base by:

    npm i --save-dev @axa-ch/stylelint-config-axa-base
  2. Install peer dependencies of @axa-ch/stylelint-config-axa-base and stylelint-config-standard

    It requires styleint

    Install the correct versions of each package, which are listed by the command:

    npm info "@axa-ch/stylelint-config-axa-base@latest" peerDependencies
    npm info "stylelint-config-standard@latest" peerDependencies
  3. Add "exetnds": "@axa-ch/stylelint-config-axa-base" to your .stylelintrc

Plugins

This rc incorporates stylelint-order and stylelint-declaration-strict-value plugins.

stylelint-order

CSS properties are ordered and group according to the following:

  1. Positioning
  2. Box-Model
  3. Flex-Container
  4. Flex-Children
  5. Typography
  6. Visual