@axa-ch/stylelint-config-axa-base

1.0.0 • Public • Published

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
  1. 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
  1. 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

Package Sidebar

Install

npm i @axa-ch/stylelint-config-axa-base

Weekly Downloads

2

Version

1.0.0

License

MIT

Last publish

Collaborators

  • axa-ch-user