2.0.0 • Published 7 years ago

neutrino-preset-stylelint-standard v2.0.0

Weekly downloads
2
License
GPL-3.0
Repository
github
Last release
7 years ago

Neutrino preset with Stylelint Standard configuration

NPM version NPM downloads Join Slack

neutrino-preset-stylelint-standard is a Neutrino preset that adds Stylelint support with pre-configured Standard Stylelint configuration.

Documentation

Install this preset to your development dependencies, then set it in package.json:

  "neutrino": {
    "use": [
      "neutrino-preset-stylelint-standard"
    ]
  }

The configuration will be picked up like any regular Stylelint project (see Styelint configuration documentation). For example, You can add extra rules in package.json like this:

  "stylelint": {
    rules: {
      "selector-attribute-quotes": "always"
    }
  },
  "neutrino": {
    "use": [
      "neutrino-preset-stylelint-standard"
    ]
  }

BEWARE: setting extends in the configuration will overwrite our standard config.

Neutrino 4

Neutrino v4 is supported by the earlier release of this preset. Please consider updating to Neutrino 5.