# @archoleat/stylelint-config-extended-scss

> Shareable Stylelint configuration for SCSS with BEM naming and property ordering.

Latest version **1.11.11** (published 2026-11-09) · MIT license · 0 weekly downloads

## Install

```sh
npm install @archoleat/stylelint-config-extended-scss
pnpm add @archoleat/stylelint-config-extended-scss
yarn add @archoleat/stylelint-config-extended-scss
bun add @archoleat/stylelint-config-extended-scss
```

## Health

**Score 65/100 (B)** — status: active.

Positive: esm support; no vulnerabilities; has provenance; recently updated; high maintenance score.

Warnings: low downloads; no types.

## Facts

| | |
|---|---|
| Version | 1.11.11 |
| Published | 2026-11-09 |
| First published | 2024-02-06 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | ESM |
| Dependencies | 13 |
| Unpacked size | 36.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Provenance | attested (GitHub Actions) |
| GitHub stars | 0 |
| Author | Archoleat |
| Maintainers | nikkeyl |
| Keywords | archoleat, bem, linting, scss, stylelint, stylelint-config |

## Links

- npm: https://www.npmjs.com/package/@archoleat/stylelint-config-extended-scss
- Repository: https://github.com/archoleat/stylelint-config-extended-scss
- Homepage: https://github.com/archoleat/stylelint-config-extended-scss#readme
- Issues: https://github.com/archoleat/stylelint-config-extended-scss/issues
- npm.io page: https://npm.io/package/@archoleat/stylelint-config-extended-scss

## Dependencies (13)

