blake-newman / linter-stylelint

A plugin for Atom Linter providing an interface to stylelint.

Home Page:https://atom.io/packages/linter-stylelint

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

linter-stylelint Dependency Status

A plugin for Atom Linter providing an interface to stylelint.

demo

Installation

apm install linter-stylelint

linter-stylelint checks both .css and .scss files. (For .scss files, it automatically tells stylelint to use the right parser.)

Configuration

You can pass configuration to stylelint in any of the following ways:

  • Place a config file (.stylelintrc or stylelint.config.js) in your project's root or upper directories.

  • Add a stylelint section in your package.json.

  • In the settings, check Use standard to automatically use stylelint-config-standard

.stylelintrc is always prioritized. If you have checked Use standard in the settings and also have a .stylelintrc file, your .stylelintrc configuration will extend the preset, using stylelint's extend functionality.

License

MIT: http://1000ch.mit-license.org/

About

A plugin for Atom Linter providing an interface to stylelint.

https://atom.io/packages/linter-stylelint


Languages

Language:JavaScript 100.0%