Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

@broxus/stylelint-config

Package Overview
Dependencies
Maintainers
8
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@broxus/stylelint-config

Broxus base configuration for Stylelint

latest
npmnpm
Version
1.8.0
Version published
Maintainers
8
Created
Source

Broxus Stylelint config

Recommended Stylelint configuration to create formatted code with best practices.

Installation

Install the package as development dependency, alongside stylelint package

npm i @broxus/stylelint-config stylelint -D
yarn add @broxus/stylelint-config stylelint -D
pnpm add @broxus/stylelint-config stylelint -D
bun add @broxus/stylelint-config stylelint -D

Usage

You can add the following to your .stylelintrc.js or stylelint.config.js file:

module.exports = {
    extends: [
        // ...other configs
        '@broxus/stylelint-config',
        // ...other configs
    ],
    rules: {
        // ...your own custom rules and overrides
    },
};

or create the .stylelintrc file in the root directory of your project and put code below to the file:

{
    "extends": [
        ...
        "@broxus/stylelint-config",
        ...
    ],
    "rules": {
        // ...your own custom rules and overrides
    }
}

or add code below to the package.json:

{
    ...
    "stylelint": {
        "extends": ["@broxus/stylelint-config"],
        "rules": {}
    },
    ...
}

Choose which method you prefer, but do not use them all at the same time.

Disable properties order

If you want to disable properties order, you can add the following rule to your .stylelintrc or package.json:

{
    "rules": {
        "order/properties-order": null
    }
}

Keywords

stylelint

FAQs

Package last updated on 03 Oct 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts