@rescripts/rescript-use-stylelint-config

0.0.8 • Public • Published

@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-config

Usage

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.

Dependencies (4)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i @rescripts/rescript-use-stylelint-config

    Weekly Downloads

    8

    Version

    0.0.8

    License

    MIT

    Unpacked Size

    4.16 kB

    Total Files

    4

    Last publish

    Collaborators

    • harrysolovay