CSS (@hint/parser-css
)
The CSS
parser is built on top of PostCSS so hints can
analyze CSS
files.
To use it you will have to install it via npm
:
npm install @hint/parser-css
Note: You can make npm
install it as a devDependency
using the
--save-dev
parameter, or to install it globally, you can use the
-g
parameter. For other options see npm
's
documentation.
And then activate it via the .hintrc
configuration file:
{
"connector": {...},
"formatters": [...],
"hints": {
...
},
"parsers": ["css"],
...
}
Events emitted
This parser
emits the following events: