---
title: "stylelint 18.0.0 Breaking Changes on npm | Since.dev"
description: "What each stylelint release removed, renamed or changed: 557 breaking changes in 46 versions on npm, each with its source."
canonical_url: https://since.dev/packages/npm/stylelint
last_updated: 2026-12-04
---

# stylelint breaking changes

stylelint 18.0.0 (November 3, 2026) is its newest release with breaking changes, 27 of them. The first: Stops resolving packages from the global node_modules directory in stylelint 18.0.0. Every breaking API change we have recorded in stylelint on npm: 557 breaking changes in 46 versions. Below, its 46 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `18.2.0`, released December 2, 2026. [Source repository](https://github.com/stylelint/stylelint)

Its 17.0.0 release requires Node.js 20.19.0 or later. [Node.js end of life dates](https://since.dev/calendar/nodejs.md).

- From [17.15.0](#v-17-15-0) to [18.0.0](#v-18-0-0): 27 breaking changes in 1 version.
- From [0.7.0](#v-0-7-0) to [18.0.0](#v-18-0-0): 556 breaking changes in 45 versions.

## stylelint 18.0.0 breaking changes

stylelint 18.0.0, released November 3, 2026: 27 breaking changes.

- **Removed**  

extends and plugins packages are no longer found in npm's global node_modules; install them locally. [github.com](https://github.com/stylelint/stylelint/blob/main/docs/migration-guide/to-18.md)
- **Removed**  

Config locators such as extends and plugins must now use full file paths, for example ./index.js instead of ./. [github.com](https://github.com/stylelint/stylelint/blob/main/docs/migration-guide/to-18.md)
- **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](https://github.com/stylelint/stylelint/blob/main/docs/migration-guide/to-18.md)
- **Removed** `CoreRules.declaration-block-single-line-max-declarations`  

Remove the rule from your config, or use the community stylistic plugin version instead. [npmjs.com](https://www.npmjs.com/package/stylelint/v/18.0.0)
- **Removed** `declaration-property-value-no-unknown.propertiesSyntax`  

Move the syntax definitions to the languageOptions configuration property. [github.com](https://github.com/stylelint/stylelint/blob/main/docs/migration-guide/to-18.md)
- **Removed** `declaration-property-value-no-unknown.typesSyntax`  

Move the syntax definitions to the languageOptions configuration property. [github.com](https://github.com/stylelint/stylelint/blob/main/docs/migration-guide/to-18.md)
- **Removed** `RuleContext.fix`  

Pass a fix callback to the report utility instead and set meta.fixable to true on the rule. [npmjs.com](https://www.npmjs.com/package/stylelint/v/18.0.0)
- **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](https://github.com/stylelint/stylelint/blob/main/docs/migration-guide/to-18.md)
- **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](https://github.com/stylelint/stylelint/blob/main/docs/migration-guide/to-18.md)
- **Behavior changed**  

The string and verbose formatters now add hyperlinks in any terminal except in CI or on Windows outside Windows Terminal. [github.com](https://github.com/stylelint/stylelint/blob/main/docs/migration-guide/to-18.md)
- **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](https://github.com/stylelint/stylelint/blob/main/docs/migration-guide/to-18.md)
- **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](https://github.com/stylelint/stylelint/releases/tag/18.0.0)
- **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](https://github.com/stylelint/stylelint/blob/main/docs/migration-guide/to-18.md)
- **Configuration changed**  

The typescript package is no longer used; use import type for type-only imports and avoid enum and namespace. [github.com](https://github.com/stylelint/stylelint/blob/main/docs/migration-guide/to-18.md)
- **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](https://github.com/stylelint/stylelint/blob/main/docs/migration-guide/to-18.md)
- **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](https://www.npmjs.com/package/stylelint/v/18.0.0)
- **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](https://www.npmjs.com/package/stylelint/v/18.0.0)
- **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](https://www.npmjs.com/package/stylelint/v/18.0.0)
- **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](https://www.npmjs.com/package/stylelint/v/18.0.0)
- **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](https://www.npmjs.com/package/stylelint/v/18.0.0)
- **Signature changed** `InternalApi._postcssResultCache`  

Was \_postcssResultCache: Map\<string, PostCSS.Result>; now \_postcssResultCache: Map\<string, {result: PostCSS.Result; code: string}>. [npmjs.com](https://www.npmjs.com/package/stylelint/v/18.0.0)
- **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](https://www.npmjs.com/package/stylelint/v/18.0.0)
- **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](https://www.npmjs.com/package/stylelint/v/18.0.0)
- **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](https://www.npmjs.com/package/stylelint/v/18.0.0)
- **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](https://www.npmjs.com/package/stylelint/v/18.0.0)
- **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](https://www.npmjs.com/package/stylelint/v/18.0.0)
- **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](https://www.npmjs.com/package/stylelint/v/18.0.0)

## stylelint 17.15.0 breaking changes

stylelint 17.15.0, released September 4, 2026: 3 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](https://www.npmjs.com/package/stylelint/v/17.15.0)
- **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](https://www.npmjs.com/package/stylelint/v/17.15.0)
- **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](https://www.npmjs.com/package/stylelint/v/17.15.0)

## stylelint 17.14.1 breaking changes

stylelint 17.14.1, released July 20, 2026: 7 breaking changes.

- **Signature changed** `ConfigReferenceFiles`  

Was type ConfigReferenceFiles = | string | ConfigReferenceFilesEntry | (string | ConfigReferenceFilesEntry)\[\]; now type ConfigReferenceFiles = string | ConfigReferenceFilesEntry | (string | ConfigReferenceFilesEntry)\[\]. [npmjs.com](https://www.npmjs.com/package/stylelint/v/17.14.1)
- **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](https://www.npmjs.com/package/stylelint/v/17.14.1)
- **Signature changed** `CosmiconfigResult`  

Was type CosmiconfigResult = | (ReturnType\<CosmiconfigTransformSync> & {config: Config}) | null; now type CosmiconfigResult = (ReturnType\<CosmiconfigTransformSync> & {config: Config}) | null. [npmjs.com](https://www.npmjs.com/package/stylelint/v/17.14.1)
- **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](https://www.npmjs.com/package/stylelint/v/17.14.1)
- **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](https://www.npmjs.com/package/stylelint/v/17.14.1)
- **Signature changed** `RuleOptions`  

Was type RuleOptions = {actual: unknown; possible?: | RuleOptionsPossibleFunc | RuleOptionsPossible\[\] | Record\<string, RuleOptionsPossible\[\]>; optional?: boolean;}; now type RuleOptions = {actual: unknown; possible?... [npmjs.com](https://www.npmjs.com/package/stylelint/v/17.14.1)
- **Signature changed** `RuleOptions.possible`  

Was possible?: | RuleOptionsPossibleFunc | RuleOptionsPossible\[\] | Record\<string, RuleOptionsPossible\[\]>; now possible?: RuleOptionsPossibleFunc | RuleOptionsPossible\[\] | Record\<string, RuleOptionsPossible\[\]>. [npmjs.com](https://www.npmjs.com/package/stylelint/v/17.14.1)

## stylelint 17.11.0 breaking changes

stylelint 17.11.0, released May 5, 2026: 5 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](https://www.npmjs.com/package/stylelint/v/17.11.0)
- **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](https://www.npmjs.com/package/stylelint/v/17.11.0)
- **Signature changed** `ConfigReferenceFilesEntry`  

Was type ConfigReferenceFilesEntry = {files: string | string\[\]; customSyntax?: CustomSyntax;}; now type ConfigReferenceFilesEntry = {files: string | string\[\]; customSyntax?: CustomSyntax; loader?: Loader;}. [npmjs.com](https://www.npmjs.com/package/stylelint/v/17.11.0)
- **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](https://www.npmjs.com/package/stylelint/v/17.11.0)
- **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](https://www.npmjs.com/package/stylelint/v/17.11.0)

## stylelint 17.10.0 breaking changes

stylelint 17.10.0, released May 3, 2026: 5 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](https://www.npmjs.com/package/stylelint/v/17.10.0)
- **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](https://www.npmjs.com/package/stylelint/v/17.10.0)
- **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](https://www.npmjs.com/package/stylelint/v/17.10.0)
- **Signature changed** `LanguageOptions.directionality.block`  

Was block?: 'top-to-bottom' | 'bottom-to-top' | 'left-to-right' | 'right-to-left'; now block?: Directionality. [npmjs.com](https://www.npmjs.com/package/stylelint/v/17.10.0)
- **Signature changed** `LanguageOptions.directionality.inline`  

Was inline?: 'left-to-right' | 'right-to-left' | 'top-to-bottom' | 'bottom-to-top'; now inline?: Directionality. [npmjs.com](https://www.npmjs.com/package/stylelint/v/17.10.0)

## stylelint 17.9.1 breaking changes

stylelint 17.9.1, released April 27, 2026: 1 breaking change.

- **Behavior changed**  

Stylelint now uses SHA256 instead of MD5 for its cache hashing; cache files will be regenerated as a result. [github.com](https://github.com/stylelint/stylelint/releases/tag/17.9.1)

## Older versions

40 older versions, each with its first changes. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

### stylelint 17.9.0 breaking changes

stylelint 17.9.0, released April 23, 2026: 7 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](https://www.npmjs.com/package/stylelint/v/17.9.0)
- **Signature changed** `GetLintSourceOptions`  

Was type GetLintSourceOptions = GetPostcssOptions & {existingPostcssResult?: PostCSS.Result; cache?: boolean;}; now type GetLintSourceOptions = GetPostcssOptions & {existingPostcssResult?: PostCSS.Result; cache?: boolean; abortSignal?... [npmjs.com](https://www.npmjs.com/package/stylelint/v/17.9.0)

And 5 more in this version.

### stylelint 17.8.0 breaking changes

stylelint 17.8.0, released April 15, 2026: 2 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](https://www.npmjs.com/package/stylelint/v/17.8.0)
- **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](https://www.npmjs.com/package/stylelint/v/17.8.0)

### stylelint 17.7.0 breaking changes

stylelint 17.7.0, released April 12, 2026: 3 breaking changes.

- **Removed** `Config.ignorePatterns`  

Config.ignorePatterns was removed in stylelint 17.7.0 [npmjs.com](https://www.npmjs.com/package/stylelint/v/17.7.0)
- **Removed** `Config.pluginFunctions`  

Config.pluginFunctions was removed in stylelint 17.7.0 [npmjs.com](https://www.npmjs.com/package/stylelint/v/17.7.0)

And 1 more in this version.

### stylelint 17.6.0 breaking changes

stylelint 17.6.0, released March 26, 2026: 2 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](https://www.npmjs.com/package/stylelint/v/17.6.0)
- **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](https://www.npmjs.com/package/stylelint/v/17.6.0)

### stylelint 17.5.0 breaking changes

stylelint 17.5.0, released March 19, 2026: 4 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](https://www.npmjs.com/package/stylelint/v/17.5.0)
- **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](https://www.npmjs.com/package/stylelint/v/17.5.0)

And 2 more in this version.

### stylelint 17.4.0 breaking changes

stylelint 17.4.0, released February 25, 2026: 3 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](https://www.npmjs.com/package/stylelint/v/17.4.0)
- **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](https://www.npmjs.com/package/stylelint/v/17.4.0)

And 1 more in this version.

### stylelint 17.3.0 breaking changes

stylelint 17.3.0, released February 13, 2026: 3 breaking changes.

- **Removed** `RuleContext.lexer`  

RuleContext.lexer was removed in stylelint 17.3.0 [npmjs.com](https://www.npmjs.com/package/stylelint/v/17.3.0)
- **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](https://www.npmjs.com/package/stylelint/v/17.3.0)

And 1 more in this version.

### stylelint 17.2.0 breaking changes

stylelint 17.2.0, released February 10, 2026: 3 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](https://www.npmjs.com/package/stylelint/v/17.2.0)
- **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](https://www.npmjs.com/package/stylelint/v/17.2.0)

And 1 more in this version.

### stylelint 17.1.0 breaking changes

stylelint 17.1.0, released January 30, 2026: 1 breaking change.

- **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](https://www.npmjs.com/package/stylelint/v/17.1.0)

### stylelint 17.0.0 breaking changes

stylelint 17.0.0, released January 15, 2026: 133 breaking changes.

- **Removed**  

Update Node.js to 20.19.0 or later before upgrading. [github.com](https://github.com/stylelint/stylelint/blob/main/docs/migration-guide/to-17.md)
- **Removed**  

Use ESM and full paths for config locators and plugins instead of the removed CommonJS API. [github.com](https://github.com/stylelint/stylelint/blob/main/docs/migration-guide/to-17.md)

And 131 more in this version.

### stylelint 16.25.0 breaking changes

stylelint 16.25.0, released October 3, 2025: 3 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](https://www.npmjs.com/package/stylelint/v/16.25.0)
- **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](https://www.npmjs.com/package/stylelint/v/16.25.0)

And 1 more in this version.

### stylelint 16.24.0 breaking changes

stylelint 16.24.0, released September 7, 2025: 2 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](https://www.npmjs.com/package/stylelint/v/16.24.0)
- **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](https://www.npmjs.com/package/stylelint/v/16.24.0)

### stylelint 16.23.0 breaking changes

stylelint 16.23.0, released July 29, 2025: 2 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](https://www.npmjs.com/package/stylelint/v/16.23.0)
- **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](https://www.npmjs.com/package/stylelint/v/16.23.0)

### stylelint 16.22.0 breaking changes

stylelint 16.22.0, released July 18, 2025: 103 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](https://www.npmjs.com/package/stylelint/v/16.22.0)
- **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](https://www.npmjs.com/package/stylelint/v/16.22.0)

And 101 more in this version.

### stylelint 16.21.0 breaking changes

stylelint 16.21.0, released June 19, 2025: 2 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](https://www.npmjs.com/package/stylelint/v/16.21.0)
- **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](https://www.npmjs.com/package/stylelint/v/16.21.0)

### stylelint 16.19.0 breaking changes

stylelint 16.19.0, released April 23, 2025: 3 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](https://www.npmjs.com/package/stylelint/v/16.19.0)
- **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](https://www.npmjs.com/package/stylelint/v/16.19.0)

And 1 more in this version.

### stylelint 16.18.0 breaking changes

stylelint 16.18.0, released April 6, 2025: 1 breaking change.

- **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](https://www.npmjs.com/package/stylelint/v/16.18.0)

### stylelint 16.17.0 breaking changes

stylelint 16.17.0, released March 26, 2025: 2 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](https://www.npmjs.com/package/stylelint/v/16.17.0)
- **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](https://www.npmjs.com/package/stylelint/v/16.17.0)

### stylelint 16.16.0 breaking changes

stylelint 16.16.0, released March 14, 2025: 2 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](https://www.npmjs.com/package/stylelint/v/16.16.0)
- **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](https://www.npmjs.com/package/stylelint/v/16.16.0)

### stylelint 16.15.0 breaking changes

stylelint 16.15.0, released February 28, 2025: 4 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](https://www.npmjs.com/package/stylelint/v/16.15.0)
- **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](https://www.npmjs.com/package/stylelint/v/16.15.0)

And 2 more in this version.

### stylelint 16.14.0 breaking changes

stylelint 16.14.0, released January 25, 2025: 9 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](https://www.npmjs.com/package/stylelint/v/16.14.0)
- **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](https://www.npmjs.com/package/stylelint/v/16.14.0)

And 7 more in this version.

### stylelint 16.13.0 breaking changes

stylelint 16.13.0, released January 12, 2025: 24 breaking changes.

- **Removed** `default.FixerData`  

FixerData was removed in stylelint 16.13.0 [npmjs.com](https://www.npmjs.com/package/stylelint/v/16.13.0)
- **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](https://github.com/stylelint/stylelint/releases/tag/16.13.0)

And 22 more in this version.

### stylelint 16.0.0 breaking changes

stylelint 16.0.0, released December 8, 2023: 20 breaking changes.

- **Removed**  

The stylistic rules deprecated in 15.0.0 are removed. Remove them from your configuration. [github.com](https://github.com/stylelint/stylelint/releases/tag/16.0.0)
- **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](https://github.com/stylelint/stylelint/blob/main/docs/migration-guide/to-16.md)

And 18 more in this version.

### stylelint 15.0.0 breaking changes

stylelint 15.0.0, released February 9, 2023: 48 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](https://github.com/stylelint/stylelint/releases/tag/15.0.0)
- **Removed** `'stylelint'.CodeProcessor`  

'stylelint'.CodeProcessor was removed in stylelint 15.0.0 [npmjs.com](https://www.npmjs.com/package/stylelint/v/15.0.0)

And 46 more in this version.

### stylelint 14.0.0 breaking changes

stylelint 14.0.0, released October 21, 2021: 21 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](https://github.com/stylelint/stylelint/releases/tag/14.0.0)
- **Removed**  

Stylelint 14.0.0 no longer supports Node.js 10. Upgrade Node.js before installing this version. [github.com](https://github.com/stylelint/stylelint/releases/tag/14.0.0)

And 19 more in this version.

### stylelint 13.0.0 breaking changes

stylelint 13.0.0, released January 12, 2020: 3 breaking changes.

- **Removed**  

The Flow type declarations shipped with stylelint have been removed. Code relying on them must stop using them. [github.com](https://github.com/stylelint/stylelint/releases/tag/13.0.0)
- **Removed**  

stylelint 13 no longer supports Node.js 8.x. Upgrade to Node.js 10 or later before installing this version. [github.com](https://github.com/stylelint/stylelint/releases/tag/13.0.0)

And 1 more in this version.

### stylelint 12.0.0 breaking changes

stylelint 12.0.0, released November 16, 2019: 2 breaking changes.

- **Removed** `createRuleTester`  

The createRuleTester API is gone, so code that calls it will no longer work. [github.com](https://github.com/stylelint/stylelint/releases/tag/12.0.0)
- **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](https://github.com/stylelint/stylelint/releases/tag/12.0.0)

### stylelint 11.0.0 breaking changes

stylelint 11.0.0, released September 15, 2019: 2 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](https://github.com/stylelint/stylelint/releases/tag/11.0.0)
- **Behavior changed** `stylelintError`  

The stylelintError value is now always a boolean, so code expecting another return type must be updated. [github.com](https://github.com/stylelint/stylelint/releases/tag/11.0.0)

### stylelint 10.0.0 breaking changes

stylelint 10.0.0, released April 13, 2019: 5 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](https://github.com/stylelint/stylelint/releases/tag/10.0.0)
- **Removed** `jsx`  

The jsx syntax option was removed; use css-in-js instead. [github.com](https://github.com/stylelint/stylelint/releases/tag/10.0.0)

And 3 more in this version.

### stylelint 9.0.0 breaking changes

stylelint 9.0.0, released February 18, 2018: 1 breaking change.

- **Removed**  

Stylelint 9.0.0 no longer supports Node.js 4.x; users must run Node.js 6.x or later. [github.com](https://github.com/stylelint/stylelint/releases/tag/9.0.0)

### stylelint 8.0.0 breaking changes

stylelint 8.0.0, released July 16, 2017: 31 breaking changes.

- **Removed** `at-rule-empty-line-before`  

This option was deprecated in 7.8.0 and is now gone. [github.com](https://github.com/stylelint/stylelint/releases/tag/8.0.0)
- **Removed** `block-no-single-line`  

The rule was deprecated in 7.8.0 and is now gone. Remove it from your configuration. [github.com](https://github.com/stylelint/stylelint/releases/tag/8.0.0)

And 29 more in this version.

### stylelint 7.0.0 breaking changes

stylelint 7.0.0, released July 13, 2016: 32 breaking changes.

- **Removed**  

Plugin rules without a namespace are no longer supported; use your-namespace/your-rule-name. [github.com](https://github.com/stylelint/stylelint/releases/tag/7.0.0)
- **Removed**  

Node.js 4.2.1 LTS or greater is now required. [github.com](https://github.com/stylelint/stylelint/releases/tag/7.0.0)

And 30 more in this version.

### stylelint 6.0.0 breaking changes

stylelint 6.0.0, released April 19, 2016: 2 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](https://github.com/stylelint/stylelint/releases/tag/6.0.0)
- **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](https://github.com/stylelint/stylelint/releases/tag/6.0.0)

### stylelint 5.0.0 breaking changes

stylelint 5.0.0, released March 11, 2016: 9 breaking changes.

- **Removed** `"warn": true`  

Use the severity option set to warning instead of the warn secondary option. [github.com](https://github.com/stylelint/stylelint/releases/tag/5.0.0)
- **Removed** `color-no-named`  

Use the new color-named rule with the never option instead. [github.com](https://github.com/stylelint/stylelint/releases/tag/5.0.0)

And 7 more in this version.

### stylelint 4.0.0 breaking changes

stylelint 4.0.0, released January 20, 2016: 2 breaking changes.

- **Removed**  

Numeric severity values are no longer accepted; use the named severity strings instead. [github.com](https://github.com/stylelint/stylelint/releases/tag/4.0.0)
- **Behavior changed** `function-whitespace-after`  

The rule no longer expects a space between ) and } so Sass interpolation is handled differently. [github.com](https://github.com/stylelint/stylelint/releases/tag/4.0.0)

### stylelint 3.0.0 breaking changes

stylelint 3.0.0, released December 11, 2015: 8 breaking changes.

- **Removed** `nesting-block-opening-brace-newline-before`  

The rule is gone; remove it from configs that enable it. [github.com](https://github.com/stylelint/stylelint/blob/3.0.0/CHANGELOG.md)
- **Removed** `nesting-block-opening-brace-space-before`  

The rule is gone; remove it from configs that enable it. [github.com](https://github.com/stylelint/stylelint/blob/3.0.0/CHANGELOG.md)

And 6 more in this version.

### stylelint 2.0.0 breaking changes

stylelint 2.0.0, released October 16, 2015: 1 breaking change.

- **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](https://github.com/stylelint/stylelint/releases/tag/2.0.0)

### stylelint 1.0.0 breaking changes

stylelint 1.0.0, released September 5, 2015: 1 breaking change.

- **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](https://github.com/stylelint/stylelint/releases/tag/1.0.0)

### stylelint 0.8.0 breaking changes

stylelint 0.8.0, released September 2, 2015: 2 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](https://github.com/stylelint/stylelint/releases/tag/0.8.0)
- **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](https://github.com/stylelint/stylelint/releases/tag/0.8.0)

### stylelint 0.7.0 breaking changes

stylelint 0.7.0, released August 9, 2015: 1 breaking change.

- **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](https://github.com/stylelint/stylelint/releases/tag/0.7.0)

## Related packages

- [stylelint-config-recommended](https://since.dev/packages/npm/stylelint-config-recommended.md)
- [stylelint-config-standard](https://since.dev/packages/npm/stylelint-config-standard.md)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#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.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
