@netsells/stylelint-config

6.0.2 • Public • Published

Netsells Logo

Netsells Stylelint Config

This repository contains the defacto-standard stylelint configuration used on all Netsells projects, both internally and client.

Usage

Add the config to your project dependencies:

yarn add @netsells/stylelint-config

Now extend the config in your project. For example, a .stylelintrc file in your project root:

{
  "extends": "@netsells/stylelint-config"
}

With webpack

Add the stylelint-webpack-plugin to your project:

yarn add stylelint-webpack-plugin

Add the plugin to your webpack config:

const StyleLintPlugin = require('stylelint-webpack-plugin');

...

{
    plugins: [
        new StyleLintPlugin({
            configFile: './.stylelintrc',
            files: './resources/assets/**/*',
        }),
    ],
},

Readme

Keywords

none

Package Sidebar

Install

npm i @netsells/stylelint-config

Weekly Downloads

609

Version

6.0.2

License

ISC

Unpacked Size

9.05 kB

Total Files

50

Last publish

Collaborators

  • rebeccaanderton
  • samturrell
  • spamoom
  • jakub.gawron