- [prettier](https://npm.io/package/prettier.md) ^3.9.4
- [stylelint](https://npm.io/package/stylelint.md) ^17.14.0
- [stylelint-gamut](https://npm.io/package/stylelint-gamut.md) ^2.0.1
- [stylelint-order](https://npm.io/package/stylelint-order.md) ^8.1.1
- [@archoleat/reglib](https://npm.io/package/@archoleat/reglib.md) ^1.10.1
- [stylelint-prettier](https://npm.io/package/stylelint-prettier.md) ^5.0.3
- [stylelint-rem-over-px](https://npm.io/package/stylelint-rem-over-px.md) ^2.0.0
- [stylelint-group-selectors](https://npm.io/package/stylelint-group-selectors.md) ^1.0.10
- [stylelint-plugin-logical-css](https://npm.io/package/stylelint-plugin-logical-css.md) ^2.1.0
- [stylelint-config-standard-scss](https://npm.io/package/stylelint-config-standard-scss.md) ^17.0.0
- [stylelint-plugin-defensive-css](https://npm.io/package/stylelint-plugin-defensive-css.md) ^2.9.3
- [stylelint-high-performance-animation](https://npm.io/package/stylelint-high-performance-animation.md) ^2.0.0
- [stylelint-declaration-block-no-ignored-properties](https://npm.io/package/stylelint-declaration-block-no-ignored-properties.md) ^3.0.0

## Alternatives

- [jsforce](https://npm.io/package/jsforce.md) — 851.2K weekly downloads
- [react-native-qrcode-svg](https://npm.io/package/react-native-qrcode-svg.md) — 693.5K weekly downloads
- [@salesforce/plugin-data](https://npm.io/package/@salesforce/plugin-data.md) — 394.9K weekly downloads
- [@backstage/plugin-search-common](https://npm.io/package/@backstage/plugin-search-common.md) — 308.5K weekly downloads
- [@chain-registry/types](https://npm.io/package/@chain-registry/types.md) — 38.4K weekly downloads

## Recent versions

- 1.11.11 (latest) — 2026-11-09
- 1.11.10 — 2026-11-09
- 1.11.9 — 2026-11-09
- 1.11.8 — 2026-11-09
- 1.11.7 — 2026-11-08
- 1.11.6 — 2026-09-18
- 1.11.5 — 2026-09-15
- 1.11.4 — 2026-07-01
- 1.11.3 — 2025-09-07
- 1.11.2 — 2025-08-17
- 1.11.1 — 2025-03-11
- 1.11.0 — 2025-01-15
- 1.10.12 — 2025-01-15
- 1.10.11 — 2025-01-14
- 1.10.10 — 2025-01-14
- … 54 more at https://npm.io/package/@archoleat/stylelint-config-extended-scss/versions

## README

# Stylelint Config Extended SCSS

![NPM Version](https://img.shields.io/npm/v/%40archoleat%2Fstylelint-config-extended-scss)
![NPM Downloads](https://img.shields.io/npm/dm/%40archoleat%2Fstylelint-config-extended-scss)
![Specs](https://img.shields.io/github/actions/workflow/status/archoleat/stylelint-config-extended-scss/spec.yaml?label=Specs)
![Commitlint](https://img.shields.io/github/actions/workflow/status/archoleat/stylelint-config-extended-scss/commitlint.yaml?label=Commitlint)
![Editorconfig](https://img.shields.io/github/actions/workflow/status/archoleat/stylelint-config-extended-scss/editorconfig.yaml?label=Editorconfig)
![Prettier](https://img.shields.io/github/actions/workflow/status/archoleat/stylelint-config-extended-scss/prettier.yaml?label=Prettier)
![ESLint](https://img.shields.io/github/actions/workflow/status/archoleat/stylelint-config-extended-scss/eslint.yaml?label=ESLint)
![Remark](https://img.shields.io/github/actions/workflow/status/archoleat/stylelint-config-extended-scss/remark.yaml?label=Remark)

## Table of Contents

- [Installation](#installation)
- [Runtime](#runtime)
- [Usage](#usage)
- [Policy and Overrides](#policy-and-overrides)
- [This Config](#this-config)
- [Contributing](#contributing)
- [License](#license)

Extended shareable config for Stylelint with property sorting.

## Installation

```shell
bun i -D @archoleat/stylelint-config-extended-scss stylelint-define-config
```

Requires Stylelint 17.14.0 or later within version 17.
Stylelint 15 and 16 are not supported by the current dependencies.

## Runtime

This is an ES module loaded by Stylelint in Node.js. Follow the Node.js
requirements of the installed Stylelint and plugins. Bun is used for
repository tooling, not required to load the published configuration.

## Usage

Add the following code to the `stylelint.config.ts` or `stylelint.config.js`
file:

```js
import { defineConfig } from 'stylelint-define-config';

export default defineConfig({
  extends: '@archoleat/stylelint-config-extended-scss',
});
```

## Policy and Overrides

This is an opinionated team policy. BEM class names, logical properties, rem
units, nesting limits, and the `!important` restriction are defaults, not
universal requirements for every project. Keep the rules that match your
codebase and override individual rules in the consuming configuration:

```js
export default {
  extends: '@archoleat/stylelint-config-extended-scss',
  rules: {
    'declaration-no-important': null,
    'selector-class-pattern': null,
    'rem-over-px/rem-over-px': null,
  },
};
```

Prefer a local, explained disable comment for a one-off exception. A project
that uses CSS Modules or utility classes may need a different naming rule.

The configuration loads Prettier and several plugins. This adds installation
and lint time compared with the base SCSS config; rule checks are not a
measurement of the application's runtime performance. Measure cold and warm
Stylelint runs on representative files before adopting it as a required
team check. Compare against `stylelint-config-standard-scss` on the same
files and environment; timings are specific to that workload.

## This Config

### Extends

- Extends the [`stylelint-config-standard-scss` shared config](https://github.com/stylelint-scss/stylelint-config-standard-scss)
  and configures it's rules for **SCSS**.

- [`stylelint-prettier/recommended`](https://github.com/prettier/stylelint-prettier):
  Runs **Prettier** to format **SCSS** code.

### Plugins

- [`stylelint-declaration-block-no-ignored-properties`](https://github.com/kristerkari/stylelint-declaration-block-no-ignored-properties):
  Disallow property values that are ignored due to another
  property value in the same rule.

- [`stylelint-gamut`](https://github.com/fpetrakov/stylelint-gamut):
  Throw warning if color goes out of **sRGB**
  color space and is not wrapped in `@media (color-gamut: p3) {}`
  or `@media (color-gamut: rec2020) {}`

- [`stylelint-group-selectors`](https://github.com/ssivanatarajan/stylelint-group-selectors):
  Identify the selectors, which can be grouped,
  as they have same set of properties and values.

- [`stylelint-high-performance-animation`](https://github.com/kristerkari/stylelint-high-performance-animation):
  Flags animation properties that may cause layout or paint work.

- [`stylelint-order`](https://github.com/hudochenkov/stylelint-order):
  Sorts **over 400 properties** for enhanced clarity and maintainability.

  > Properties are logically grouped and separated by a space.
  > A space between groups will only appear if the group
  > has 3 or more properties.

- [`stylelint-plugin-defensive-css`](https://github.com/yuschick/stylelint-plugin-defensive-css):
  Enforcing defensive **CSS** best practices.

- [`stylelint-plugin-logical-css`](https://github.com/yuschick/stylelint-plugin-logical-css):
  Replace properties with logical alternatives.

- [`stylelint-rem-over-px`](https://github.com/a-tokyo/stylelint-rem-over-px):
  Enforce the usage of rem units over px units.

  > Declaring the rule with default values is equivalent to:
  ```json
    "rem-over-px/rem-over-px": [
      true,
      {
        "ignore": "1px",
        "ignoreFunctions": ["url"],
        "ignoreAtRules": ["media"],
        "fontSize": 16
      }
    ],
  ```

### Rules

This is a list of the lints turned on in this configuration.

#### CSS

##### At-rule

- [`at-rule-disallowed-list`](https://stylelint.io/user-guide/rules/at-rule-disallowed-list):
  Rule enabled.
  - Disallow the use of `@debug`.

- [`at-rule-empty-line-before`](https://stylelint.io/user-guide/rules/at-rule-empty-line-before):
  Rule enabled.

##### Case

- [`value-keyword-case`](https://stylelint.io/user-guide/rules/value-keyword-case):
  Rule enabled.

  > Ignore: `text-rendering`.

##### Color

- [`color-named`](https://stylelint.io/user-guide/rules/color-named):
  Rule disabled.

##### Declaration

- [`declaration-no-important`](https://stylelint.io/user-guide/rules/declaration-no-important):
  Rule enabled.

- [`declaration-empty-line-before`](https://stylelint.io/user-guide/rules/declaration-empty-line-before):
  Rule enabled.

##### Descending

- [`no-descending-specificity`](https://stylelint.io/user-guide/rules/no-descending-specificity):
  Rule disabled.

##### Function

- [`function-url-no-scheme-relative`](https://stylelint.io/user-guide/rules/function-url-no-scheme-relative):
  Rule enabled.

##### Max & Min

- [`max-nesting-depth`](https://stylelint.io/user-guide/rules/max-nesting-depth):
  `3`.

  > Ignore: `blockless-at-rules`.

- [`selector-max-combinators`](https://stylelint.io/user-guide/rules/selector-max-combinators):
  `4`.

- [`selector-max-compound-selectors`](https://stylelint.io/user-guide/rules/selector-max-compound-selectors):
  `3`.

- [`selector-max-universal`](https://stylelint.io/user-guide/rules/selector-max-universal):
  `1`.

##### Notation

- [`font-weight-notation`](https://stylelint.io/user-guide/rules/font-weight-notation):
  Numeric.

- [`keyframe-selector-notation`](https://stylelint.io/user-guide/rules/keyframe-selector-notation):
  Percentage.

##### Pattern

- [`selector-class-pattern`](https://stylelint.io/user-guide/rules/selector-class-pattern):
  **BEM** naming convention.

##### Selector

- [`selector-no-qualifying-type`](https://stylelint.io/user-guide/rules/selector-no-qualifying-type):
  Rule enabled.

##### Unknown

- [`media-feature-name-value-no-unknown`](https://stylelint.io/user-guide/rules/media-feature-name-value-no-unknown):
  Rule enabled.

- [`no-unknown-animations`](https://stylelint.io/user-guide/rules/no-unknown-animations):
  Rule enabled.

#### SCSS

##### SCSS At-rule

- [`scss/at-each-key-value-single-line`](https://github.com/stylelint-scss/stylelint-scss/tree/master/src/rules/at-each-key-value-single-line):
  Rule enabled.

- [`scss/at-root-no-redundant`](https://github.com/stylelint-scss/stylelint-scss/tree/master/src/rules/at-root-no-redundant):
  Rule enabled.

- [`scss/at-use-no-redundant-alias`](https://github.com/stylelint-scss/stylelint-scss/tree/master/src/rules/at-use-no-redundant-alias):
  Rule enabled.

##### Comment

- [`scss/comment-no-loud`](https://github.com/stylelint-scss/stylelint-scss/tree/master/src/rules/comment-no-loud):
  Rule enabled.

- [`scss/double-slash-comment-inline`](https://github.com/stylelint-scss/stylelint-scss/tree/master/src/rules/double-slash-comment-inline):
  Rule disabled.

##### SCSS Declaration

- [`scss/declaration-nested-properties`](https://github.com/stylelint-scss/stylelint-scss/tree/master/src/rules/declaration-nested-properties):
  Rule disabled.

- [`scss/dimension-no-non-numeric-values`](https://github.com/stylelint-scss/stylelint-scss/tree/master/src/rules/dimension-no-non-numeric-values):
  Rule enabled.

##### Dollar Variable

- [`scss/dollar-variable-empty-line-after`](https://github.com/stylelint-scss/stylelint-scss/tree/master/src/rules/dollar-variable-empty-line-after):
  Rule enabled.

  > Expect: `last-nested`, `before-comment`, `before-dollar-variable`.
  >
  > Ignore: `before-comment`, `inside-single-line-block`.

- [`scss/dollar-variable-colon-newline-after`](https://github.com/stylelint-scss/stylelint-scss/tree/master/src/rules/dollar-variable-colon-newline-after):
  Rule enabled.

- [`scss/dollar-variable-no-namespaced-assignment`](https://github.com/stylelint-scss/stylelint-scss/tree/master/src/rules/dollar-variable-no-namespaced-assignment):
  Rule enabled.

- [`scss/no-duplicate-dollar-variables`](https://github.com/stylelint-scss/stylelint-scss/tree/master/src/rules/no-duplicate-dollar-variables):
  Rule enabled.

- [`scss/no-global-function-names`](https://github.com/stylelint-scss/stylelint-scss/tree/master/src/rules/no-global-function-names):
  Rule disabled.

##### SCSS Function

- [`scss/function-color-relative`](https://github.com/stylelint-scss/stylelint-scss/tree/master/src/rules/function-color-relative):
  Rule enabled.

  - `darken()`
  - `desaturate()`
  - `fade-in()`
  - `fade-out()`
  - `lighten()`
  - `opacify()`
  - `saturate()`
  - `transparentize()`

##### Import

- [`scss/partial-no-import`](https://github.com/stylelint-scss/stylelint-scss/tree/master/src/rules/partial-no-import):
  Rule enabled.

##### Maps

- [`scss/map-keys-quotes`](https://github.com/stylelint-scss/stylelint-scss/tree/master/src/rules/map-keys-quotes):
  Rule enabled.

##### Media

- [`scss/media-feature-value-dollar-variable`](https://github.com/stylelint-scss/stylelint-scss/tree/master/src/rules/media-feature-value-dollar-variable):
  Rule enabled.

##### SCSS Selector

- [`scss/selector-no-redundant-nesting-selector`](https://github.com/stylelint-scss/stylelint-scss/tree/master/src/rules/selector-no-redundant-nesting-selector):
  Rule enabled.

##### SCSS Unknown

- [`scss/property-no-unknown`](https://github.com/stylelint-scss/stylelint-scss/tree/master/src/rules/property-no-unknown):
  Rule enabled.

## Contributing

Please read [**CONTRIBUTING**](https://github.com/archoleat/.github/blob/main/CONTRIBUTING.md)
to start contributing.

## License

This project is licensed under the [**MIT license**](LICENSE).

---
_Source: https://npm.io/package/@archoleat/stylelint-config-extended-scss · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
