Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

stylelint-config-nikita

nikita-kit796CC0-1.05.0.0

stylelint config following the nikita (s)css coding guidelines

nikita, sass, scss, stylelint, stylelint-config, config, css, guidelines, styleguide

readme

stylelint-config-nikita

This package provides nikitas stylelint-config as an extensible shared config.

Our default export contains all of our stylelint rules. It requires stylelint and stylelint-order.

Usage

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

    npm info "stylelint-config-nikita@latest" peerDependencies

    Run command like that:

     npm install --save-dev stylelint-config-nikita stylelint@^#.#.# stylelint-order@^#.#.#
  2. Add "extends": "nikita" to your stylelint-config or reference index.js as config in your Grunt stylelint task.

Version

The version of this package equals the nikita-css version.

more

You can make sure this module lints with itself using npm run lint.

See Nikita (S)CSS Styleguide for more information.

changelog

5.0.0 (2020/09/26)

  • dropped node 8 support
  • updated all dependencies

4.0.0 (2019/09/16)

  • dropped node 6 support
  • updated all dependencies
  • removed IE conditional advice
  • changed order within declaration blocks: @inlcude-rules with a child block gets moved to bottom
  • added property all to order declaration

3.0.0 (2019/04/30)

  • removed distinction between page-blocks and blocks to reduce confusion
  • updated guidance about mixins vs. extends
  • updated guidance about comments
  • updated guidance about element naming convention
  • updated guidance about rem units
  • added guidance about Foundation CSS framework
  • updated all dependencies
  • added some new rules:
    • value-no-vendor-prefix": true
    • property-no-vendor-prefix": true
    • at-rule-no-vendor-prefix": true
    • declaration-no-important": true
    • color-named": never
    • font-weight-notation": numeric
    • max-nesting-depth": 3
    • no-duplicate-at-import-rules": true
    • no-duplicate-selectors": true
    • number-max-precision": 3
    • selector-no-qualifying-type": true
    • no-empty-first-line": true
    • declaration-block-semicolon-newline-before": never-multi-line
    • linebreaks": unix
    • max-line-length": 160
  • added touch-action to order declaration

2.0.0 (2019/02/06)

  • removed mixins and extends, these are now part of nikita-generator
  • added rem advice to styleguide
  • changed some stylelint rules
  • updated stylelint to 9.9.0
  • updated stylelint-order to 2.0.0
  • replaced stylelint-find-rules with stylelint-find-new-rules

1.0.0 (2017/10/03)

  • added stylelint-config-nikita package
  • added .gitignore file and removed bower.json
  • linted scss files with stylelint
  • updated a11y extend to a get rid of the performace intensive positioning if you use it a lot
  • updated respond-to mixin to make fallback optional
  • added .travis.yml

0.11.0

  • [BC] centering-mixin: substitute "vert" and "horiz"

0.10.1

  • added _ib.scss description

0.10.0

  • added _ib.scss

0.9.0

  • added bower.json
  • fixed typo in footer example