0.0.8 • Published 6 years ago
@rescripts/rescript-use-stylelint-config v0.0.8
@rescripts/rescript-use-stylelint-config
About
Use your own Stylelint configuration (Works with styles loaded via postcss-loader (CSS, SCSS, etc.) and CSS-in-JS (styled-components, emotion))
Installation
npm i -D @rescripts/rescript-use-stylelint-configUsage
From a .stylelintrc:
[["use-stylelint-config", ".stylelintrc"]]Searches for the config in your root directory.
From config file
Call use-stylelint-config with .stylelintrc.js, .stylelintrc.json, or any other file name (must have .js or .json extension).
[["use-stylelint-config", "name-your-stylelint-config-whatever.js"]]Searches for the config from your root directory and
node_modules.