This package has been deprecated

Author message:

Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

@untile/stylelint-config-untile

1.0.0 • Public • Published

stylelint-config-untile

Untile-flavored stylelint config. This configuration was created for react environment using styled-components, however it can be applied in other contexts.

Installation

$ npm install stylelint @untile/stylelint-config-untile --save-dev

Usage

Create an .stylelintrc file with the following:

{
  "extends": ["@untile/stylelint-config-untile"]
}

Add the following script to your package.json:

{
  "scripts": {
    "lint-styles": "stylelint './src/**/*.js'",
  }
}

and run the linter with:

$ npm run lint-styles

Extending the config

Simply add a "rules" key to your config, then add your overrides and additions there.

{
  "extends": "@untile/stylelint-config-untile",
  "rules": {
    "your-rules-here"
  }
}

Releases

Be sure to have configured NPM_TOKEN in your globals.

npm version [<new version> | major | minor | patch] -m "Release %s"
git push origin master && git push --tags

Package Sidebar

Install

npm i @untile/stylelint-config-untile

Weekly Downloads

20

Version

1.0.0

License

MIT

Unpacked Size

29.7 kB

Total Files

14

Last publish

Collaborators

  • untile