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

Package detail

@splunk/stylelint-config

splunk_sui_publish4.4kApache-2.05.0.0

Standardized Splunk stylelint configuration

readme

@splunk/stylelint-config

A standardized stylelint config. It's designed to work well with styled-components and prettier, but can be used independently as well.

Install

Install the package and its dependencies.

  1. Install the peer dependencies:
     npm install --save-dev stylelint@^13
  2. Install the package:
     npm install --save-dev @splunk/stylelint-config

Usage

Add the package to your stylelint configuration file. If you don't have one, create stylelint.config.js in the root directory of your package.

module.exports = {
    extends: '@splunk/stylelint-config'
};