Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including @fuelrats/stylelint-config with all npm packages installed. Try it out:

require("stylelint/package.json"); // stylelint is a peer dependency. require("stylelint-order/package.json"); // stylelint-order is a peer dependency. require("stylelint-scss/package.json"); // stylelint-scss is a peer dependency. var stylelintConfig = require("@fuelrats/stylelint-config")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

@fuelrats/stylelint-config v1.1.0

Shareable stylelint config for FuelRats SCSS files

@fuelrats/stylelint-config

  • Base Stylelint ruleset with various other helpful plugins.
    • Assumes project uses SCSS.
    • Includes stylelint-scss for additional SCSS linting.
    • Includes stylelint-order for enforcing properly strucutred declarations.

Setup

  1. There are 2 recommended ways to install this config.
    • npx install-peerdeps @fuelrats/stylelint-config
    • or yarn add stylelint stylelint-scss stylelint-order @fuelrats/stylelint-config
  2. Add "extends": ["@fuelrats/stylelint-config"], to your .stylelintrc file.
RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free