Nodeschool Public Materials

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

    Keywords

    none

    Install

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

    DownloadsWeekly Downloads

    72

    Version

    0.0.8

    License

    MIT

    Unpacked Size

    4.16 kB

    Total Files

    4

    Last publish

    Collaborators

    • harrysolovay