linter-stylelint
A plugin for Atom Linter providing an interface to stylelint.
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
orstylelint.config.js
) in your project's root or upper directories.Add a
stylelint
section in yourpackage.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.