npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@ivuorinen/stylelint-config

v1.4.2

Published

ivuorinen's shareable configuration for stylelint.

Readme

@ivuorinen/stylelint-config

npm package license MIT ivuorinen's Code Style

ivuorinen's shareable configuration for stylelint.

Table of Contents

Installation

Install this config as a devDependencies:

# npm
npm install @ivuorinen/stylelint-config --save-dev

# Yarn
yarn add @ivuorinen/stylelint-config --dev

After installing it, a .stylelintrc.json file will be created automatically in the project's root folder with the following configuration:

{
  "extends": ["@ivuorinen/stylelint-config/css"]
}

The file is only written when this package is a direct dependency of the project being installed, and never when it arrives as a transitive dependency of something else. It is also skipped when a stylelint config already exists. Every outcome is logged during install, so if no file appears the reason is in the install output.

To suppress it entirely, set IVUORINEN_STYLELINT_NO_POSTINSTALL=1. Note that npm 11 gates install scripts by default, so on a first install you may see npm warn allow-scripts instead of a config file — in that case just create the file by hand with the contents above.

Usage

This package provides configuration for CSS and SCSS, you can choose which one you want to extend.

Whitespace and formatting rules are not included — stylelint 16 removed them, and a formatter such as Prettier is the right tool for that job.

CSS (Default)

{
  "extends": ["@ivuorinen/stylelint-config/css"]
}

The bare package name is equivalent:

{
  "extends": ["@ivuorinen/stylelint-config"]
}

SCSS

{
  "extends": ["@ivuorinen/stylelint-config/scss"]
}

The SCSS config enforces two rules about @use/@forward paths that are worth calling out, because they were silently inert before stylelint-scss 7 renamed them:

| Rule | Effect | | --- | --- | | scss/load-partial-extension: 'never' | @use './tokens.scss' errors; write @use './tokens' | | scss/load-no-partial-leading-underscore: true | @use './_mixins' errors; write @use './mixins' |

Extending the config

The defined rules can be modified by adding other configurations, plugins or custom rules:

{
  "extends": ["@ivuorinen/stylelint-config/css", "some-other-config-you-use"],
  "rules": {
    "at-rule-no-unknown": [
      true,
      {
        "ignoreAtRules": ["tailwind", "apply", "screen"]
      }
    ]
  }
}

SCSS consumers should configure scss/at-rule-no-unknown instead — the SCSS entry point disables the core at-rule-no-unknown and delegates to the SCSS-aware version.

Documentations

Read the stylelint docs for more information.

Contributing

If you are interested in helping contribute, please take a look at our contribution guidelines and open an issue or pull request.

Changelog

See CHANGELOG for a human-readable history of changes.

License

Distributed under the MIT License. See LICENSE for more information.

Dependency license note

[email protected], reached transitively via stylelint, ships no license field in its package.json, so license scanners report it as UNKNOWN. Its repository states MIT. Recorded here so consumers with a license allowlist can allow it deliberately rather than treating it as an unreviewed gap. Every other package in the tree is MIT or MIT-compatible.