Registry / testing / stylelint-config-wolox

stylelint-config-wolox

JSON →
library1.1.0jsnpmunverified

Shareable stylelint configuration used at Wolox, a software consultancy. Version 1.1.0 (released March 2021, no further updates). Provides a preset set of rules based on stylelint v13, including SCSS support via stylelint-scss. Less active than alternatives like stylelint-config-standard; primarily useful for projects following Wolox internal conventions.

npm install stylelint-config-wolox
INSTALL
IMPORT
SIG · STYLELINT-CONFIG-W
S
stylelint-config-wolox
testingjavascriptv1.1.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

default
module.exports = { extends: 'stylelint-config-wolox' }
require('stylelint-config-wolox') as plugin
Use as an extends in .stylelintrc, not as a plugin.
default
import stylelintConfigWolox from 'stylelint-config-wolox';
const stylelintConfigWolox = require('stylelint-config-wolox');
CommonJS require works, but ESM import is usable if your project supports it.
rules
import { rules } from 'stylelint-config-wolox';
const rules = require('stylelint-config-wolox/rules');
Rules are exported as a named export; no separate path.

Extends the base config in .stylelintrc.json to apply Wolox's SCSS-aware linting rules.

// .stylelintrc.json { "extends": ["stylelint-config-wolox"] }
Debug
Known issues
gotchaRequires stylelint v13.x and stylelint-scss v3.18.x. Not compatible with v14+ due to rule removals.
fix
Pin stylelint to ^13.7.0 and stylelint-scss to ^3.18.0.
affects: >=1.0.0
gotchaIncludes SCSS-specific rules; will cause errors on plain CSS without stylelint-scss installed.
fix
Install peer dependency stylelint-scss.
affects: >=1.0.0
gotchaNot compatible with stylelint v14's new rules (e.g., color-function-notation).
fix
Use stylelint-config-standard or other modern configs for stylelint v14+.
affects: >=14.0.0
Errors
Common errors & fixes
Configuration for rule "scss/at-extend-no-missing-placeholder" is invalid
Missing peer dependency stylelint-scss.
fix
npm install stylelint-scss@^3.18.0 --save-dev
Cannot find module 'stylelint-config-wolox'
Package not installed or incorrect extends path.
fix
npm install stylelint-config-wolox@1.1.0 --save-dev
Unknown rule: scss/dollar-variable-pattern
Using stylelint v14 which removed deprecated rules.
fix
Downgrade to stylelint@13 or use stylelint-config-standard-scss.
Upgrade
Version history
1.1.0latest on npm
Audit
Dependencies
stylelintrequiredPeer dependency for linting CSS/SCSS
stylelint-scssrequiredPeer dependency for SCSS-specific rules
Agent activity
5 hits · last 30 days
node
4
Resources
stylelint-config-wolox — npm install stylelint-config-wolox · libregistry