stylelint breaking changes
Updated December 4, 2026
On this page
Latest version 18.2.0, released December 2, 2026. Source repository
Its 17.0.0 release requires Node.js 20.19.0 or later. Node.js end of life dates.
- From 17.15.0 to 18.0.0: 27 breaking changes in 1 version.
- From 0.7.0 to 18.0.0: 556 breaking changes in 45 versions.
stylelint 18.0.0 breaking changes
- Removed
extends and plugins packages are no longer found in npm's global node_modules; install them locally. github.com - Removed
Config locators such as extends and plugins must now use full file paths, for example ./index.js instead of ./. github.com - Removed
Node.js versions below 22.22.2, 24.15.0 and 26.0.0 are no longer supported, including 20.x, 23.x and 25.x. Update Node.js to a supported version. github.com - Removed
CoreRules.declaration-block-single-line-max-declarations
Remove the rule from your config, or use the community stylistic plugin version instead. npmjs.com - Removed
declaration-property-value-no-unknown.propertiesSyntax
Move the syntax definitions to the languageOptions configuration property. github.com - Removed
declaration-property-value-no-unknown.typesSyntax
Move the syntax definitions to the languageOptions configuration property. github.com - Removed
RuleContext.fix
Pass a fix callback to the report utility instead and set meta.fixable to true on the rule. npmjs.com - Removed
selector-max-specificity.ignoreSelectors
Remove the option from your config; the rule now gives :global() and :local() no specificity of their own. github.com - Behavior changed
Built-in formatters no longer read --color or --no-color from process arguments; pass the color option or set FORCE_COLOR in CI. github.com - Behavior changed
The string and verbose formatters now add hyperlinks in any terminal except in CI or on Windows outside Windows Terminal. github.com - Behavior changed
declaration-property-value-no-unknown
Checks for unparseable values and invalid math moved to value-no-invalid; turn that rule on to keep reporting them. github.com - Behavior changed
function-no-unknown
Known functions are now taken from the CSSTree Syntax Reference, and vendor-prefixed functions are ignored, so results can differ. github.com - Configuration changed
Some flag spellings are rejected: use full flags instead of aliases, kebab-case instead of camelCase, and --fix=value rather than a space. github.com - Configuration changed
The typescript package is no longer used; use import type for type-only imports and avoid enum and namespace. github.com - Configuration changed
globbyOptions
Only braceExpansion, caseSensitiveMatch, dot, extglob, followSymbolicLinks and ignore still work; replace cwd and gitignore with the cwd and ignorePath options. github.com - Signature changed
CoreRules
Was type CoreRules = {'alpha-value-notation': CoreRule<'number' | 'percentage', {exceptProperties: OneOrMany<StringOrRegex>}, AutofixMessage>; 'annotation-no-unknown': CoreRule<true, {ignoreAnnotations: OneOrMany<StringOrRegex>}... npmjs.com - Signature changed
CoreRules.declaration-property-value-no-unknown
Was 'declaration-property-value-no-unknown': CoreRule<true, {ignoreProperties: Record<string, OneOrMany<StringOrRegex>>; propertiesSyntax: Record<string, string>; typesSyntax: Record<string, string>;}, RejectedMessage<[property: string... npmjs.com - Signature changed
CoreRules.property-layout-mappings
Was 'property-layout-mappings': CoreRule<'flow-relative' | 'physical', {ignoreProperties: OneOrMany<StringOrRegex>}, ExpectedMessage<[unfixed: string, fixed: string]> & RejectedMessage<[type: string, property: string]>>; now... npmjs.com - Signature changed
CoreRules.selector-max-specificity
Was 'selector-max-specificity': CoreRule<string, {ignoreSelectors: OneOrMany<StringOrRegex>}, ExpectedMessage<[selector: string, specificity: string, selector: string]>>; now 'selector-max-specificity': CoreRule<string, {}... npmjs.com - Signature changed
InternalApi
Was type InternalApi = {_options: LinterOptions & {cwd: string}; _extendExplorer: ReturnType<typeof cosmiconfig>; _configExplorer: ReturnType<typeof cosmiconfig>; _specifiedConfigCache: Map<Config, Map<string, CosmiconfigResult>>... npmjs.com - Signature changed
InternalApi._postcssResultCache
Was _postcssResultCache: Map<string, PostCSS.Result>; now _postcssResultCache: Map<string, {result: PostCSS.Result; code: string}>. npmjs.com - Signature changed
LinterOptions
Was type LinterOptions = {abortSignal?: AbortSignal; files?: OneOrMany<string>; globbyOptions?: GlobbyOptions; cache?: boolean; cacheLocation?: string; cacheStrategy?: string; code?: string; codeFilename?: string; config?: Config... npmjs.com - Signature changed
LinterResult
Was type LinterResult = {cwd: string; results: LintResult[]; errored: boolean; report: string; code?: string; maxWarningsExceeded?: {maxWarnings: number; foundWarnings: number;}; reportedDisables: DisableOptionsReport... npmjs.com - Signature changed
PublicApi
Was type PublicApi = PostCSS.PluginCreator<PostcssPluginOptions> & {lint: (options: LinterOptions) => Promise<LinterResult>; rules: {readonly [name in keyof CoreRules]: Promise<CoreRules[name]>}; formatters: Formatters; createPlugin... npmjs.com - Signature changed
RuleContext
Was type RuleContext = {configurationComment?: string | undefined; fix?: boolean | undefined; newline?: string | undefined;}; now type RuleContext = {configurationComment?: string | undefined; newline?: string | undefined;}. npmjs.com - Signature changed
ShorthandProperties
Was type ShorthandProperties = | 'animation' | 'background' | 'border' | 'border-block' | 'border-block-end' | 'border-block-start' | 'border-inline' | 'border-inline-end' | 'border-inline-start' | 'border-bottom' | 'border-color' |... npmjs.com - Signature changed
StylelintPostcssResult
Was type StylelintPostcssResult = {ruleSeverities: {[ruleName: string]: RuleSeverity}; customMessages: {[ruleName: string]: RuleMessage}; customUrls: {[ruleName: string]: string}; ruleMetadata: {[ruleName: string]: Partial<RuleMeta>}... npmjs.com
stylelint 17.15.0 breaking changes
- Signature changed
CoreRules
Was type CoreRules = {'alpha-value-notation': CoreRule<'number' | 'percentage', {exceptProperties: OneOrMany<StringOrRegex>}, AutofixMessage>; 'annotation-no-unknown': CoreRule<true, {ignoreAnnotations: OneOrMany<StringOrRegex>}... npmjs.com - Signature changed
CoreRules.color-named
Was 'color-named': CoreRule<'never' | 'always-where-possible', {ignoreProperties: OneOrMany<StringOrRegex>; ignore: OneOrMany<'inside-function'>}, AutofixMessage & RejectedMessage<[keyword: string]>>; now 'color-named': CoreRule<'never' |... npmjs.com - Signature changed
CoreRules.color-no-hex
Was 'color-no-hex': CoreRule<true, {}, RejectedMessage<[hex: string]>>; now 'color-no-hex': CoreRule<true, {ignoreFunctions: OneOrMany<StringOrRegex>}, RejectedMessage<[hex: string]>>. npmjs.com
stylelint 17.14.1 breaking changes
- Signature changed
ConfigReferenceFiles
Was type ConfigReferenceFiles = | string | ConfigReferenceFilesEntry | (string | ConfigReferenceFilesEntry)[]; now type ConfigReferenceFiles = string | ConfigReferenceFilesEntry | (string | ConfigReferenceFilesEntry)[]. npmjs.com - Signature changed
ConfigRuleSettings
Was type ConfigRuleSettings<T, O extends Object> = | null | undefined | NonNullable<T> | [NonNullable<T>] | [NonNullable<T>, O]; now type ConfigRuleSettings<T, O extends Object> = null | undefined | NonNullable<T> | [NonNullable<T>] |... npmjs.com - Signature changed
CosmiconfigResult
Was type CosmiconfigResult = | (ReturnType<CosmiconfigTransformSync> & {config: Config}) | null; now type CosmiconfigResult = (ReturnType<CosmiconfigTransformSync> & {config: Config}) | null. npmjs.com - Signature changed
Directionality
Was type Directionality = | 'top-to-bottom' | 'bottom-to-top' | 'left-to-right' | 'right-to-left'; now type Directionality = 'top-to-bottom' | 'bottom-to-top' | 'left-to-right' | 'right-to-left'. npmjs.com - Signature changed
Plugin
Was type Plugin = | {default?: {ruleName: string; rule: Rule}} | {ruleName: string; rule: Rule}; now type Plugin = {default?: {ruleName: string; rule: Rule}} | {ruleName: string; rule: Rule}. npmjs.com - Signature changed
RuleOptions
Was type RuleOptions = {actual: unknown; possible?: | RuleOptionsPossibleFunc | RuleOptionsPossible[] | Record<string, RuleOptionsPossible[]>; optional?: boolean;}; now type RuleOptions = {actual: unknown; possible?... npmjs.com - Signature changed
RuleOptions.possible
Was possible?: | RuleOptionsPossibleFunc | RuleOptionsPossible[] | Record<string, RuleOptionsPossible[]>; now possible?: RuleOptionsPossibleFunc | RuleOptionsPossible[] | Record<string, RuleOptionsPossible[]>. npmjs.com
stylelint 17.11.0 breaking changes
- Signature changed
Config
Was type Config = {extends?: ConfigExtends; plugins?: ConfigPlugins; _pluginFunctions?: {[pluginName: string]: Rule;}; ignoreFiles?: ConfigIgnoreFiles; rules?: ConfigRules; quiet?: boolean; formatter?: FormatterType | Formatter... npmjs.com - Signature changed
Config._resolvedReferenceFiles
Was _resolvedReferenceFiles?: Array<{files: string[]; customSyntax?: PostCSS.Syntax}>; now _resolvedReferenceFiles?: Array<{files: string[]; customSyntax?: PostCSS.Syntax; loader?: PostCSS.Plugin | PostCSS.PluginCreator<any>;}>. npmjs.com - Signature changed
ConfigReferenceFilesEntry
Was type ConfigReferenceFilesEntry = {files: string | string[]; customSyntax?: CustomSyntax;}; now type ConfigReferenceFilesEntry = {files: string | string[]; customSyntax?: CustomSyntax; loader?: Loader;}. npmjs.com - Signature changed
LintResult
Was type LintResult = {source?: string; deprecations: {text: string; reference?: string;}[]; invalidOptionWarnings: {text: string;}[]; parseErrors: (PostCSS.Warning & {stylelintType: Extract<StylelintWarningType, 'parseError'>;})[]... npmjs.com - Signature changed
StylelintPostcssResult
Was type StylelintPostcssResult = {ruleSeverities: {[ruleName: string]: RuleSeverity}; customMessages: {[ruleName: string]: RuleMessage}; customUrls: {[ruleName: string]: string}; ruleMetadata: {[ruleName: string]: Partial<RuleMeta>}... npmjs.com
stylelint 17.10.0 breaking changes
- Signature changed
CoreRules
Was type CoreRules = {'alpha-value-notation': CoreRule<'number' | 'percentage', {exceptProperties: OneOrMany<StringOrRegex>}, AutofixMessage>; 'annotation-no-unknown': CoreRule<true, {ignoreAnnotations: OneOrMany<StringOrRegex>}... npmjs.com - Signature changed
LanguageOptions
Was type LanguageOptions = {syntax?: {atRules?: Record<string, {comment?: string; prelude?: string; descriptors?: Record<string, string>;}>; cssWideKeywords?: string[]; properties?: Record<string, string>; types?: Record<string, string>... npmjs.com - Signature changed
LanguageOptions.directionality
Was directionality?: {block?: 'top-to-bottom' | 'bottom-to-top' | 'left-to-right' | 'right-to-left'; inline?: 'left-to-right' | 'right-to-left' | 'top-to-bottom' | 'bottom-to-top';}; now directionality?: {block?: Directionality; inline?... npmjs.com - Signature changed
LanguageOptions.directionality.block
Was block?: 'top-to-bottom' | 'bottom-to-top' | 'left-to-right' | 'right-to-left'; now block?: Directionality. npmjs.com - Signature changed
LanguageOptions.directionality.inline
Was inline?: 'left-to-right' | 'right-to-left' | 'top-to-bottom' | 'bottom-to-top'; now inline?: Directionality. npmjs.com
stylelint 17.9.1 breaking changes
- Behavior changed
Stylelint now uses SHA256 instead of MD5 for its cache hashing; cache files will be regenerated as a result. github.com
Older versions
40 older versions, each with its first changes. Sign up to see every change
Show 40 older versions
stylelint 17.9.0 breaking changes
- Signature changed
Config
Was type Config = {extends?: ConfigExtends; plugins?: ConfigPlugins; _pluginFunctions?: {[pluginName: string]: Rule;}; ignoreFiles?: ConfigIgnoreFiles; rules?: ConfigRules; quiet?: boolean; formatter?: FormatterType | Formatter... npmjs.com - Signature changed
GetLintSourceOptions
Was type GetLintSourceOptions = GetPostcssOptions & {existingPostcssResult?: PostCSS.Result; cache?: boolean;}; now type GetLintSourceOptions = GetPostcssOptions & {existingPostcssResult?: PostCSS.Result; cache?: boolean; abortSignal?... npmjs.com
And 5 more in this version.
stylelint 17.8.0 breaking changes
- Signature changed
CoreRules
Was type CoreRules = {'alpha-value-notation': CoreRule<'number' | 'percentage', {exceptProperties: OneOrMany<StringOrRegex>}, AutofixMessage>; 'annotation-no-unknown': CoreRule<true, {ignoreAnnotations: OneOrMany<StringOrRegex>}... npmjs.com - Signature changed
LanguageOptions
Was type LanguageOptions = {syntax?: {atRules?: Record<string, {comment?: string; prelude?: string; descriptors?: Record<string, string>;}>; cssWideKeywords?: string[]; properties?: Record<string, string>; types?: Record<string, string>... npmjs.com
stylelint 17.7.0 breaking changes
- Removed
Config.ignorePatterns
Config.ignorePatterns was removed in stylelint 17.7.0 npmjs.com - Removed
Config.pluginFunctions
Config.pluginFunctions was removed in stylelint 17.7.0 npmjs.com
And 1 more in this version.
stylelint 17.6.0 breaking changes
- Signature changed
LanguageOptions
Was type LanguageOptions = {syntax?: {atRules?: Record<string, {comment?: string; prelude?: string; descriptors?: Record<string, string>;}>; cssWideKeywords?: string[]; properties?: Record<string, string>; types?: Record<string... npmjs.com - Signature changed
LanguageOptions.syntax
Was syntax?: {atRules?: Record<string, {comment?: string; prelude?: string; descriptors?: Record<string, string>;}>; cssWideKeywords?: string[]; properties?: Record<string, string>; types?: Record<string, string>;}; now syntax?: {atRules?... npmjs.com
stylelint 17.5.0 breaking changes
- Signature changed
CoreRules
Was type CoreRules = {'alpha-value-notation': CoreRule<'number' | 'percentage', {exceptProperties: OneOrMany<StringOrRegex>}, AutofixMessage>; 'annotation-no-unknown': CoreRule<true, {ignoreAnnotations: OneOrMany<StringOrRegex>}... npmjs.com - Signature changed
CoreRules.media-feature-name-value-no-unknown
Was 'media-feature-name-value-no-unknown': CoreRule<true, {}, RejectedMessage<[name: string, value: string]>>; now 'media-feature-name-value-no-unknown': CoreRule<true, {ignoreMediaFeatureNameValues: Record<string, OneOrMany<string |... npmjs.com
And 2 more in this version.
stylelint 17.4.0 breaking changes
- Signature changed
CoreRules
Was type CoreRules = {'alpha-value-notation': CoreRule<'number' | 'percentage', {exceptProperties: OneOrMany<StringOrRegex>}, AutofixMessage>; 'annotation-no-unknown': CoreRule<true, {ignoreAnnotations: OneOrMany<StringOrRegex>}... npmjs.com - Signature changed
CoreRules.at-rule-no-vendor-prefix
Was 'at-rule-no-vendor-prefix': CoreRule<true, {}, RejectedMessage<[atRule: string]>>; now 'at-rule-no-vendor-prefix': CoreRule<true, {ignoreAtRules: OneOrMany<StringOrRegex>}, RejectedMessage<[property: string]>>. npmjs.com
And 1 more in this version.
stylelint 17.3.0 breaking changes
- Removed
RuleContext.lexer
RuleContext.lexer was removed in stylelint 17.3.0 npmjs.com - Signature changed
RuleContext
Was type RuleContext = {configurationComment?: string | undefined; fix?: boolean | undefined; newline?: string | undefined; lexer?: unknown | undefined;}; now type RuleContext = {configurationComment?: string | undefined; fix?: boolean |... npmjs.com
And 1 more in this version.
stylelint 17.2.0 breaking changes
- Signature changed
CoreRules
Was type CoreRules = {'alpha-value-notation': CoreRule<'number' | 'percentage', {exceptProperties: OneOrMany<StringOrRegex>}, AutofixMessage>; 'annotation-no-unknown': CoreRule<true, {ignoreAnnotations: OneOrMany<StringOrRegex>}... npmjs.com - Signature changed
CoreRules.declaration-property-value-no-unknown
Was 'declaration-property-value-no-unknown': CoreRule<true, {ignoreProperties: Record<string, OneOrMany<StringOrRegex>>; propertiesSyntax: Record<string, string>; typesSyntax: Record<string, string>;}, RejectedMessage<[property: string... npmjs.com
And 1 more in this version.
stylelint 17.1.0 breaking changes
- Signature changed
CoreRules
Was type CoreRules = {'alpha-value-notation': CoreRule<'number' | 'percentage', {exceptProperties: OneOrMany<StringOrRegex>}, AutofixMessage>; 'annotation-no-unknown': CoreRule<true, {ignoreAnnotations: OneOrMany<StringOrRegex>}... npmjs.com
stylelint 17.0.0 breaking changes
- Removed
Update Node.js to 20.19.0 or later before upgrading. github.com - Removed
Use ESM and full paths for config locators and plugins instead of the removed CommonJS API. github.com
And 131 more in this version.
stylelint 16.25.0 breaking changes
- Signature changed
CoreRules
Was type CoreRules = {'alpha-value-notation': CoreRule<'number' | 'percentage', {exceptProperties: OneOrMany<StringOrRegex>}, AutofixMessage>; 'annotation-no-unknown': CoreRule<true, {ignoreAnnotations: OneOrMany<StringOrRegex>}... npmjs.com - Signature changed
CoreRules.no-invalid-position-declaration
Was 'no-invalid-position-declaration': CoreRule<true>; now 'no-invalid-position-declaration': CoreRule<true, {ignoreAtRules: OneOrMany<StringOrRegex>}>. npmjs.com
And 1 more in this version.
stylelint 16.24.0 breaking changes
- Signature changed
CoreRules
Was type CoreRules = {'alpha-value-notation': CoreRule<'number' | 'percentage', {exceptProperties: OneOrMany<StringOrRegex>}, AutofixMessage>; 'annotation-no-unknown': CoreRule<true, {ignoreAnnotations: OneOrMany<StringOrRegex>}... npmjs.com - Signature changed
CoreRules.nesting-selector-no-missing-scoping-root
Was 'nesting-selector-no-missing-scoping-root': CoreRule<true>; now 'nesting-selector-no-missing-scoping-root': CoreRule<true, {ignoreAtRules: OneOrMany<StringOrRegex>}>. npmjs.com
stylelint 16.23.0 breaking changes
- Signature changed
CoreRules
Was type CoreRules = {'alpha-value-notation': CoreRule<'number' | 'percentage', {exceptProperties: OneOrMany<StringOrRegex>}, AutofixMessage>; 'annotation-no-unknown': CoreRule<true, {ignoreAnnotations: OneOrMany<StringOrRegex>}... npmjs.com - Signature changed
CoreRules.media-feature-range-notation
Was 'media-feature-range-notation': NotationRule<'prefix' | 'context'>; now 'media-feature-range-notation': NotationRule<'prefix' | 'context', {except: OneOrMany<'exact-value'>}>. npmjs.com
stylelint 16.22.0 breaking changes
- Signature changed
CoreRules
Was type CoreRules = {'alpha-value-notation': CoreRule<'number' | 'percentage', {exceptProperties: OneOrMany<StringOrRegex>}, AutofixMessage>; 'annotation-no-unknown': CoreRule<true, {ignoreAnnotations: OneOrMany<StringOrRegex>}>... npmjs.com - Signature changed
CoreRules.annotation-no-unknown
Was 'annotation-no-unknown': CoreRule<true, {ignoreAnnotations: OneOrMany<StringOrRegex>}>; now 'annotation-no-unknown': CoreRule<true, {ignoreAnnotations: OneOrMany<StringOrRegex>}, RejectedMessage<[annotation: string]>>. npmjs.com
And 101 more in this version.
stylelint 16.21.0 breaking changes
- Signature changed
CoreRules
Was type CoreRules = {'alpha-value-notation': CoreRule<'number' | 'percentage', {exceptProperties: OneOrMany<StringOrRegex>}, AutofixMessage>; 'annotation-no-unknown': CoreRule<true, {ignoreAnnotations: OneOrMany<StringOrRegex>}>... npmjs.com - Signature changed
CoreRules.custom-property-empty-line-before
Was 'custom-property-empty-line-before': CoreRule<'always' | 'never', {except: OneOrMany<'first-nested' | 'after-comment' | 'after-custom-property'>; ignore: OneOrMany<'after-comment' | 'first-nested' | 'inside-single-line-block'>;}>; now... npmjs.com
stylelint 16.19.0 breaking changes
- Signature changed
CoreRules
Was type CoreRules = {'alpha-value-notation': CoreRule<'number' | 'percentage', {exceptProperties: OneOrMany<StringOrRegex>}, AutofixMessage>; 'annotation-no-unknown': CoreRule<true, {ignoreAnnotations: OneOrMany<StringOrRegex>}>... npmjs.com - Signature changed
CoreRules.function-allowed-list
Was 'function-allowed-list': CoreRule<OneOrMany<StringOrRegex>>; now 'function-allowed-list': CoreRule<OneOrMany<StringOrRegex>, {exceptWithoutPropertyFallback?: OneOrMany<StringOrRegex>;}>. npmjs.com
And 1 more in this version.
stylelint 16.18.0 breaking changes
- Signature changed
CoreRules
Was type CoreRules = {'alpha-value-notation': CoreRule<'number' | 'percentage', {exceptProperties: OneOrMany<StringOrRegex>}, AutofixMessage>; 'annotation-no-unknown': CoreRule<true, {ignoreAnnotations: OneOrMany<StringOrRegex>}>... npmjs.com
stylelint 16.17.0 breaking changes
- Signature changed
CoreRules
Was type CoreRules = {'alpha-value-notation': CoreRule<'number' | 'percentage', {exceptProperties: OneOrMany<StringOrRegex>}, AutofixMessage>; 'annotation-no-unknown': CoreRule<true, {ignoreAnnotations: OneOrMany<StringOrRegex>}>... npmjs.com - Signature changed
CoreRules.length-zero-no-unit
Was 'length-zero-no-unit': CoreRule<true, {ignore: OneOrMany<'custom-properties'>; ignoreFunctions: OneOrMany<StringOrRegex>;}>; now 'length-zero-no-unit': CoreRule<true, {ignore: OneOrMany<'custom-properties'>; ignoreFunctions... npmjs.com
stylelint 16.16.0 breaking changes
- Signature changed
RuleContext
Was type RuleContext = {configurationComment?: string | undefined; fix?: boolean | undefined; newline?: string | undefined; lexer?: Lexer | undefined;}; now type RuleContext = {configurationComment?: string | undefined; fix?: boolean |... npmjs.com - Signature changed
RuleContext.lexer
The release reverts the addition of context.lexer to the public API from the previous release, so code that uses it must stop relying on it. npmjs.com
stylelint 16.15.0 breaking changes
- Signature changed
Config
Was type Config = {extends?: ConfigExtends; plugins?: ConfigPlugins; pluginFunctions?: {[pluginName: string]: Rule;}; ignoreFiles?: ConfigIgnoreFiles; ignorePatterns?: string; rules?: ConfigRules; quiet?: boolean; formatter?: FormatterType... npmjs.com - Signature changed
CoreRules
Was type CoreRules = {'alpha-value-notation': CoreRule<'number' | 'percentage', {exceptProperties: OneOrMany<StringOrRegex>}, AutofixMessage>; 'annotation-no-unknown': CoreRule<true, {ignoreAnnotations: OneOrMany<StringOrRegex>}>... npmjs.com
And 2 more in this version.
stylelint 16.14.0 breaking changes
- Signature changed
Config
Was type Config = {extends?: ConfigExtends; plugins?: ConfigPlugins; pluginFunctions?: {[pluginName: string]: Rule;}; ignoreFiles?: ConfigIgnoreFiles; ignorePatterns?: string; rules?: ConfigRules; quiet?: boolean; formatter?: FormatterType... npmjs.com - Signature changed
LinterOptions
Was type LinterOptions = {files?: OneOrMany<string>; globbyOptions?: GlobbyOptions; cache?: boolean; cacheLocation?: string; cacheStrategy?: string; code?: string; codeFilename?: string; config?: Config; configFile?: string... npmjs.com
And 7 more in this version.
stylelint 16.13.0 breaking changes
- Removed
default.FixerData
FixerData was removed in stylelint 16.13.0 npmjs.com - Behavior changed
property-(dis)allowed-list
Custom properties were previously not matched by property-(dis)allowed-list. Users who rely on the old behavior must use /^--/ to (dis)allow custom properties. github.com
And 22 more in this version.
stylelint 16.0.0 breaking changes
- Removed
The stylistic rules deprecated in 15.0.0 are removed. Remove them from your configuration. github.com - Renamed
stylelint.lib.utils.typeGuards.js
Internal imports of stylelint files must use the .mjs or .cjs extension, and internal file access will be removed in the next major release. github.com
And 18 more in this version.
stylelint 15.0.0 breaking changes
- Removed
Node.js 12 is no longer supported. Use Node.js 14.13.1, 16.0.0 or 18.0.0 or higher. github.com - Removed
'stylelint'.CodeProcessor
'stylelint'.CodeProcessor was removed in stylelint 15.0.0 npmjs.com
And 46 more in this version.
stylelint 14.0.0 breaking changes
- Removed
Rules that were deprecated in 13.7.0 were removed in 14.0.0. Check the migration guide for the affected rules. github.com - Removed
Stylelint 14.0.0 no longer supports Node.js 10. Upgrade Node.js before installing this version. github.com
And 19 more in this version.
stylelint 13.0.0 breaking changes
- Removed
The Flow type declarations shipped with stylelint have been removed. Code relying on them must stop using them. github.com - Removed
stylelint 13 no longer supports Node.js 8.x. Upgrade to Node.js 10 or later before installing this version. github.com
And 1 more in this version.
stylelint 12.0.0 breaking changes
- Removed
createRuleTester
The createRuleTester API is gone, so code that calls it will no longer work. github.com - Behavior changed
The bower_components folder is no longer ignored by default, so files in it may now be linted. Add it to your ignore patterns if you want it skipped. github.com
stylelint 11.0.0 breaking changes
- Behavior changed
--report-needless-disables
Using the --report-needless-disables CLI flag now also runs linting and reports needless disable comments, so existing scripts may see new output or failures. github.com - Behavior changed
stylelintError
The stylelintError value is now always a boolean, so code expecting another return type must be updated. github.com
stylelint 10.0.0 breaking changes
- Removed
Node.js 8.15.1 or greater is now required. Users on Node.js 6.x must upgrade Node.js before upgrading stylelint. github.com - Removed
jsx
The jsx syntax option was removed; use css-in-js instead. github.com
And 3 more in this version.
stylelint 9.0.0 breaking changes
- Removed
Stylelint 9.0.0 no longer supports Node.js 4.x; users must run Node.js 6.x or later. github.com
stylelint 8.0.0 breaking changes
- Removed
at-rule-empty-line-before
This option was deprecated in 7.8.0 and is now gone. github.com - Removed
block-no-single-line
The rule was deprecated in 7.8.0 and is now gone. Remove it from your configuration. github.com
And 29 more in this version.
stylelint 7.0.0 breaking changes
- Removed
Plugin rules without a namespace are no longer supported; use your-namespace/your-rule-name. github.com - Removed
Node.js 4.2.1 LTS or greater is now required. github.com
And 30 more in this version.
stylelint 6.0.0 breaking changes
- Behavior changed
The standard formatter now produces a different look for its output. Code that parses or compares formatter output may need updating. github.com - Behavior changed
CssSyntaxError
Syntax errors are no longer thrown as CssSyntaxError and are instead reported alongside warnings. Code that catches the thrown error must read the reported results instead. github.com
stylelint 5.0.0 breaking changes
- Removed
"warn": true
Use the severity option set to warning instead of the warn secondary option. github.com - Removed
color-no-named
Use the new color-named rule with the never option instead. github.com
And 7 more in this version.
stylelint 4.0.0 breaking changes
- Removed
Numeric severity values are no longer accepted; use the named severity strings instead. github.com - Behavior changed
function-whitespace-after
The rule no longer expects a space between ) and } so Sass interpolation is handled differently. github.com
stylelint 3.0.0 breaking changes
- Removed
nesting-block-opening-brace-newline-before
The rule is gone; remove it from configs that enable it. github.com - Removed
nesting-block-opening-brace-space-before
The rule is gone; remove it from configs that enable it. github.com
And 6 more in this version.
stylelint 2.0.0 breaking changes
- Configuration changed
Plugins are included and configured via a "locator" instead of being required or inserted into the config object as a function. Code that relies on the old plugin loading must be updated. github.com
stylelint 1.0.0 breaking changes
- Removed
Stylelint 1.0.0 no longer supports PostCSS 4.x; users on PostCSS 4 must upgrade PostCSS to 5.0.2 or later. github.com
stylelint 0.8.0 breaking changes
- Behavior changed
media-feature-colon-space-after
The rule no longer applies to other statements, so code that relied on it checking them will see fewer reports. github.com - Behavior changed
media-feature-colon-space-before
The rule no longer applies to other statements, so code that relied on it checking them will see fewer reports. github.com
stylelint 0.7.0 breaking changes
- Behavior changed
Invalid rule options now make the rule stop rather than perform checks that may be meaningless. Check that your configured options are valid. github.com
Related packages
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.