diff --git a/CHANGELOG.md b/CHANGELOG.md index cffff3d932..3a18e5aaf8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -826,7 +826,7 @@ This release is accompanied by: - A new [semantic version policy](docs/about/semantic-versioning.md). The use of the tilde (`~`) in `package.json` is now recommended, e.g. `"stylelint": "~8.0.0"`, to guarantee the results of your builds ([#1865](https://github.com/stylelint/stylelint/issues/1865)). - A new [VISION document](docs/about/vision.md), complemented by ([#2704](https://github.com/stylelint/stylelint/pull/2704)): - - The restructuring of the [list of rules](docs/user-guide/rules/list.md) into three groups: + - The restructuring of the [list of rules](docs/user-guide/rules.md) into three groups: - Possible errors - Limit language features - Stylistic issues diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 7c1399a429..2dc33e85c3 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -17,10 +17,10 @@ Not only will you help Stylelint thrive, but you may learn a thing or two — ab ## Code contributions -To start coding, you'll need: +To start coding, you'll need the: -- a minimum of [Node.js](https://nodejs.org/en/) v10, though we do recommend using the latest LTS release -- the latest [npm](https://www.npmjs.com/) +- LTS release of [Node.js](https://nodejs.org/en/) +- latest [npm](https://www.npmjs.com/) Then: diff --git a/README.md b/README.md index 1cd5ff2a34..39ec504710 100644 --- a/README.md +++ b/README.md @@ -26,19 +26,20 @@ And can be extended to: ## How it'll help you -It'll help you **avoid errors**, for example styles that are: +It'll help you **avoid errors**, for example: -- invalid, e.g. malformed hex colors and named grid areas -- valid but with unintended consequences, e.g. duplicated selectors and overridden properties +- invalid things, e.g. malformed hex colors and named grid areas +- unknown things, e.g. units and functions that aren't in the CSS specs +- valid things that are problematic, e.g. duplicated selectors and overridden properties -And **enforce conventions**, for example: +And **enforce non-stylistic conventions**, for example: - what units, functions, at-rules etc are allowed - consistent patterns for selector names, at-rule names, custom properties etc - maximum specificity or maximum quantity of each selector type - your preferred notation for color functions, font weight etc -There are also rules for enforcing stylistic consistency, but we now recommend you use Stylelint alongside a pretty printer like Prettier. Linters and pretty printers are complementary tools that work together. +There are also rules for enforcing stylistic conventions, but we now recommend you use Stylelint alongside a pretty printer like Prettier. Linters and pretty printers are complementary tools that work together. ## Example output @@ -49,21 +50,19 @@ There are also rules for enforcing stylistic consistency, but we now recommend y - User guide - [Getting started](docs/user-guide/get-started.md) - [Configuration](docs/user-guide/configure.md) - - Rules - - [List of rules](docs/user-guide/rules/list.md) - - [About rules](docs/user-guide/rules/about.md) - - [Combining rules](docs/user-guide/rules/combine.md) - - [Using regex in rules](docs/user-guide/rules/regex.md) + - [Rules](docs/user-guide/rules.md) - Usage - [CLI](docs/user-guide/usage/cli.md) - [Node.js API](docs/user-guide/usage/node-api.md) - [PostCSS plugin](docs/user-guide/usage/postcss-plugin.md) - - [Shared options](docs/user-guide/usage/options.md) + - [Options](docs/user-guide/usage/options.md) - Integrations - [Editor integrations](docs/user-guide/integrations/editor.md) - [Task runner integrations](docs/user-guide/integrations/task-runner.md) - [Other integrations](docs/user-guide/integrations/other.md) - [Ignoring code](docs/user-guide/ignore-code.md) + - [Combining rules](docs/user-guide/combine.md) + - [Using regex](docs/user-guide/regex.md) - [Errors & warnings](docs/user-guide/errors.md) - Developer guide - [Working on rules](docs/developer-guide/rules.md) @@ -80,7 +79,6 @@ There are also rules for enforcing stylistic consistency, but we now recommend y - [Performing releases](docs/maintainer-guide/releases.md) - About - [Vision](docs/about/vision.md) - - [Linting](docs/about/linting.md) - [Semantic versioning](docs/about/semantic-versioning.md) ## Contributors diff --git a/SUPPORT.md b/SUPPORT.md index fa400c4e0a..73f4abd70d 100644 --- a/SUPPORT.md +++ b/SUPPORT.md @@ -4,8 +4,8 @@ One of our frequently visited documentation sections might answer your query: - [Turning off rules](docs/user-guide/configure.md#rules) - [Ignoring code](docs/user-guide/ignore-code.md) -- [Using regexes to configure rules](docs/user-guide/rules/regex.md) -- [Combining rules to enforce your code style](docs/user-guide/rules/combine.md) +- [Using regexes to configure rules](docs/user-guide/regex.md) +- [Combining rules to enforce your code style](docs/user-guide/combine.md) If they don't, then post your query on [Stack Overflow](https://stackoverflow.com/questions/tagged/stylelint). diff --git a/docs/about/linting.md b/docs/about/linting.md deleted file mode 100644 index 736917c4db..0000000000 --- a/docs/about/linting.md +++ /dev/null @@ -1,34 +0,0 @@ -# Linting - -A linter is a tool that analyzes source code to flag programming errors, bugs, stylistic errors, and suspicious constructs. - -You can use a linter with a pretty printer and a validator. There are, however, usually overlaps between these three types of tools. - -## Pretty printers - -There are two approaches to enforcing stylistic conventions: - -- a machine algorithmically pretty prints the code (usually based on a maximum line length) -- a human initially formats the code, and a machine fixes-up/warns-about any mistakes - -The former is handled by pretty printers, like [Prettier](https://github.com/prettier/prettier), whereas the latter is catered for by the built-in [stylistic rules](../user-guide/rules/list.md#stylistic-issues). If you use a pretty printer, you'll want to use [`stylelint-config-standard`](https://github.com/stylelint/stylelint-config-standard) and [`stylelint-config-prettier`](https://github.com/prettier/stylelint-config-prettier), which turns off any incompatible rules. - -The built-in stylistic rules and plugins are configurable to support a diverse range of stylistic conventions. For example, ordering properties within declaration blocks is a divisive topic, where there isn't a dominant convention. The [`stylelint-order`](https://www.npmjs.com/package/stylelint-order) plugin can be configured to lint and fix a diverse range of ordering conventions. - -Another example is the use of single-line rules for sets of _related_ rules, e.g. - - -```css -/* Single-line related classes */ -.class-1 { top: 0; bottom: 0; } -.class-2 { top: 5px; right: 0; } -.class-3 { top: 8px; left: 0; } -``` - -You can configure the built-in stylistic rules to allow both multi-line and single-line rules. The choice of when to use each belongs to the user. - -## Validators - -Validators like [CSSTree](https://github.com/csstree/csstree) identify invalid code such as misformed hex colors, unknown language features or invalid property and value pairs. - -However, as a stop-gap, Stylelint provides rules for the simplest of cases while these tools mature. diff --git a/docs/about/vision.md b/docs/about/vision.md index 6efc279dcf..adaaef9cdd 100644 --- a/docs/about/vision.md +++ b/docs/about/vision.md @@ -1,6 +1,6 @@ # Vision -A linter for CSS and CSS-like languages that is: +A linter and validator for CSS that is: - complete - coverage of all standard CSS syntax - extensible - multiple points of extension @@ -13,8 +13,8 @@ A linter for CSS and CSS-like languages that is: Provide built-in rules for standard CSS syntax that: -- [avoid errors](../user-guide/rules/list.md#avoid-errors) -- [enforce conventions](../user-guide/rules/list.md#enforce-conventions) +- [avoid errors](../user-guide/rules.md#avoid-errors) +- [enforce non-stylistic conventions](../user-guide/rules.md#enforce-non-stylistic-conventions) ## Extensible @@ -34,7 +34,7 @@ Provide a robust tool with a [comprehensive test suite](../developer-guide/rules ## Consistent -Provide consistency throughout, including consistent [rules](../user-guide/rules/about.md). +Provide consistency throughout, including consistent conventions for our rules and options. ## Performant diff --git a/docs/developer-guide/formatters.md b/docs/developer-guide/formatters.md index a8014a53b3..246fd75521 100644 --- a/docs/developer-guide/formatters.md +++ b/docs/developer-guide/formatters.md @@ -59,7 +59,7 @@ And the second argument (`returnValue`) is an object (type `LinterResult`) with }, "ruleMetadata": { "block-no-empty": { - "url": "https://stylelint.io/user-guide/rules/list/block-no-empty" + "url": "https://stylelint.io/user-guide/rules/block-no-empty" }, // other rules... } diff --git a/docs/developer-guide/plugins.md b/docs/developer-guide/plugins.md index 6d334a7636..3b9318833d 100644 --- a/docs/developer-guide/plugins.md +++ b/docs/developer-guide/plugins.md @@ -1,6 +1,6 @@ # Writing plugins -Plugins are rules and sets of rules built by the community. +Plugins are rules and sets of rules built by the community. They might support a particular methodology or toolset, or apply to non-standard constructs and features, or be for specific use cases. We recommend your plugin adheres to [Stylelint's conventions](rules.md) for: diff --git a/docs/developer-guide/rules.md b/docs/developer-guide/rules.md index f5337bc22b..8ea0d346b6 100644 --- a/docs/developer-guide/rules.md +++ b/docs/developer-guide/rules.md @@ -4,10 +4,7 @@ Please help us create, enhance, and debug our rules! ## Add a rule -You should: - -1. Get yourself ready to [contribute code](../../CONTRIBUTING.md#code-contributions). -2. Familiarize yourself with the [conventions and patterns](../user-guide/rules/about.md) for rules. +You should get yourself ready to [contribute code](../../CONTRIBUTING.md#code-contributions). ### Write the rule @@ -57,8 +54,46 @@ Use the: ### Add options +Each rule can accept a primary and an optional secondary option. + Only add an option to a rule if it addresses a _requested_ use case to avoid polluting the tool with unused features. +#### Primary + +Every rule _must have_ a primary option. For example, in: + +- `"font-weight-notation": "numeric"`, the primary option is `"numeric"` +- `"selector-max-type": [2, { "ignoreTypes": ["custom"] }]`, the primary option is `2` + +Rules are named to encourage explicit primary options. For example, `font-weight-notation: "numeric"|"named-where-possible"` rather than `font-weight-numeric: "always"|"never"`. As `font-weight-named: "never"` _implies_ always numeric, whereas `font-weight-notation: "numeric"` makes it _explicit_. + +#### Secondary + +Some rules require extra flexibility to address edge cases. These can use an optional secondary options object. For example, in: + +- `"font-weight-notation": "numeric"` there is no secondary options object +- `"selector-max-type": [2, { "ignore": ["descendant] }]`, the secondary options object is `{ "ignore": ["descendant] }` + +The most typical secondary options are `"ignore": []` and `"except": []`. + +##### Keyword `"ignore"` and `"except"` + +The `"ignore"` and `"except"` options accept an array of predefined keyword options, e.g. `["relative", "first-nested", "descendant"]`: + +- `"ignore"` skips-over a particular pattern +- `"except"` inverts the primary option for a particular pattern + +##### User-defined `"ignore*"` + +Some rules accept a _user-defined_ list of things to ignore. This takes the form of `"ignore": []`, e.g. `"ignoreAtRules": []`. + +The `ignore*` options let users ignore non-standard syntax at the _configuration level_. For example, the: + +- `:global` and `:local` pseudo-classes introduced in CSS Modules +- `@debug` and `@extend` at-rules introduced in SCSS + +Methodologies and language extensions come and go quickly, and this approach ensures our codebase does not become littered with code for obsolete things. + If your rule can accept an array as its primary option, you must designate this by setting the property `primaryOptionArray = true` on your rule function. For example: ```js @@ -75,6 +110,18 @@ module.exports = rule; There is one caveat here: If your rule accepts a primary option array, it cannot also accept a primary option object. Whenever possible, if you want your rule to accept a primary option array, you should make an array the only possibility, instead of allowing for various data structures. +### Add problem messages + +Add problem messages in form of: + +- "Expected \[something\] \[in some context\]" +- "Unexpected \[something\] \[in some context\]" + +If the rule has autofix use: + +- 'Expected "\[unfixed\]" to be "\[fixed\]"' for short strings +- 'Expected "\[primary\]" ... notation' for long strings + ### Add autofix Depending on the rule, it might be possible to automatically fix the rule's problems by mutating the PostCSS AST (Abstract Syntax Tree) using the [PostCSS API](http://api.postcss.org/). @@ -121,6 +168,7 @@ You should test errors in multiple positions, not the same place every time and - the `a` type selector by default - the `@media` at-rules by default - the `color` property by default +- the `red` value by default - _foo_, _bar_ and _baz_ for names, e.g. `.foo`, `#bar`, `--baz` #### Commonly overlooked edge-cases @@ -140,6 +188,24 @@ You should ask yourself how does your rule handle: ### Write the README +Each rule is accompanied by a README in the following format: + +1. Rule name. +2. Single-line description. +3. Prototypical code example. +4. Expanded description (if necessary). +5. Options. +6. Example patterns that are considered problems (for each option value). +7. Example patterns that are _not_ considered problems (for each option value). +8. Optional options (if applicable). + +The single-line description is in the form of: + +- "Disallow ..." for `no` rules +- "Limit ..." for `max` rules +- "Require ..." for rules that accept `"always"` and `"never"` options +- "Specify ..." for everything else + You should: - pick examples from the tests @@ -166,7 +232,7 @@ Look at the READMEs of other rules to glean more conventional patterns. The final step is to add references to the new rule in the following places: - [The rules `index.js` file](../../lib/rules/index.js) -- [The list of rules](../user-guide/rules/list.md) +- [The list of rules](../user-guide/rules.md) ## Add an option to a rule diff --git a/docs/migration-guide/to-14.md b/docs/migration-guide/to-14.md index 9fc35a79d6..80cc76d0af 100644 --- a/docs/migration-guide/to-14.md +++ b/docs/migration-guide/to-14.md @@ -40,7 +40,7 @@ Then, update your [configuration object](../user-guide/configure.md) to use it: } ``` -This shared config extends Stylelint to be compatible with SCSS. It configures the [built-in rules](../user-guide/rules/list.md) for SCSS, and includes the [postcss-scss syntax](https://www.npmjs.com/package/postcss-scss) and [stylelint-scss plugin](https://www.npmjs.com/package/stylelint-scss) (a collection of rules specific to SCSS). +This shared config extends Stylelint to be compatible with SCSS. It configures the [built-in rules](../user-guide/rules.md) for SCSS, and includes the [postcss-scss syntax](https://www.npmjs.com/package/postcss-scss) and [stylelint-scss plugin](https://www.npmjs.com/package/stylelint-scss) (a collection of rules specific to SCSS). There are other shared configs provided for each language: diff --git a/docs/user-guide/rules/combine.md b/docs/user-guide/combine.md similarity index 100% rename from docs/user-guide/rules/combine.md rename to docs/user-guide/combine.md diff --git a/docs/user-guide/configure.md b/docs/user-guide/configure.md index 6c2425ffe6..4fb0e6c8a7 100644 --- a/docs/user-guide/configure.md +++ b/docs/user-guide/configure.md @@ -21,7 +21,7 @@ The configuration object has the following properties: ## `rules` -Rules determine what the linter looks for and complains about. There are [over 170 rules](rules/list.md) built into Stylelint. +Rules determine what the linter looks for and complains about. There are [over 170 rules](rules.md) built into Stylelint. _No rules are turned on by default and there are no default values. You must explicitly configure each rule to turn it on._ @@ -183,8 +183,8 @@ You can _extend_ an existing configuration (whether your own or a third-party on Popular configurations include: -- [stylelint-config-recommended](https://github.com/stylelint/stylelint-config-recommended) - turns on just the rules that [avoid errors](rules/list.md#avoid-errors) -- [stylelint-config-standard](https://github.com/stylelint/stylelint-config-standard) - extends recommended one by turning on rules that [enforce conventions](rules/list.md#enforce-conventions) +- [stylelint-config-recommended](https://github.com/stylelint/stylelint-config-recommended) - turns on just the rules that [avoid errors](rules.md#avoid-errors) +- [stylelint-config-standard](https://github.com/stylelint/stylelint-config-standard) - extends recommended one by turning on rules that [enforce conventions](rules.md#enforce-non-stylistic-conventions) You'll find more in [awesome stylelint](https://github.com/stylelint/awesome-stylelint#configs). @@ -310,7 +310,7 @@ You can set the default severity level for all rules that do not have a severity ## `reportDescriptionlessDisables` -Report `stylelint-disable` comments without a description. A [`report*` property](#report-properties) property. +Report `stylelint-disable` comments without a description. A [`report*`](#report) property. For example: @@ -324,7 +324,7 @@ For example: ## `reportInvalidScopeDisables` -Report `stylelint-disable` comments that don't match rules that are specified in the configuration object. A [`report*` property](#report-properties) property. +Report `stylelint-disable` comments that don't match rules that are specified in the configuration object. A [`report*`](#report) property. For example: @@ -338,7 +338,7 @@ For example: ## `reportNeedlessDisables` -Report `stylelint-disable` comments that don't actually match any lints that need to be disabled. A [`report*` property](#report-properties) property. +Report `stylelint-disable` comments that don't actually match any lints that need to be disabled. A [`report*`](#report) property. For example: @@ -415,9 +415,9 @@ If your processor has options, make that item an array whose first item is the " Processors can also only be used with the CLI and the Node.js API, not with the PostCSS plugin. (The PostCSS plugin ignores them.) -## `report*` properties +## `report*` -These properties provide extra validation for `stylelint-disable` comments. This can be helpful for enforcing useful and well-documented disables. +These `report*` properties provide extra validation for `stylelint-disable` comments. This can be helpful for enforcing useful and well-documented disables. The available reports are: diff --git a/docs/user-guide/get-started.md b/docs/user-guide/get-started.md index 70c10b3c5e..1ecc2f775b 100644 --- a/docs/user-guide/get-started.md +++ b/docs/user-guide/get-started.md @@ -67,7 +67,7 @@ npm install --save-dev stylelint stylelint-config-standard-scss npx stylelint "**/*.scss" ``` -This config includes the [postcss-scss syntax](https://www.npmjs.com/package/postcss-scss), configures the [built-in rules](../user-guide/rules/list.md) for SCSS, and includes the [stylelint-scss plugin](https://www.npmjs.com/package/stylelint-scss) (a collection of rules specific to SCSS). +This config includes the [postcss-scss syntax](https://www.npmjs.com/package/postcss-scss), configures the [built-in rules](../user-guide/rules.md) for SCSS, and includes the [stylelint-scss plugin](https://www.npmjs.com/package/stylelint-scss) (a collection of rules specific to SCSS). If you use Prettier alongside Stylelint, you should use their [shared config for SCSS](https://www.npmjs.com/package/stylelint-config-prettier-scss): @@ -148,7 +148,7 @@ You can adapt your: - [rules](configure.md#rules) - [plugins](configure.md#plugins) -We recommend you add [more of the rules that enforce conventions](rules/list.md#enforce-conventions) to your configuration, e.g. [`unit-allowed-list`](../../lib/rules/unit-allowed-list/README.md) and [`selector-max-id`](../../lib/rules/selector-max-id/README.md). These are powerful rules that you can use to enforce non-stylistic consistency in your code. +We recommend you add [more of the rules that enforce conventions](rules.md#enforce-non-stylistic-conventions) to your configuration, e.g. [`unit-allowed-list`](../../lib/rules/unit-allowed-list/README.md) and [`selector-max-id`](../../lib/rules/selector-max-id/README.md). These are powerful rules that you can use to enforce non-stylistic consistency in your code. You can add plugins written by the community to lint more things. For example, you may want to use the [stylelint-csstree-validator plugin](https://www.npmjs.com/package/stylelint-csstree-validator) to validate property and value pairs. diff --git a/docs/user-guide/rules/regex.md b/docs/user-guide/regex.md similarity index 87% rename from docs/user-guide/rules/regex.md rename to docs/user-guide/regex.md index 71f15bfe5e..25f982ab03 100644 --- a/docs/user-guide/rules/regex.md +++ b/docs/user-guide/regex.md @@ -1,13 +1,11 @@ -# Using regex in rules +# Using regex -The following classes of rules support regex: +You can use regex in the `ignore*` secondary options and following classes of rules: - `*-allowed-list` - `*-disallowed-list` - `*-pattern` -As does the `ignore*` secondary options. - ## Enforce a case You can use the regex that corresponds to your chosen case convention: diff --git a/docs/user-guide/rules.md b/docs/user-guide/rules.md new file mode 100644 index 0000000000..cbe3d0b426 --- /dev/null +++ b/docs/user-guide/rules.md @@ -0,0 +1,457 @@ +# Rules + +There are over 170 rules that help you: + +- [avoid errors](#avoid-errors) +- [enforce non-stylistic conventions](#enforce-non-stylistic-conventions) +- [enforce stylistic conventions](#enforce-stylistic-conventions) (frozen) + +The rules: + +- are for standard CSS syntax only +- are generally useful; not tied to idiosyncratic patterns +- have a clear and unambiguous finished state +- have a singular purpose; don't overlap with other rules + +A rule's name is split into two parts: + +- the [_thing_](http://apps.workflower.fi/vocabs/css/en) the rule applies to, e.g. `at-rule` +- what the rule is checking, e.g. `disallowed-list` + +Unless it applies to the whole source, then there is no first part. + +## Avoid errors + +You can avoid errors with these `no` rules. + +### Descending + +Disallow descending things with these `no-descending` rules. + +- [`no-descending-specificity`](../../lib/rules/no-descending-specificity/README.md): Disallow selectors of lower specificity from coming after overriding selectors of higher specificity. + +### Duplicate + +Disallow duplicates with these `no-duplicate` rules. + +- [`declaration-block-no-duplicate-custom-properties`](../../lib/rules/declaration-block-no-duplicate-custom-properties/README.md): Disallow duplicate custom properties within declaration blocks. +- [`declaration-block-no-duplicate-properties`](../../lib/rules/declaration-block-no-duplicate-properties/README.md): Disallow duplicate properties within declaration blocks (Autofixable). +- [`font-family-no-duplicate-names`](../../lib/rules/font-family-no-duplicate-names/README.md): Disallow duplicate names within font families. +- [`keyframe-block-no-duplicate-selectors`](../../lib/rules/keyframe-block-no-duplicate-selectors/README.md): Disallow duplicate selectors within keyframe blocks. +- [`no-duplicate-at-import-rules`](../../lib/rules/no-duplicate-at-import-rules/README.md): Disallow duplicate `@import` rules. +- [`no-duplicate-selectors`](../../lib/rules/no-duplicate-selectors/README.md): Disallow duplicate selectors. + +### Empty + +Disallow empty things with these `no-empty` rules. + +- [`block-no-empty`](../../lib/rules/block-no-empty/README.md): Disallow empty blocks. +- [`comment-no-empty`](../../lib/rules/comment-no-empty/README.md): Disallow empty comments. +- [`no-empty-source`](../../lib/rules/no-empty-source/README.md): Disallow empty sources. + +### Invalid + +Disallow invalid syntax with these (sometimes implicit) `no-invalid` rules. + +- [`color-no-invalid-hex`](../../lib/rules/color-no-invalid-hex/README.md): Disallow invalid hex colors. +- [`function-calc-no-unspaced-operator`](../../lib/rules/function-calc-no-unspaced-operator/README.md): Disallow invalid unspaced operator within `calc` functions (Autofixable). +- [`keyframe-declaration-no-important`](../../lib/rules/keyframe-declaration-no-important/README.md): Disallow invalid `!important` within keyframe declarations. +- [`named-grid-areas-no-invalid`](../../lib/rules/named-grid-areas-no-invalid/README.md): Disallow invalid named grid areas. +- [`no-invalid-double-slash-comments`](../../lib/rules/no-invalid-double-slash-comments/README.md): Disallow invalid double-slash comments. +- [`no-invalid-position-at-import-rule`](../../lib/rules/no-invalid-position-at-import-rule/README.md): Disallow invalid position `@import` rules. +- [`string-no-newline`](../../lib/rules/string-no-newline/README.md): Disallow invalid newlines within strings. + +### Irregular + +Disallow irregular things with these `no-irregular` rules. + +- [`no-irregular-whitespace`](../../lib/rules/no-irregular-whitespace/README.md): Disallow irregular whitespace. + +### Missing + +Disallow missing things with these `no-missing` rules. + +- [`custom-property-no-missing-var-function`](../../lib/rules/custom-property-no-missing-var-function/README.md): Disallow missing `var` function for custom properties. +- [`font-family-no-missing-generic-family-keyword`](../../lib/rules/font-family-no-missing-generic-family-keyword/README.md): Disallow a missing generic family keyword within font families. + +### Non-standard + +Disallow non-standard things with these `no-nonstandard` rules. + +- [`function-linear-gradient-no-nonstandard-direction`](../../lib/rules/function-linear-gradient-no-nonstandard-direction/README.md): Disallow non-standard direction values for linerar gradient functions. + +### Overrides + +Disallow overrides with these `no-overrides` rules. + +- [`declaration-block-no-shorthand-property-overrides`](../../lib/rules/declaration-block-no-shorthand-property-overrides/README.md): Disallow shorthand properties that override related longhand properties. + +### Unknown + +Disallow unknown things with these `no-unknown` rules. + +- [`annotation-no-unknown`](../../lib/rules/annotation-no-unknown/README.md): Disallow unknown annotations. +- [`at-rule-no-unknown`](../../lib/rules/at-rule-no-unknown/README.md): Disallow unknown at-rules. +- [`function-no-unknown`](../../lib/rules/function-no-unknown/README.md): Disallow unknown functions. +- [`media-feature-name-no-unknown`](../../lib/rules/media-feature-name-no-unknown/README.md): Disallow unknown media feature names. +- [`no-unknown-animations`](../../lib/rules/no-unknown-animations/README.md): Disallow unknown animations. +- [`property-no-unknown`](../../lib/rules/property-no-unknown/README.md): Disallow unknown properties. +- [`selector-pseudo-class-no-unknown`](../../lib/rules/selector-pseudo-class-no-unknown/README.md): Disallow unknown pseudo-class selectors. +- [`selector-pseudo-element-no-unknown`](../../lib/rules/selector-pseudo-element-no-unknown/README.md): Disallow unknown pseudo-element selectors. +- [`selector-type-no-unknown`](../../lib/rules/selector-type-no-unknown/README.md): Disallow unknown type selectors. +- [`unit-no-unknown`](../../lib/rules/unit-no-unknown/README.md): Disallow unknown units. + +## Enforce non-stylistic conventions + +You can enforce non-stylistic conventions with these `no` and `list` rules. They are powerful rules for making your CSS consistent. You'll need to configure most of them to suit your needs. + +### Allowed, disallowed & required + +Allow, disallow or require things with these `allowed-list`, `disallowed-list`, `required-list` and `no` rules. + +#### At-rule + +- [`at-rule-allowed-list`](../../lib/rules/at-rule-allowed-list/README.md): Specify a list of allowed at-rules. +- [`at-rule-disallowed-list`](../../lib/rules/at-rule-disallowed-list/README.md): Specify a list of disallowed at-rules. +- [`at-rule-no-vendor-prefix`](../../lib/rules/at-rule-no-vendor-prefix/README.md): Disallow vendor prefixes for at-rules (Autofixable). +- [`at-rule-property-required-list`](../../lib/rules/at-rule-property-required-list/README.md): Specify a list of required properties for an at-rule. + +#### Color + +- [`color-hex-alpha`](../../lib/rules/color-hex-alpha/README.md): Require or disallow alpha channel for hex colors. +- [`color-named`](../../lib/rules/color-named/README.md): Require (where possible) or disallow named colors. +- [`color-no-hex`](../../lib/rules/color-no-hex/README.md): Disallow hex colors. + +#### Comment + +- [`comment-word-disallowed-list`](../../lib/rules/comment-word-disallowed-list/README.md): Specify a list of disallowed words within comments. + +#### Declaration + +- [`declaration-no-important`](../../lib/rules/declaration-no-important/README.md): Disallow `!important` within declarations. +- [`declaration-property-unit-allowed-list`](../../lib/rules/declaration-property-unit-allowed-list/README.md): Specify a list of allowed property and unit pairs within declarations. +- [`declaration-property-unit-disallowed-list`](../../lib/rules/declaration-property-unit-disallowed-list/README.md): Specify a list of disallowed property and unit pairs within declarations. +- [`declaration-property-value-allowed-list`](../../lib/rules/declaration-property-value-allowed-list/README.md): Specify a list of allowed property and value pairs within declarations. +- [`declaration-property-value-disallowed-list`](../../lib/rules/declaration-property-value-disallowed-list/README.md): Specify a list of disallowed property and value pairs within declarations. + +#### Function + +- [`function-allowed-list`](../../lib/rules/function-allowed-list/README.md): Specify a list of allowed functions. +- [`function-disallowed-list`](../../lib/rules/function-disallowed-list/README.md): Specify a list of disallowed functions. +- [`function-url-no-scheme-relative`](../../lib/rules/function-url-no-scheme-relative/README.md): Disallow scheme-relative URLs. +- [`function-url-scheme-allowed-list`](../../lib/rules/function-url-scheme-allowed-list/README.md): Specify a list of allowed URL schemes. +- [`function-url-scheme-disallowed-list`](../../lib/rules/function-url-scheme-disallowed-list/README.md): Specify a list of disallowed URL schemes. + +#### Length + +- [`length-zero-no-unit`](../../lib/rules/length-zero-no-unit/README.md): Disallow units for zero lengths (Autofixable). + +#### Media feature + +- [`media-feature-name-allowed-list`](../../lib/rules/media-feature-name-allowed-list/README.md): Specify a list of allowed media feature names. +- [`media-feature-name-disallowed-list`](../../lib/rules/media-feature-name-disallowed-list/README.md): Specify a list of disallowed media feature names. +- [`media-feature-name-no-vendor-prefix`](../../lib/rules/media-feature-name-no-vendor-prefix/README.md): Disallow vendor prefixes for media feature names (Autofixable). +- [`media-feature-name-value-allowed-list`](../../lib/rules/media-feature-name-value-allowed-list/README.md): Specify a list of allowed media feature name and value pairs. + +#### Property + +- [`property-allowed-list`](../../lib/rules/property-allowed-list/README.md): Specify a list of allowed properties. +- [`property-disallowed-list`](../../lib/rules/property-disallowed-list/README.md): Specify a list of disallowed properties. +- [`property-no-vendor-prefix`](../../lib/rules/property-no-vendor-prefix/README.md): Disallow vendor prefixes for properties (Autofixable). + +#### Rule + +- [`rule-selector-property-disallowed-list`](../../lib/rules/rule-selector-property-disallowed-list/README.md): Specify a list of disallowed properties for selectors within rules. + +#### Selector + +- [`selector-attribute-name-disallowed-list`](../../lib/rules/selector-attribute-name-disallowed-list/README.md): Specify a list of disallowed attribute names. +- [`selector-attribute-operator-allowed-list`](../../lib/rules/selector-attribute-operator-allowed-list/README.md): Specify a list of allowed attribute operators. +- [`selector-attribute-operator-disallowed-list`](../../lib/rules/selector-attribute-operator-disallowed-list/README.md): Specify a list of disallowed attribute operators. +- [`selector-combinator-allowed-list`](../../lib/rules/selector-combinator-allowed-list/README.md): Specify a list of allowed combinators. +- [`selector-combinator-disallowed-list`](../../lib/rules/selector-combinator-disallowed-list/README.md): Specify a list of disallowed combinators. +- [`selector-disallowed-list`](../../lib/rules/selector-disallowed-list/README.md): Specify a list of disallowed selectors. +- [`selector-no-qualifying-type`](../../lib/rules/selector-no-qualifying-type/README.md): Disallow qualifying a selector by type. +- [`selector-no-vendor-prefix`](../../lib/rules/selector-no-vendor-prefix/README.md): Disallow vendor prefixes for selectors (Autofixable). +- [`selector-pseudo-class-allowed-list`](../../lib/rules/selector-pseudo-class-allowed-list/README.md): Specify a list of allowed pseudo-class selectors. +- [`selector-pseudo-class-disallowed-list`](../../lib/rules/selector-pseudo-class-disallowed-list/README.md): Specify a list of disallowed pseudo-class selectors. +- [`selector-pseudo-element-allowed-list`](../../lib/rules/selector-pseudo-element-allowed-list/README.md): Specify a list of allowed pseudo-element selectors. +- [`selector-pseudo-element-disallowed-list`](../../lib/rules/selector-pseudo-element-disallowed-list/README.md): Specify a list of disallowed pseudo-element selectors. + +#### Unit + +- [`unit-allowed-list`](../../lib/rules/unit-allowed-list/README.md): Specify a list of allowed units. +- [`unit-disallowed-list`](../../lib/rules/unit-disallowed-list/README.md): Specify a list of disallowed units. + +#### Value + +- [`value-no-vendor-prefix`](../../lib/rules/value-no-vendor-prefix/README.md): Disallow vendor prefixes for values (Autofixable). + +### Max & min + +Apply limits with these `max` and `min` rules. + +- [`declaration-block-single-line-max-declarations`](../../lib/rules/declaration-block-single-line-max-declarations/README.md): Limit the number of declarations within a single-line declaration block. +- [`declaration-property-max-values`](../../lib/rules/declaration-property-max-values/README.md): Limit the number of values for a list of properties within declarations. +- [`max-nesting-depth`](../../lib/rules/max-nesting-depth/README.md): Limit the depth of nesting. +- [`number-max-precision`](../../lib/rules/number-max-precision/README.md): Limit the number of decimal places allowed in numbers. +- [`selector-max-attribute`](../../lib/rules/selector-max-attribute/README.md): Limit the number of attribute selectors in a selector. +- [`selector-max-class`](../../lib/rules/selector-max-class/README.md): Limit the number of classes in a selector. +- [`selector-max-combinators`](../../lib/rules/selector-max-combinators/README.md): Limit the number of combinators in a selector. +- [`selector-max-compound-selectors`](../../lib/rules/selector-max-compound-selectors/README.md): Limit the number of compound selectors in a selector. +- [`selector-max-id`](../../lib/rules/selector-max-id/README.md): Limit the number of ID selectors in a selector. +- [`selector-max-pseudo-class`](../../lib/rules/selector-max-pseudo-class/README.md): Limit the number of pseudo-classes in a selector. +- [`selector-max-specificity`](../../lib/rules/selector-max-specificity/README.md): Limit the specificity of selectors. +- [`selector-max-type`](../../lib/rules/selector-max-type/README.md): Limit the number of type selectors in a selector. +- [`selector-max-universal`](../../lib/rules/selector-max-universal/README.md): Limit the number of universal selectors in a selector. +- [`time-min-milliseconds`](../../lib/rules/time-min-milliseconds/README.md): Limit the minimum number of milliseconds for time values. + +### Notation + +Enforce one representation of things that have multiple with these `notation` (sometimes implicit) rules. + +- [`alpha-value-notation`](../../lib/rules/alpha-value-notation/README.md): Specify percentage or number notation for alpha-values (Autofixable). +- [`color-function-notation`](../../lib/rules/color-function-notation/README.md): Specify modern or legacy notation for color-functions (Autofixable). +- [`color-hex-length`](../../lib/rules/color-hex-length/README.md): Specify short or long notation for hex colors (Autofixable). +- [`font-weight-notation`](../../lib/rules/font-weight-notation/README.md): Specify numeric or named notation for font weights (Autofixable). +- [`hue-degree-notation`](../../lib/rules/hue-degree-notation/README.md): Specify number or angle notation for degree hues (Autofixable). +- [`import-notation`](../../lib/rules/import-notation/README.md): Specify string or URL notation for `@import` rules (Autofixable). +- [`keyframe-selector-notation`](../../lib/rules/keyframe-selector-notation/README.md): Specify keyword or percentage notation for keyframe selectors (Autofixable). +- [`selector-not-notation`](../../lib/rules/selector-not-notation/README.md): Specify simple or complex notation for `:not()` pseudo-class selectors (Autofixable). +- [`selector-pseudo-element-colon-notation`](../../lib/rules/selector-pseudo-element-colon-notation/README.md): Specify single or double colon notation for applicable pseudo-element selectors (Autofixable). + +### Pattern + +Enforce naming conventions with these `pattern` rules. + +- [`comment-pattern`](../../lib/rules/comment-pattern/README.md): Specify a pattern for comments. +- [`custom-media-pattern`](../../lib/rules/custom-media-pattern/README.md): Specify a pattern for custom media query names. +- [`custom-property-pattern`](../../lib/rules/custom-property-pattern/README.md): Specify a pattern for custom properties. +- [`keyframes-name-pattern`](../../lib/rules/keyframes-name-pattern/README.md): Specify a pattern for keyframe names. +- [`selector-class-pattern`](../../lib/rules/selector-class-pattern/README.md): Specify a pattern for class selectors. +- [`selector-id-pattern`](../../lib/rules/selector-id-pattern/README.md): Specify a pattern for ID selectors. +- [`selector-nested-pattern`](../../lib/rules/selector-nested-pattern/README.md): Specify a pattern for the selectors of rules nested within rules. + +### Quotes + +Require or disallow quotes with these `quotes` rules. + +- [`font-family-name-quotes`](../../lib/rules/font-family-name-quotes/README.md): Require or disallow quotes for font family names (Autofixable). +- [`function-url-quotes`](../../lib/rules/function-url-quotes/README.md): Require or disallow quotes for urls. +- [`selector-attribute-quotes`](../../lib/rules/selector-attribute-quotes/README.md): Require or disallow quotes for attribute values (Autofixable). + +### Redundant + +Disallow redundancy with these `no-redundant` rules. + +- [`declaration-block-no-redundant-longhand-properties`](../../lib/rules/declaration-block-no-redundant-longhand-properties/README.md): Disallow redundant longhand properties within declaration-block. +- [`shorthand-property-no-redundant-values`](../../lib/rules/shorthand-property-no-redundant-values/README.md): Disallow redundant values within shorthand properties (Autofixable). + +## Enforce stylistic conventions + +We have frozen these rules — we won't fix bugs nor add options, and we will deprecate then remove them in future releases. We recommend you use a pretty printer (like Prettier) alongside Stylelint rather than these rules. If you prefer to use Stylelint to enforce stylistic consistency, you can [migrate the rules you need to a plugin](../developer-guide/plugins.md). + +The whitespace rules allow you to enforce an empty line, a single space, a newline or no space in some specific part of the stylesheet. + +The whitespace rules combine two sets of keywords: + +- `before`, `after` and `inside` to specify where the whitespace (if any) is expected +- `empty-line`, `space` and `newline` to specify whether a single empty line, a single space, a single newline or no space is expected there + +For example, specifying if a single empty line or no space must come before all the comments in a stylesheet: + +- `comment-empty-line-before`: `string` - `"always"|"never"` + + +```css +a {} + ← +/* comment */ ↑ + ↑ +/** ↑ + * This empty line */ +```` + +Additionally, some whitespace rules use an additional set of keywords: + +- `comma`, `colon`, `semicolon`, `opening-brace`, `closing-brace`, `opening-parenthesis`, `closing-parenthesis`, `operator` or `range-operator` are used if a specific piece of punctuation in the _thing_ is being targeted + +For example, specifying if a single space or no space must follow a comma in a function: + +- `function-comma-space-after`: `string` - `"always"|"never"` + + +```css +a { transform: translate(1, 1) } +/** ↑ + * The space after this commas */ +``` + +The plural of the punctuation is used for `inside` rules. For example, specifying if a single space or no space must be inside the parentheses of a function: + +- `function-parentheses-space-inside`: `string` - `"always"|"never"` + + +```css +a { transform: translate( 1, 1 ); } +/** ↑ ↑ + * The space inside these two parentheses */ +``` + +### Not handled by pretty printers + +#### Value + +- [`value-keyword-case`](../../lib/rules/value-keyword-case/README.md): Specify lowercase or uppercase for keywords values (Autofixable). + +#### Function + +- [`function-name-case`](../../lib/rules/function-name-case/README.md): Specify lowercase or uppercase for function names (Autofixable). + +#### Custom property + +- [`custom-property-empty-line-before`](../../lib/rules/custom-property-empty-line-before/README.md): Require or disallow an empty line before custom properties (Autofixable). + +#### Selector + +- [`selector-type-case`](../../lib/rules/selector-type-case/README.md): Specify lowercase or uppercase for type selectors (Autofixable). + +#### Rule + +- [`rule-empty-line-before`](../../lib/rules/rule-empty-line-before/README.md): Require or disallow an empty line before rules (Autofixable). + +#### At-rule + +- [`at-rule-empty-line-before`](../../lib/rules/at-rule-empty-line-before/README.md): Require or disallow an empty line before at-rules (Autofixable). + +#### Comment + +- [`comment-empty-line-before`](../../lib/rules/comment-empty-line-before/README.md): Require or disallow an empty line before comments (Autofixable). +- [`comment-whitespace-inside`](../../lib/rules/comment-whitespace-inside/README.md): Require or disallow whitespace on the inside of comment markers (Autofixable). + +### Handled by pretty printers + +#### Color + +- [`color-hex-case`](../../lib/rules/color-hex-case/README.md): Specify lowercase or uppercase for hex colors (Autofixable). + +#### Function + +- [`function-comma-newline-after`](../../lib/rules/function-comma-newline-after/README.md): Require a newline or disallow whitespace after the commas of functions (Autofixable). +- [`function-comma-newline-before`](../../lib/rules/function-comma-newline-before/README.md): Require a newline or disallow whitespace before the commas of functions (Autofixable). +- [`function-comma-space-after`](../../lib/rules/function-comma-space-after/README.md): Require a single space or disallow whitespace after the commas of functions (Autofixable). +- [`function-comma-space-before`](../../lib/rules/function-comma-space-before/README.md): Require a single space or disallow whitespace before the commas of functions (Autofixable). +- [`function-max-empty-lines`](../../lib/rules/function-max-empty-lines/README.md): Limit the number of adjacent empty lines within functions (Autofixable). +- [`function-parentheses-newline-inside`](../../lib/rules/function-parentheses-newline-inside/README.md): Require a newline or disallow whitespace on the inside of the parentheses of functions (Autofixable). +- [`function-parentheses-space-inside`](../../lib/rules/function-parentheses-space-inside/README.md): Require a single space or disallow whitespace on the inside of the parentheses of functions (Autofixable). +- [`function-whitespace-after`](../../lib/rules/function-whitespace-after/README.md): Require or disallow whitespace after functions (Autofixable). + +#### Number + +- [`number-leading-zero`](../../lib/rules/number-leading-zero/README.md): Require or disallow a leading zero for fractional numbers less than 1 (Autofixable). +- [`number-no-trailing-zeros`](../../lib/rules/number-no-trailing-zeros/README.md): Disallow trailing zeros in numbers (Autofixable). + +#### String + +- [`string-quotes`](../../lib/rules/string-quotes/README.md): Specify single or double quotes around strings (Autofixable). + +#### Unit + +- [`unit-case`](../../lib/rules/unit-case/README.md): Specify lowercase or uppercase for units (Autofixable). + +#### Value list + +- [`value-list-comma-newline-after`](../../lib/rules/value-list-comma-newline-after/README.md): Require a newline or disallow whitespace after the commas of value lists (Autofixable). +- [`value-list-comma-newline-before`](../../lib/rules/value-list-comma-newline-before/README.md): Require a newline or disallow whitespace before the commas of value lists. +- [`value-list-comma-space-after`](../../lib/rules/value-list-comma-space-after/README.md): Require a single space or disallow whitespace after the commas of value lists (Autofixable). +- [`value-list-comma-space-before`](../../lib/rules/value-list-comma-space-before/README.md): Require a single space or disallow whitespace before the commas of value lists (Autofixable). +- [`value-list-max-empty-lines`](../../lib/rules/value-list-max-empty-lines/README.md): Limit the number of adjacent empty lines within value lists (Autofixable). + +#### Property + +- [`property-case`](../../lib/rules/property-case/README.md): Specify lowercase or uppercase for properties (Autofixable). + +#### Declaration + +- [`declaration-bang-space-after`](../../lib/rules/declaration-bang-space-after/README.md): Require a single space or disallow whitespace after the bang of declarations (Autofixable). +- [`declaration-bang-space-before`](../../lib/rules/declaration-bang-space-before/README.md): Require a single space or disallow whitespace before the bang of declarations (Autofixable). +- [`declaration-colon-newline-after`](../../lib/rules/declaration-colon-newline-after/README.md): Require a newline or disallow whitespace after the colon of declarations (Autofixable). +- [`declaration-colon-space-after`](../../lib/rules/declaration-colon-space-after/README.md): Require a single space or disallow whitespace after the colon of declarations (Autofixable). +- [`declaration-colon-space-before`](../../lib/rules/declaration-colon-space-before/README.md): Require a single space or disallow whitespace before the colon of declarations (Autofixable). +- [`declaration-empty-line-before`](../../lib/rules/declaration-empty-line-before/README.md): Require or disallow an empty line before declarations (Autofixable). + +#### Declaration block + +- [`declaration-block-semicolon-newline-after`](../../lib/rules/declaration-block-semicolon-newline-after/README.md): Require a newline or disallow whitespace after the semicolons of declaration blocks (Autofixable). +- [`declaration-block-semicolon-newline-before`](../../lib/rules/declaration-block-semicolon-newline-before/README.md): Require a newline or disallow whitespace before the semicolons of declaration blocks. +- [`declaration-block-semicolon-space-after`](../../lib/rules/declaration-block-semicolon-space-after/README.md): Require a single space or disallow whitespace after the semicolons of declaration blocks (Autofixable). +- [`declaration-block-semicolon-space-before`](../../lib/rules/declaration-block-semicolon-space-before/README.md): Require a single space or disallow whitespace before the semicolons of declaration blocks (Autofixable). +- [`declaration-block-trailing-semicolon`](../../lib/rules/declaration-block-trailing-semicolon/README.md): Require or disallow a trailing semicolon within declaration blocks (Autofixable). + +#### Block + +- [`block-closing-brace-empty-line-before`](../../lib/rules/block-closing-brace-empty-line-before/README.md): Require or disallow an empty line before the closing brace of blocks (Autofixable). +- [`block-closing-brace-newline-after`](../../lib/rules/block-closing-brace-newline-after/README.md): Require a newline or disallow whitespace after the closing brace of blocks (Autofixable). +- [`block-closing-brace-newline-before`](../../lib/rules/block-closing-brace-newline-before/README.md): Require a newline or disallow whitespace before the closing brace of blocks (Autofixable). +- [`block-closing-brace-space-after`](../../lib/rules/block-closing-brace-space-after/README.md): Require a single space or disallow whitespace after the closing brace of blocks. +- [`block-closing-brace-space-before`](../../lib/rules/block-closing-brace-space-before/README.md): Require a single space or disallow whitespace before the closing brace of blocks (Autofixable). +- [`block-opening-brace-newline-after`](../../lib/rules/block-opening-brace-newline-after/README.md): Require a newline after the opening brace of blocks (Autofixable). +- [`block-opening-brace-newline-before`](../../lib/rules/block-opening-brace-newline-before/README.md): Require a newline or disallow whitespace before the opening brace of blocks (Autofixable). +- [`block-opening-brace-space-after`](../../lib/rules/block-opening-brace-space-after/README.md): Require a single space or disallow whitespace after the opening brace of blocks (Autofixable). +- [`block-opening-brace-space-before`](../../lib/rules/block-opening-brace-space-before/README.md): Require a single space or disallow whitespace before the opening brace of blocks (Autofixable). + +#### Selector + +- [`selector-attribute-brackets-space-inside`](../../lib/rules/selector-attribute-brackets-space-inside/README.md): Require a single space or disallow whitespace on the inside of the brackets within attribute selectors (Autofixable). +- [`selector-attribute-operator-space-after`](../../lib/rules/selector-attribute-operator-space-after/README.md): Require a single space or disallow whitespace after operators within attribute selectors (Autofixable). +- [`selector-attribute-operator-space-before`](../../lib/rules/selector-attribute-operator-space-before/README.md): Require a single space or disallow whitespace before operators within attribute selectors (Autofixable). +- [`selector-combinator-space-after`](../../lib/rules/selector-combinator-space-after/README.md): Require a single space or disallow whitespace after the combinators of selectors (Autofixable). +- [`selector-combinator-space-before`](../../lib/rules/selector-combinator-space-before/README.md): Require a single space or disallow whitespace before the combinators of selectors (Autofixable). +- [`selector-descendant-combinator-no-non-space`](../../lib/rules/selector-descendant-combinator-no-non-space/README.md): Disallow non-space characters for descendant combinators of selectors (Autofixable). +- [`selector-max-empty-lines`](../../lib/rules/selector-max-empty-lines/README.md): Limit the number of adjacent empty lines within selectors (Autofixable). +- [`selector-pseudo-class-case`](../../lib/rules/selector-pseudo-class-case/README.md): Specify lowercase or uppercase for pseudo-class selectors (Autofixable). +- [`selector-pseudo-class-parentheses-space-inside`](../../lib/rules/selector-pseudo-class-parentheses-space-inside/README.md): Require a single space or disallow whitespace on the inside of the parentheses within pseudo-class selectors (Autofixable). +- [`selector-pseudo-element-case`](../../lib/rules/selector-pseudo-element-case/README.md): Specify lowercase or uppercase for pseudo-element selectors (Autofixable). + +#### Selector list + +- [`selector-list-comma-newline-after`](../../lib/rules/selector-list-comma-newline-after/README.md): Require a newline or disallow whitespace after the commas of selector lists (Autofixable). +- [`selector-list-comma-newline-before`](../../lib/rules/selector-list-comma-newline-before/README.md): Require a newline or disallow whitespace before the commas of selector lists (Autofixable). +- [`selector-list-comma-space-after`](../../lib/rules/selector-list-comma-space-after/README.md): Require a single space or disallow whitespace after the commas of selector lists (Autofixable). +- [`selector-list-comma-space-before`](../../lib/rules/selector-list-comma-space-before/README.md): Require a single space or disallow whitespace before the commas of selector lists (Autofixable). + +#### Media feature + +- [`media-feature-colon-space-after`](../../lib/rules/media-feature-colon-space-after/README.md): Require a single space or disallow whitespace after the colon in media features (Autofixable). +- [`media-feature-colon-space-before`](../../lib/rules/media-feature-colon-space-before/README.md): Require a single space or disallow whitespace before the colon in media features (Autofixable). +- [`media-feature-name-case`](../../lib/rules/media-feature-name-case/README.md): Specify lowercase or uppercase for media feature names (Autofixable). +- [`media-feature-parentheses-space-inside`](../../lib/rules/media-feature-parentheses-space-inside/README.md): Require a single space or disallow whitespace on the inside of the parentheses within media features (Autofixable). +- [`media-feature-range-operator-space-after`](../../lib/rules/media-feature-range-operator-space-after/README.md): Require a single space or disallow whitespace after the range operator in media features (Autofixable). +- [`media-feature-range-operator-space-before`](../../lib/rules/media-feature-range-operator-space-before/README.md): Require a single space or disallow whitespace before the range operator in media features (Autofixable). + +#### Media query list + +- [`media-query-list-comma-newline-after`](../../lib/rules/media-query-list-comma-newline-after/README.md): Require a newline or disallow whitespace after the commas of media query lists (Autofixable). +- [`media-query-list-comma-newline-before`](../../lib/rules/media-query-list-comma-newline-before/README.md): Require a newline or disallow whitespace before the commas of media query lists. +- [`media-query-list-comma-space-after`](../../lib/rules/media-query-list-comma-space-after/README.md): Require a single space or disallow whitespace after the commas of media query lists (Autofixable). +- [`media-query-list-comma-space-before`](../../lib/rules/media-query-list-comma-space-before/README.md): Require a single space or disallow whitespace before the commas of media query lists (Autofixable). + +#### At-rule + +- [`at-rule-name-case`](../../lib/rules/at-rule-name-case/README.md): Specify lowercase or uppercase for at-rules names (Autofixable). +- [`at-rule-name-newline-after`](../../lib/rules/at-rule-name-newline-after/README.md): Require a newline after at-rule names. +- [`at-rule-name-space-after`](../../lib/rules/at-rule-name-space-after/README.md): Require a single space after at-rule names (Autofixable). +- [`at-rule-semicolon-newline-after`](../../lib/rules/at-rule-semicolon-newline-after/README.md): Require a newline after the semicolon of at-rules (Autofixable). +- [`at-rule-semicolon-space-before`](../../lib/rules/at-rule-semicolon-space-before/README.md): Require a single space or disallow whitespace before the semicolons of at-rules. + +#### General / Sheet + +- [`indentation`](../../lib/rules/indentation/README.md): Specify indentation (Autofixable). +- [`linebreaks`](../../lib/rules/linebreaks/README.md): Specify unix or windows linebreaks (Autofixable). +- [`max-empty-lines`](../../lib/rules/max-empty-lines/README.md): Limit the number of adjacent empty lines (Autofixable). +- [`max-line-length`](../../lib/rules/max-line-length/README.md): Limit the length of a line. +- [`no-empty-first-line`](../../lib/rules/no-empty-first-line/README.md): Disallow empty first lines (Autofixable). +- [`no-eol-whitespace`](../../lib/rules/no-eol-whitespace/README.md): Disallow end-of-line whitespace (Autofixable). +- [`no-extra-semicolons`](../../lib/rules/no-extra-semicolons/README.md): Disallow extra semicolons (Autofixable). +- [`no-missing-end-of-source-newline`](../../lib/rules/no-missing-end-of-source-newline/README.md): Disallow missing end-of-source newlines (Autofixable). +- [`unicode-bom`](../../lib/rules/unicode-bom/README.md): Require or disallow Unicode BOM. diff --git a/docs/user-guide/rules/about.md b/docs/user-guide/rules/about.md deleted file mode 100644 index bec52c0f5e..0000000000 --- a/docs/user-guide/rules/about.md +++ /dev/null @@ -1,220 +0,0 @@ -# About rules - -The built-in rules: - -- apply to standard CSS syntax only -- are generally useful; not tied to idiosyncratic patterns -- have a clear and unambiguous finished state -- have a singular purpose -- are standalone, and don't rely on another rule -- do not contain functionality that overlaps with another rule - -In contrast, a plugin is a community rule that doesn't adhere to all these criteria. It might support a particular methodology or toolset, or apply to _non-standard_ constructs and features, or be for specific use cases. - -## Options - -Each rule accepts a primary and an optional secondary option. - -### Primary - -Every rule _must have_ a primary option. For example, in: - -- `"font-weight-notation": "numeric"`, the primary option is `"numeric"` -- `"selector-max-type": [2, { "ignoreTypes": ["custom"] }]`, the primary option is `2` - -### Secondary - -Some rules require extra flexibility to address edge cases. These can use an optional secondary options object. For example, in: - -- `"font-weight-notation": "numeric"` there is no secondary options object -- `"selector-max-type": [2, { "ignore": ["descendant] }]`, the secondary options object is `{ "ignore": ["descendant] }` - -The most typical secondary options are `"ignore": []` and `"except": []`. - -#### Keyword `"ignore"` and `"except"` - -The `"ignore"` and `"except"` options accept an array of predefined keyword options, e.g. `["relative", "first-nested", "descendant"]`: - -- `"ignore"` skips-over a particular pattern -- `"except"` inverts the primary option for a particular pattern - -#### User-defined `"ignore*"` - -Some rules accept a _user-defined_ list of things to ignore. This takes the form of `"ignore": []`, e.g. `"ignoreAtRules": []`. - -The `ignore*` options let users ignore non-standard syntax at the _configuration level_. For example, the: - -- `:global` and `:local` pseudo-classes introduced in CSS Modules -- `@debug` and `@extend` at-rules introduced in SCSS - -Methodologies and language extensions come and go quickly, and this approach ensures our codebase does not become littered with code for obsolete things. - -## Names - -Rule are consistently named, they are: - -- made up of lowercase words separated by hyphens -- split into two parts - -The first part describes what [_thing_](http://apps.workflower.fi/vocabs/css/en) the rule applies to. The second part describes what the rule is checking. - -For example: - -``` -"shorthand-property-no-redundant-values" - ↑ ↑ - the thing what the rule is checking -``` - -There is no first part when the rule applies to the whole stylesheet. - -For example: - -``` -"no-duplicate-selectors" -"max-nesting-depth" - ↑ - what the rules are checking -``` - -_Rules are named to encourage explicit, rather than implicit, options._ For example, `font-weight-notation: "numeric"|"named-where-possible"` rather than `font-weight-numeric: "always"|"never"`. As `font-weight-named: "never"` _implies_ always numeric, whereas `font-weight-notation: "numeric"` makes it _explicit_. - -### Notation rules - -`*-notation` rules _set a preference_ for a notation. - -For example, specifying whether alpha values should be percentages or numbers: - -- `alpha-value-notation`: `string` - `"percentage"|"number"` - - -```css -a { color: rgb(0 0 0 / 10%) } -/** ↑ - * The notation of this alpha value */ -``` - -### No rules - -Most rules require _or_ disallow something. - -For example, whether colors _must_ or _must not_ be named: - -- `color-named`: `string` - `"always-where-possible"|"never"` - - `"always-where-possible"` - colors _must always (where possible)_ be named - - `"never"` - colors _must never_ be named - - -```css -a { color: red; } -/** ↑ - * This named color */ -``` - -However, some rules _just disallow_ something. These rules include `*-no-*` in their name. - -For example, to disallow empty blocks: - -- `block-no-empty` - blocks _must not_ be empty - - -```css -a { } -/** ↑ - * Blocks like this */ -``` - -Notice how it does not make sense to have an option to enforce the opposite, i.e. that every block _must_ be empty. - -### Max and min rules - -`*-max-*` and `*-min-*` rules _set a limit_ to something. - -For example, specifying the maximum number of digits after the "." in a number: - -- `number-max-precision`: `int` - - -```css -a { font-size: 1.333em; } -/** ↑ - * The maximum number of digits after this "." */ -``` - -### Whitespace rules - -_These rules have been frozen in favour of using a pretty printer (like Prettier) alongside Stylelint._ - -Whitespace rules allow you to enforce an empty line, a single space, a newline or no space in some specific part of the stylesheet. - -The whitespace rules combine two sets of keywords: - -- `before`, `after` and `inside` to specify where the whitespace (if any) is expected -- `empty-line`, `space` and `newline` to specify whether a single empty line, a single space, a single newline or no space is expected there - -For example, specifying if a single empty line or no space must come before all the comments in a stylesheet: - -- `comment-empty-line-before`: `string` - `"always"|"never"` - - -```css -a {} - ← -/* comment */ ↑ - ↑ -/** ↑ - * This empty line */ -``` - -Additionally, some whitespace rules use an additional set of keywords: - -- `comma`, `colon`, `semicolon`, `opening-brace`, `closing-brace`, `opening-parenthesis`, `closing-parenthesis`, `operator` or `range-operator` are used if a specific piece of punctuation in the _thing_ is being targeted - -For example, specifying if a single space or no space must follow a comma in a function: - -- `function-comma-space-after`: `string` - `"always"|"never"` - - -```css -a { transform: translate(1, 1) } -/** ↑ - * The space after this commas */ -``` - -The plural of the punctuation is used for `inside` rules. For example, specifying if a single space or no space must be inside the parentheses of a function: - -- `function-parentheses-space-inside`: `string` - `"always"|"never"` - - -```css -a { transform: translate( 1, 1 ); } -/** ↑ ↑ - * The space inside these two parentheses */ -``` - -## READMEs - -Each rule is accompanied by a README in the following format: - -1. Rule name. -2. Single-line description. -3. Prototypical code example. -4. Expanded description (if necessary). -5. Options. -6. Example patterns that are considered problems (for each option value). -7. Example patterns that are _not_ considered problems (for each option value). -8. Optional options (if applicable). - -The single-line description is in the form of: - -- "Disallow ..." for `no` rules -- "Limit ..." for `max` rules -- "Require ..." for rules that accept `"always"` and `"never"` options -- "Specify ..." for everything else - -## Problem messages - -Each rule produces problem messages in these forms: - -- "Expected \[something\] \[in some context\]" -- "Unexpected \[something\] \[in some context\]" diff --git a/docs/user-guide/rules/list.md b/docs/user-guide/rules/list.md deleted file mode 100644 index b45d87b2f8..0000000000 --- a/docs/user-guide/rules/list.md +++ /dev/null @@ -1,417 +0,0 @@ -# List of rules - -The built-in rules help you: - -- [avoid errors](#avoid-errors) -- [enforce conventions](#enforce-conventions) - -There are also frozen rules that let you address [stylistic issues](#stylistic-issues). - -Within each cateogory, the rules are grouped by the [_thing_](http://apps.workflower.fi/vocabs/css/en) they apply to. - -## Avoid errors - -### Annotation - -- [`annotation-no-unknown`](../../../lib/rules/annotation-no-unknown/README.md): Disallow unknown annotations. - -### Color - -- [`color-no-invalid-hex`](../../../lib/rules/color-no-invalid-hex/README.md): Disallow invalid hex colors. - -### Font family - -- [`font-family-no-duplicate-names`](../../../lib/rules/font-family-no-duplicate-names/README.md): Disallow duplicate font family names. -- [`font-family-no-missing-generic-family-keyword`](../../../lib/rules/font-family-no-missing-generic-family-keyword/README.md): Disallow missing generic families in lists of font family names. - -### Named grid areas - -- [`named-grid-areas-no-invalid`](../../../lib/rules/named-grid-areas-no-invalid/README.md): Disallow invalid named grid areas. - -### Function - -- [`function-calc-no-unspaced-operator`](../../../lib/rules/function-calc-no-unspaced-operator/README.md): Disallow an unspaced operator within `calc` functions (Autofixable). -- [`function-linear-gradient-no-nonstandard-direction`](../../../lib/rules/function-linear-gradient-no-nonstandard-direction/README.md): Disallow direction values in `linear-gradient()` calls that are not valid according to the [standard syntax](https://developer.mozilla.org/en-US/docs/Web/CSS/linear-gradient#Syntax). -- [`function-no-unknown`](../../../lib/rules/function-no-unknown/README.md): Disallow unknown functions. - -### String - -- [`string-no-newline`](../../../lib/rules/string-no-newline/README.md): Disallow (unescaped) newlines in strings. - -### Unit - -- [`unit-no-unknown`](../../../lib/rules/unit-no-unknown/README.md): Disallow unknown units. - -### Custom property - -- [`custom-property-no-missing-var-function`](../../../lib/rules/custom-property-no-missing-var-function/README.md): Disallow missing `var` function for custom properties. - -### Property - -- [`property-no-unknown`](../../../lib/rules/property-no-unknown/README.md): Disallow unknown properties. - -### Keyframe declaration - -- [`keyframe-declaration-no-important`](../../../lib/rules/keyframe-declaration-no-important/README.md): Disallow `!important` within keyframe declarations. - -### Keyframe block - -- [`keyframe-block-no-duplicate-selectors`](../../../lib/rules/keyframe-block-no-duplicate-selectors/README.md): Disallow duplicate selectors within keyframe blocks. - -### Declaration block - -- [`declaration-block-no-duplicate-custom-properties`](../../../lib/rules/declaration-block-no-duplicate-custom-properties/README.md): Disallow duplicate custom properties within declaration blocks. -- [`declaration-block-no-duplicate-properties`](../../../lib/rules/declaration-block-no-duplicate-properties/README.md): Disallow duplicate properties within declaration blocks (Autofixable). -- [`declaration-block-no-shorthand-property-overrides`](../../../lib/rules/declaration-block-no-shorthand-property-overrides/README.md): Disallow shorthand properties that override related longhand properties. - -### Block - -- [`block-no-empty`](../../../lib/rules/block-no-empty/README.md): Disallow empty blocks. - -### Selector - -- [`selector-pseudo-class-no-unknown`](../../../lib/rules/selector-pseudo-class-no-unknown/README.md): Disallow unknown pseudo-class selectors. -- [`selector-pseudo-element-no-unknown`](../../../lib/rules/selector-pseudo-element-no-unknown/README.md): Disallow unknown pseudo-element selectors. -- [`selector-type-no-unknown`](../../../lib/rules/selector-type-no-unknown/README.md): Disallow unknown type selectors. - -### Media feature - -- [`media-feature-name-no-unknown`](../../../lib/rules/media-feature-name-no-unknown/README.md): Disallow unknown media feature names. - -### At-rule - -- [`at-rule-no-unknown`](../../../lib/rules/at-rule-no-unknown/README.md): Disallow unknown at-rules. - -### Comment - -- [`comment-no-empty`](../../../lib/rules/comment-no-empty/README.md): Disallow empty comments. - -### General / Sheet - -- [`no-descending-specificity`](../../../lib/rules/no-descending-specificity/README.md): Disallow selectors of lower specificity from coming after overriding selectors of higher specificity. -- [`no-duplicate-at-import-rules`](../../../lib/rules/no-duplicate-at-import-rules/README.md): Disallow duplicate `@import` rules within a stylesheet. -- [`no-duplicate-selectors`](../../../lib/rules/no-duplicate-selectors/README.md): Disallow duplicate selectors within a stylesheet. -- [`no-empty-source`](../../../lib/rules/no-empty-source/README.md): Disallow empty sources. -- [`no-invalid-double-slash-comments`](../../../lib/rules/no-invalid-double-slash-comments/README.md): Disallow double-slash comments (`//...`) which are not supported by CSS. -- [`no-invalid-position-at-import-rule`](../../../lib/rules/no-invalid-position-at-import-rule/README.md): Disallow invalid position `@import` rules within a stylesheet. - -## Enforce conventions - -### Alpha-value - -- [`alpha-value-notation`](../../../lib/rules/alpha-value-notation/README.md): Specify percentage or number notation for alpha-values (Autofixable). - -### Hue - -- [`hue-degree-notation`](../../../lib/rules/hue-degree-notation/README.md): Specify number or angle notation for degree hues (Autofixable). - -### Color - -- [`color-function-notation`](../../../lib/rules/color-function-notation/README.md): Specify modern or legacy notation for applicable color-functions (Autofixable). -- [`color-hex-alpha`](../../../lib/rules/color-hex-alpha/README.md): Require or disallow alpha channel for hex colors. -- [`color-hex-length`](../../../lib/rules/color-hex-length/README.md): Specify short or long notation for hex colors (Autofixable). -- [`color-named`](../../../lib/rules/color-named/README.md): Require (where possible) or disallow named colors. -- [`color-no-hex`](../../../lib/rules/color-no-hex/README.md): Disallow hex colors. - -### Length - -- [`length-zero-no-unit`](../../../lib/rules/length-zero-no-unit/README.md): Disallow units for zero lengths (Autofixable). - -### Font family - -- [`font-family-name-quotes`](../../../lib/rules/font-family-name-quotes/README.md): Specify whether or not quotation marks should be used around font family names (Autofixable). - -### Font weight - -- [`font-weight-notation`](../../../lib/rules/font-weight-notation/README.md): Require numeric or named (where possible) `font-weight` values. Also, when named values are expected, require only valid names (Autofixable). - -### Function - -- [`function-allowed-list`](../../../lib/rules/function-allowed-list/README.md): Specify a list of allowed functions. -- [`function-disallowed-list`](../../../lib/rules/function-disallowed-list/README.md): Specify a list of disallowed functions. -- [`function-url-no-scheme-relative`](../../../lib/rules/function-url-no-scheme-relative/README.md): Disallow scheme-relative urls. -- [`function-url-quotes`](../../../lib/rules/function-url-quotes/README.md): Require or disallow quotes for urls. -- [`function-url-scheme-allowed-list`](../../../lib/rules/function-url-scheme-allowed-list/README.md): Specify a list of allowed URL schemes. -- [`function-url-scheme-disallowed-list`](../../../lib/rules/function-url-scheme-disallowed-list/README.md): Specify a list of disallowed URL schemes. - -### Imports - -- [`import-notation`](../../../lib/rules/import-notation/README.md): Specify string or URL notation for `@import` rules (Autofixable). - -### Keyframe selector - -- [`keyframe-selector-notation`](../../../lib/rules/keyframe-selector-notation/README.md): Specify keyword or percentage notation for keyframe selectors (Autofixable). - -### Keyframes - -- [`keyframes-name-pattern`](../../../lib/rules/keyframes-name-pattern/README.md): Specify a pattern for keyframe names. - -### Number - -- [`number-max-precision`](../../../lib/rules/number-max-precision/README.md): Limit the number of decimal places allowed in numbers. - -### Time - -- [`time-min-milliseconds`](../../../lib/rules/time-min-milliseconds/README.md): Specify the minimum number of milliseconds for time values. - -### Unit - -- [`unit-allowed-list`](../../../lib/rules/unit-allowed-list/README.md): Specify a list of allowed units. -- [`unit-disallowed-list`](../../../lib/rules/unit-disallowed-list/README.md): Specify a list of disallowed units. - -### Shorthand property - -- [`shorthand-property-no-redundant-values`](../../../lib/rules/shorthand-property-no-redundant-values/README.md): Disallow redundant values in shorthand properties (Autofixable). - -### Value - -- [`value-no-vendor-prefix`](../../../lib/rules/value-no-vendor-prefix/README.md): Disallow vendor prefixes for values (Autofixable). - -### Custom property - -- [`custom-property-pattern`](../../../lib/rules/custom-property-pattern/README.md): Specify a pattern for custom properties. - -### Property - -- [`property-allowed-list`](../../../lib/rules/property-allowed-list/README.md): Specify a list of allowed properties. -- [`property-disallowed-list`](../../../lib/rules/property-disallowed-list/README.md): Specify a list of disallowed properties. -- [`property-no-vendor-prefix`](../../../lib/rules/property-no-vendor-prefix/README.md): Disallow vendor prefixes for properties (Autofixable). - -### Declaration - -- [`declaration-no-important`](../../../lib/rules/declaration-no-important/README.md): Disallow `!important` within declarations. -- [`declaration-property-max-values`](../../../lib/rules/declaration-property-max-values/README.md): Limit the number of values for a list of properties within declarations. -- [`declaration-property-unit-allowed-list`](../../../lib/rules/declaration-property-unit-allowed-list/README.md): Specify a list of allowed property and unit pairs within declarations. -- [`declaration-property-unit-disallowed-list`](../../../lib/rules/declaration-property-unit-disallowed-list/README.md): Specify a list of disallowed property and unit pairs within declarations. -- [`declaration-property-value-allowed-list`](../../../lib/rules/declaration-property-value-allowed-list/README.md): Specify a list of allowed property and value pairs within declarations. -- [`declaration-property-value-disallowed-list`](../../../lib/rules/declaration-property-value-disallowed-list/README.md): Specify a list of disallowed property and value pairs within declarations. - -### Declaration block - -- [`declaration-block-no-redundant-longhand-properties`](../../../lib/rules/declaration-block-no-redundant-longhand-properties/README.md): Disallow longhand properties that can be combined into one shorthand property. -- [`declaration-block-single-line-max-declarations`](../../../lib/rules/declaration-block-single-line-max-declarations/README.md): Limit the number of declarations within a single-line declaration block. - -### Selector - -- [`selector-attribute-name-disallowed-list`](../../../lib/rules/selector-attribute-name-disallowed-list/README.md): Specify a list of disallowed attribute names. -- [`selector-attribute-operator-allowed-list`](../../../lib/rules/selector-attribute-operator-allowed-list/README.md): Specify a list of allowed attribute operators. -- [`selector-attribute-operator-disallowed-list`](../../../lib/rules/selector-attribute-operator-disallowed-list/README.md): Specify a list of disallowed attribute operators. -- [`selector-attribute-quotes`](../../../lib/rules/selector-attribute-quotes/README.md): Require or disallow quotes for attribute values (Autofixable). -- [`selector-class-pattern`](../../../lib/rules/selector-class-pattern/README.md): Specify a pattern for class selectors. -- [`selector-combinator-allowed-list`](../../../lib/rules/selector-combinator-allowed-list/README.md): Specify a list of allowed combinators. -- [`selector-combinator-disallowed-list`](../../../lib/rules/selector-combinator-disallowed-list/README.md): Specify a list of disallowed combinators. -- [`selector-disallowed-list`](../../../lib/rules/selector-disallowed-list/README.md): Specify a list of disallowed selectors. -- [`selector-id-pattern`](../../../lib/rules/selector-id-pattern/README.md): Specify a pattern for ID selectors. -- [`selector-max-attribute`](../../../lib/rules/selector-max-attribute/README.md): Limit the number of attribute selectors in a selector. -- [`selector-max-class`](../../../lib/rules/selector-max-class/README.md): Limit the number of classes in a selector. -- [`selector-max-combinators`](../../../lib/rules/selector-max-combinators/README.md): Limit the number of combinators in a selector. -- [`selector-max-compound-selectors`](../../../lib/rules/selector-max-compound-selectors/README.md): Limit the number of compound selectors in a selector. -- [`selector-max-id`](../../../lib/rules/selector-max-id/README.md): Limit the number of ID selectors in a selector. -- [`selector-max-pseudo-class`](../../../lib/rules/selector-max-pseudo-class/README.md): Limit the number of pseudo-classes in a selector. -- [`selector-max-specificity`](../../../lib/rules/selector-max-specificity/README.md): Limit the specificity of selectors. -- [`selector-max-type`](../../../lib/rules/selector-max-type/README.md): Limit the number of type in a selector. -- [`selector-max-universal`](../../../lib/rules/selector-max-universal/README.md): Limit the number of universal selectors in a selector. -- [`selector-nested-pattern`](../../../lib/rules/selector-nested-pattern/README.md): Specify a pattern for the selectors of rules nested within rules. -- [`selector-no-qualifying-type`](../../../lib/rules/selector-no-qualifying-type/README.md): Disallow qualifying a selector by type. -- [`selector-no-vendor-prefix`](../../../lib/rules/selector-no-vendor-prefix/README.md): Disallow vendor prefixes for selectors (Autofixable). -- [`selector-not-notation`](../../../lib/rules/selector-not-notation/README.md): Specify simple or complex notation for `:not()` pseudo-classes (Autofixable). -- [`selector-pseudo-class-allowed-list`](../../../lib/rules/selector-pseudo-class-allowed-list/README.md): Specify a list of allowed pseudo-class selectors. -- [`selector-pseudo-class-disallowed-list`](../../../lib/rules/selector-pseudo-class-disallowed-list/README.md): Specify a list of disallowed pseudo-class selectors. -- [`selector-pseudo-element-allowed-list`](../../../lib/rules/selector-pseudo-element-allowed-list/README.md): Specify a list of allowed pseudo-element selectors. -- [`selector-pseudo-element-colon-notation`](../../../lib/rules/selector-pseudo-element-colon-notation/README.md): Specify single or double colon notation for applicable pseudo-elements (Autofixable). -- [`selector-pseudo-element-disallowed-list`](../../../lib/rules/selector-pseudo-element-disallowed-list/README.md): Specify a list of disallowed pseudo-element selectors. - -### Rules - -- [`rule-selector-property-disallowed-list`](../../../lib/rules/rule-selector-property-disallowed-list/README.md): Specify a list of disallowed properties for selectors within rules. - -### Media feature - -- [`media-feature-name-allowed-list`](../../../lib/rules/media-feature-name-allowed-list/README.md): Specify a list of allowed media feature names. -- [`media-feature-name-disallowed-list`](../../../lib/rules/media-feature-name-disallowed-list/README.md): Specify a list of disallowed media feature names. -- [`media-feature-name-no-vendor-prefix`](../../../lib/rules/media-feature-name-no-vendor-prefix/README.md): Disallow vendor prefixes for media feature names (Autofixable). -- [`media-feature-name-value-allowed-list`](../../../lib/rules/media-feature-name-value-allowed-list/README.md): Specify a list of allowed media feature name and value pairs. - -### Custom media - -- [`custom-media-pattern`](../../../lib/rules/custom-media-pattern/README.md): Specify a pattern for custom media query names. - -### At-rule - -- [`at-rule-allowed-list`](../../../lib/rules/at-rule-allowed-list/README.md): Specify a list of allowed at-rules. -- [`at-rule-disallowed-list`](../../../lib/rules/at-rule-disallowed-list/README.md): Specify a list of disallowed at-rules. -- [`at-rule-no-vendor-prefix`](../../../lib/rules/at-rule-no-vendor-prefix/README.md): Disallow vendor prefixes for at-rules (Autofixable). -- [`at-rule-property-required-list`](../../../lib/rules/at-rule-property-required-list/README.md): Specify a list of required properties for an at-rule. - -### Comment - -- [`comment-pattern`](../../../lib/rules/comment-pattern/README.md): Specify a pattern for comments. -- [`comment-word-disallowed-list`](../../../lib/rules/comment-word-disallowed-list/README.md): Specify a list of disallowed words within comments. - -### General / Sheet - -- [`max-nesting-depth`](../../../lib/rules/max-nesting-depth/README.md): Limit the depth of nesting. -- [`no-irregular-whitespace`](../../../lib/rules/no-irregular-whitespace/README.md): Disallow irregular whitespace. -- [`no-unknown-animations`](../../../lib/rules/no-unknown-animations/README.md): Disallow unknown animations. -- [`unicode-bom`](../../../lib/rules/unicode-bom/README.md): Require or disallow Unicode BOM. - -## Stylistic issues - -We have frozen these rules — we won't fix bugs nor add options, and we will deprecate then remove them in future releases. We recommend you use a pretty printer (like Prettier) alongside Stylelint rather than these rules. If you prefer to use Stylelint to enforce stylistic consistency, you can [migrate the rules you need to a plugin](../../developer-guide/plugins.md). - -### Not handled by pretty printers - -#### Value - -- [`value-keyword-case`](../../../lib/rules/value-keyword-case/README.md): Specify lowercase or uppercase for keywords values (Autofixable). - -#### Function - -- [`function-name-case`](../../../lib/rules/function-name-case/README.md): Specify lowercase or uppercase for function names (Autofixable). - -#### Custom property - -- [`custom-property-empty-line-before`](../../../lib/rules/custom-property-empty-line-before/README.md): Require or disallow an empty line before custom properties (Autofixable). - -#### Selector - -- [`selector-type-case`](../../../lib/rules/selector-type-case/README.md): Specify lowercase or uppercase for type selectors (Autofixable). - -#### Rule - -- [`rule-empty-line-before`](../../../lib/rules/rule-empty-line-before/README.md): Require or disallow an empty line before rules (Autofixable). - -#### At-rule - -- [`at-rule-empty-line-before`](../../../lib/rules/at-rule-empty-line-before/README.md): Require or disallow an empty line before at-rules (Autofixable). - -#### Comment - -- [`comment-empty-line-before`](../../../lib/rules/comment-empty-line-before/README.md): Require or disallow an empty line before comments (Autofixable). -- [`comment-whitespace-inside`](../../../lib/rules/comment-whitespace-inside/README.md): Require or disallow whitespace on the inside of comment markers (Autofixable). - -### Handled by pretty printers - -#### Color - -- [`color-hex-case`](../../../lib/rules/color-hex-case/README.md): Specify lowercase or uppercase for hex colors (Autofixable). - -#### Function - -- [`function-comma-newline-after`](../../../lib/rules/function-comma-newline-after/README.md): Require a newline or disallow whitespace after the commas of functions (Autofixable). -- [`function-comma-newline-before`](../../../lib/rules/function-comma-newline-before/README.md): Require a newline or disallow whitespace before the commas of functions (Autofixable). -- [`function-comma-space-after`](../../../lib/rules/function-comma-space-after/README.md): Require a single space or disallow whitespace after the commas of functions (Autofixable). -- [`function-comma-space-before`](../../../lib/rules/function-comma-space-before/README.md): Require a single space or disallow whitespace before the commas of functions (Autofixable). -- [`function-max-empty-lines`](../../../lib/rules/function-max-empty-lines/README.md): Limit the number of adjacent empty lines within functions (Autofixable). -- [`function-parentheses-newline-inside`](../../../lib/rules/function-parentheses-newline-inside/README.md): Require a newline or disallow whitespace on the inside of the parentheses of functions (Autofixable). -- [`function-parentheses-space-inside`](../../../lib/rules/function-parentheses-space-inside/README.md): Require a single space or disallow whitespace on the inside of the parentheses of functions (Autofixable). -- [`function-whitespace-after`](../../../lib/rules/function-whitespace-after/README.md): Require or disallow whitespace after functions (Autofixable). - -#### Number - -- [`number-leading-zero`](../../../lib/rules/number-leading-zero/README.md): Require or disallow a leading zero for fractional numbers less than 1 (Autofixable). -- [`number-no-trailing-zeros`](../../../lib/rules/number-no-trailing-zeros/README.md): Disallow trailing zeros in numbers (Autofixable). - -#### String - -- [`string-quotes`](../../../lib/rules/string-quotes/README.md): Specify single or double quotes around strings (Autofixable). - -#### Unit - -- [`unit-case`](../../../lib/rules/unit-case/README.md): Specify lowercase or uppercase for units (Autofixable). - -#### Value list - -- [`value-list-comma-newline-after`](../../../lib/rules/value-list-comma-newline-after/README.md): Require a newline or disallow whitespace after the commas of value lists (Autofixable). -- [`value-list-comma-newline-before`](../../../lib/rules/value-list-comma-newline-before/README.md): Require a newline or disallow whitespace before the commas of value lists. -- [`value-list-comma-space-after`](../../../lib/rules/value-list-comma-space-after/README.md): Require a single space or disallow whitespace after the commas of value lists (Autofixable). -- [`value-list-comma-space-before`](../../../lib/rules/value-list-comma-space-before/README.md): Require a single space or disallow whitespace before the commas of value lists (Autofixable). -- [`value-list-max-empty-lines`](../../../lib/rules/value-list-max-empty-lines/README.md): Limit the number of adjacent empty lines within value lists (Autofixable). - -#### Property - -- [`property-case`](../../../lib/rules/property-case/README.md): Specify lowercase or uppercase for properties (Autofixable). - -#### Declaration - -- [`declaration-bang-space-after`](../../../lib/rules/declaration-bang-space-after/README.md): Require a single space or disallow whitespace after the bang of declarations (Autofixable). -- [`declaration-bang-space-before`](../../../lib/rules/declaration-bang-space-before/README.md): Require a single space or disallow whitespace before the bang of declarations (Autofixable). -- [`declaration-colon-newline-after`](../../../lib/rules/declaration-colon-newline-after/README.md): Require a newline or disallow whitespace after the colon of declarations (Autofixable). -- [`declaration-colon-space-after`](../../../lib/rules/declaration-colon-space-after/README.md): Require a single space or disallow whitespace after the colon of declarations (Autofixable). -- [`declaration-colon-space-before`](../../../lib/rules/declaration-colon-space-before/README.md): Require a single space or disallow whitespace before the colon of declarations (Autofixable). -- [`declaration-empty-line-before`](../../../lib/rules/declaration-empty-line-before/README.md): Require or disallow an empty line before declarations (Autofixable). - -#### Declaration block - -- [`declaration-block-semicolon-newline-after`](../../../lib/rules/declaration-block-semicolon-newline-after/README.md): Require a newline or disallow whitespace after the semicolons of declaration blocks (Autofixable). -- [`declaration-block-semicolon-newline-before`](../../../lib/rules/declaration-block-semicolon-newline-before/README.md): Require a newline or disallow whitespace before the semicolons of declaration blocks. -- [`declaration-block-semicolon-space-after`](../../../lib/rules/declaration-block-semicolon-space-after/README.md): Require a single space or disallow whitespace after the semicolons of declaration blocks (Autofixable). -- [`declaration-block-semicolon-space-before`](../../../lib/rules/declaration-block-semicolon-space-before/README.md): Require a single space or disallow whitespace before the semicolons of declaration blocks (Autofixable). -- [`declaration-block-trailing-semicolon`](../../../lib/rules/declaration-block-trailing-semicolon/README.md): Require or disallow a trailing semicolon within declaration blocks (Autofixable). - -#### Block - -- [`block-closing-brace-empty-line-before`](../../../lib/rules/block-closing-brace-empty-line-before/README.md): Require or disallow an empty line before the closing brace of blocks (Autofixable). -- [`block-closing-brace-newline-after`](../../../lib/rules/block-closing-brace-newline-after/README.md): Require a newline or disallow whitespace after the closing brace of blocks (Autofixable). -- [`block-closing-brace-newline-before`](../../../lib/rules/block-closing-brace-newline-before/README.md): Require a newline or disallow whitespace before the closing brace of blocks (Autofixable). -- [`block-closing-brace-space-after`](../../../lib/rules/block-closing-brace-space-after/README.md): Require a single space or disallow whitespace after the closing brace of blocks. -- [`block-closing-brace-space-before`](../../../lib/rules/block-closing-brace-space-before/README.md): Require a single space or disallow whitespace before the closing brace of blocks (Autofixable). -- [`block-opening-brace-newline-after`](../../../lib/rules/block-opening-brace-newline-after/README.md): Require a newline after the opening brace of blocks (Autofixable). -- [`block-opening-brace-newline-before`](../../../lib/rules/block-opening-brace-newline-before/README.md): Require a newline or disallow whitespace before the opening brace of blocks (Autofixable). -- [`block-opening-brace-space-after`](../../../lib/rules/block-opening-brace-space-after/README.md): Require a single space or disallow whitespace after the opening brace of blocks (Autofixable). -- [`block-opening-brace-space-before`](../../../lib/rules/block-opening-brace-space-before/README.md): Require a single space or disallow whitespace before the opening brace of blocks (Autofixable). - -#### Selector - -- [`selector-attribute-brackets-space-inside`](../../../lib/rules/selector-attribute-brackets-space-inside/README.md): Require a single space or disallow whitespace on the inside of the brackets within attribute selectors (Autofixable). -- [`selector-attribute-operator-space-after`](../../../lib/rules/selector-attribute-operator-space-after/README.md): Require a single space or disallow whitespace after operators within attribute selectors (Autofixable). -- [`selector-attribute-operator-space-before`](../../../lib/rules/selector-attribute-operator-space-before/README.md): Require a single space or disallow whitespace before operators within attribute selectors (Autofixable). -- [`selector-combinator-space-after`](../../../lib/rules/selector-combinator-space-after/README.md): Require a single space or disallow whitespace after the combinators of selectors (Autofixable). -- [`selector-combinator-space-before`](../../../lib/rules/selector-combinator-space-before/README.md): Require a single space or disallow whitespace before the combinators of selectors (Autofixable). -- [`selector-descendant-combinator-no-non-space`](../../../lib/rules/selector-descendant-combinator-no-non-space/README.md): Disallow non-space characters for descendant combinators of selectors (Autofixable). -- [`selector-max-empty-lines`](../../../lib/rules/selector-max-empty-lines/README.md): Limit the number of adjacent empty lines within selectors (Autofixable). -- [`selector-pseudo-class-case`](../../../lib/rules/selector-pseudo-class-case/README.md): Specify lowercase or uppercase for pseudo-class selectors (Autofixable). -- [`selector-pseudo-class-parentheses-space-inside`](../../../lib/rules/selector-pseudo-class-parentheses-space-inside/README.md): Require a single space or disallow whitespace on the inside of the parentheses within pseudo-class selectors (Autofixable). -- [`selector-pseudo-element-case`](../../../lib/rules/selector-pseudo-element-case/README.md): Specify lowercase or uppercase for pseudo-element selectors (Autofixable). - -#### Selector list - -- [`selector-list-comma-newline-after`](../../../lib/rules/selector-list-comma-newline-after/README.md): Require a newline or disallow whitespace after the commas of selector lists (Autofixable). -- [`selector-list-comma-newline-before`](../../../lib/rules/selector-list-comma-newline-before/README.md): Require a newline or disallow whitespace before the commas of selector lists (Autofixable). -- [`selector-list-comma-space-after`](../../../lib/rules/selector-list-comma-space-after/README.md): Require a single space or disallow whitespace after the commas of selector lists (Autofixable). -- [`selector-list-comma-space-before`](../../../lib/rules/selector-list-comma-space-before/README.md): Require a single space or disallow whitespace before the commas of selector lists (Autofixable). - -#### Media feature - -- [`media-feature-colon-space-after`](../../../lib/rules/media-feature-colon-space-after/README.md): Require a single space or disallow whitespace after the colon in media features (Autofixable). -- [`media-feature-colon-space-before`](../../../lib/rules/media-feature-colon-space-before/README.md): Require a single space or disallow whitespace before the colon in media features (Autofixable). -- [`media-feature-name-case`](../../../lib/rules/media-feature-name-case/README.md): Specify lowercase or uppercase for media feature names (Autofixable). -- [`media-feature-parentheses-space-inside`](../../../lib/rules/media-feature-parentheses-space-inside/README.md): Require a single space or disallow whitespace on the inside of the parentheses within media features (Autofixable). -- [`media-feature-range-operator-space-after`](../../../lib/rules/media-feature-range-operator-space-after/README.md): Require a single space or disallow whitespace after the range operator in media features (Autofixable). -- [`media-feature-range-operator-space-before`](../../../lib/rules/media-feature-range-operator-space-before/README.md): Require a single space or disallow whitespace before the range operator in media features (Autofixable). - -#### Media query list - -- [`media-query-list-comma-newline-after`](../../../lib/rules/media-query-list-comma-newline-after/README.md): Require a newline or disallow whitespace after the commas of media query lists (Autofixable). -- [`media-query-list-comma-newline-before`](../../../lib/rules/media-query-list-comma-newline-before/README.md): Require a newline or disallow whitespace before the commas of media query lists. -- [`media-query-list-comma-space-after`](../../../lib/rules/media-query-list-comma-space-after/README.md): Require a single space or disallow whitespace after the commas of media query lists (Autofixable). -- [`media-query-list-comma-space-before`](../../../lib/rules/media-query-list-comma-space-before/README.md): Require a single space or disallow whitespace before the commas of media query lists (Autofixable). - -#### At-rule - -- [`at-rule-name-case`](../../../lib/rules/at-rule-name-case/README.md): Specify lowercase or uppercase for at-rules names (Autofixable). -- [`at-rule-name-newline-after`](../../../lib/rules/at-rule-name-newline-after/README.md): Require a newline after at-rule names. -- [`at-rule-name-space-after`](../../../lib/rules/at-rule-name-space-after/README.md): Require a single space after at-rule names (Autofixable). -- [`at-rule-semicolon-newline-after`](../../../lib/rules/at-rule-semicolon-newline-after/README.md): Require a newline after the semicolon of at-rules (Autofixable). -- [`at-rule-semicolon-space-before`](../../../lib/rules/at-rule-semicolon-space-before/README.md): Require a single space or disallow whitespace before the semicolons of at-rules. - -#### General / Sheet - -- [`indentation`](../../../lib/rules/indentation/README.md): Specify indentation (Autofixable). -- [`linebreaks`](../../../lib/rules/linebreaks/README.md): Specify unix or windows linebreaks (Autofixable). -- [`max-empty-lines`](../../../lib/rules/max-empty-lines/README.md): Limit the number of adjacent empty lines (Autofixable). -- [`max-line-length`](../../../lib/rules/max-line-length/README.md): Limit the length of a line. -- [`no-eol-whitespace`](../../../lib/rules/no-eol-whitespace/README.md): Disallow end-of-line whitespace (Autofixable). -- [`no-missing-end-of-source-newline`](../../../lib/rules/no-missing-end-of-source-newline/README.md): Disallow missing end-of-source newlines (Autofixable). -- [`no-empty-first-line`](../../../lib/rules/no-empty-first-line/README.md): Disallow empty first lines (Autofixable). -- [`no-extra-semicolons`](../../../lib/rules/no-extra-semicolons/README.md): Disallow extra semicolons (Autofixable). diff --git a/lib/rules/__tests__/index.test.js b/lib/rules/__tests__/index.test.js index bb89761607..30056afb8d 100644 --- a/lib/rules/__tests__/index.test.js +++ b/lib/rules/__tests__/index.test.js @@ -23,7 +23,7 @@ describe('fixable rules', () => { }); const rulesListDoc = fs.readFileSync( - path.join(__dirname, '..', '..', '..', 'docs', 'user-guide', 'rules', 'list.md'), + path.join(__dirname, '..', '..', '..', 'docs', 'user-guide', 'rules.md'), 'utf8', ); diff --git a/lib/rules/alpha-value-notation/index.js b/lib/rules/alpha-value-notation/index.js index 70ab607b8e..20c0354172 100644 --- a/lib/rules/alpha-value-notation/index.js +++ b/lib/rules/alpha-value-notation/index.js @@ -19,7 +19,7 @@ const messages = ruleMessages(ruleName, { }); const meta = { - url: 'https://stylelint.io/user-guide/rules/list/alpha-value-notation', + url: 'https://stylelint.io/user-guide/rules/alpha-value-notation', fixable: true, }; diff --git a/lib/rules/annotation-no-unknown/index.js b/lib/rules/annotation-no-unknown/index.js index 465b9e0b45..1bcf4e2f35 100644 --- a/lib/rules/annotation-no-unknown/index.js +++ b/lib/rules/annotation-no-unknown/index.js @@ -16,7 +16,7 @@ const messages = ruleMessages(ruleName, { }); const meta = { - url: 'https://stylelint.io/user-guide/rules/list/annotation-no-unknown', + url: 'https://stylelint.io/user-guide/rules/annotation-no-unknown', }; /** @type {import('stylelint').Rule} */ diff --git a/lib/rules/at-rule-allowed-list/index.js b/lib/rules/at-rule-allowed-list/index.js index e2d4e16fa4..ece25c136d 100644 --- a/lib/rules/at-rule-allowed-list/index.js +++ b/lib/rules/at-rule-allowed-list/index.js @@ -14,7 +14,7 @@ const messages = ruleMessages(ruleName, { }); const meta = { - url: 'https://stylelint.io/user-guide/rules/list/at-rule-allowed-list', + url: 'https://stylelint.io/user-guide/rules/at-rule-allowed-list', }; /** @type {import('stylelint').Rule} */ diff --git a/lib/rules/at-rule-disallowed-list/index.js b/lib/rules/at-rule-disallowed-list/index.js index 9437edbf10..8b70c0a980 100644 --- a/lib/rules/at-rule-disallowed-list/index.js +++ b/lib/rules/at-rule-disallowed-list/index.js @@ -14,7 +14,7 @@ const messages = ruleMessages(ruleName, { }); const meta = { - url: 'https://stylelint.io/user-guide/rules/list/at-rule-disallowed-list', + url: 'https://stylelint.io/user-guide/rules/at-rule-disallowed-list', }; /** @type {import('stylelint').Rule} */ diff --git a/lib/rules/at-rule-empty-line-before/index.js b/lib/rules/at-rule-empty-line-before/index.js index d86f5c8ee1..8c5df68327 100644 --- a/lib/rules/at-rule-empty-line-before/index.js +++ b/lib/rules/at-rule-empty-line-before/index.js @@ -25,7 +25,7 @@ const messages = ruleMessages(ruleName, { }); const meta = { - url: 'https://stylelint.io/user-guide/rules/list/at-rule-empty-line-before', + url: 'https://stylelint.io/user-guide/rules/at-rule-empty-line-before', fixable: true, }; diff --git a/lib/rules/at-rule-name-case/index.js b/lib/rules/at-rule-name-case/index.js index 30d1149367..a47e9a25ac 100644 --- a/lib/rules/at-rule-name-case/index.js +++ b/lib/rules/at-rule-name-case/index.js @@ -12,7 +12,7 @@ const messages = ruleMessages(ruleName, { }); const meta = { - url: 'https://stylelint.io/user-guide/rules/list/at-rule-name-case', + url: 'https://stylelint.io/user-guide/rules/at-rule-name-case', fixable: true, }; diff --git a/lib/rules/at-rule-name-newline-after/index.js b/lib/rules/at-rule-name-newline-after/index.js index aaae874884..42ccbd846e 100644 --- a/lib/rules/at-rule-name-newline-after/index.js +++ b/lib/rules/at-rule-name-newline-after/index.js @@ -12,7 +12,7 @@ const messages = ruleMessages(ruleName, { }); const meta = { - url: 'https://stylelint.io/user-guide/rules/list/at-rule-name-newline-after', + url: 'https://stylelint.io/user-guide/rules/at-rule-name-newline-after', }; /** @type {import('stylelint').Rule} */ diff --git a/lib/rules/at-rule-name-space-after/index.js b/lib/rules/at-rule-name-space-after/index.js index 7553835b60..950283bcf9 100644 --- a/lib/rules/at-rule-name-space-after/index.js +++ b/lib/rules/at-rule-name-space-after/index.js @@ -12,7 +12,7 @@ const messages = ruleMessages(ruleName, { }); const meta = { - url: 'https://stylelint.io/user-guide/rules/list/at-rule-name-space-after', + url: 'https://stylelint.io/user-guide/rules/at-rule-name-space-after', fixable: true, }; diff --git a/lib/rules/at-rule-no-unknown/index.js b/lib/rules/at-rule-no-unknown/index.js index 940e483547..2b9cdf4a73 100644 --- a/lib/rules/at-rule-no-unknown/index.js +++ b/lib/rules/at-rule-no-unknown/index.js @@ -16,7 +16,7 @@ const messages = ruleMessages(ruleName, { }); const meta = { - url: 'https://stylelint.io/user-guide/rules/list/at-rule-no-unknown', + url: 'https://stylelint.io/user-guide/rules/at-rule-no-unknown', }; /** @type {import('stylelint').Rule} */ diff --git a/lib/rules/at-rule-no-vendor-prefix/index.js b/lib/rules/at-rule-no-vendor-prefix/index.js index acd39ac811..abe0e70fb5 100644 --- a/lib/rules/at-rule-no-vendor-prefix/index.js +++ b/lib/rules/at-rule-no-vendor-prefix/index.js @@ -13,7 +13,7 @@ const messages = ruleMessages(ruleName, { }); const meta = { - url: 'https://stylelint.io/user-guide/rules/list/at-rule-no-vendor-prefix', + url: 'https://stylelint.io/user-guide/rules/at-rule-no-vendor-prefix', fixable: true, }; diff --git a/lib/rules/at-rule-property-required-list/index.js b/lib/rules/at-rule-property-required-list/index.js index e7ebbb7366..e2941acaab 100644 --- a/lib/rules/at-rule-property-required-list/index.js +++ b/lib/rules/at-rule-property-required-list/index.js @@ -15,7 +15,7 @@ const messages = ruleMessages(ruleName, { }); const meta = { - url: 'https://stylelint.io/user-guide/rules/list/at-rule-property-required-list', + url: 'https://stylelint.io/user-guide/rules/at-rule-property-required-list', }; /** @type {import('stylelint').Rule>} */ diff --git a/lib/rules/at-rule-semicolon-newline-after/index.js b/lib/rules/at-rule-semicolon-newline-after/index.js index f8422dcaf3..f2a73113c6 100644 --- a/lib/rules/at-rule-semicolon-newline-after/index.js +++ b/lib/rules/at-rule-semicolon-newline-after/index.js @@ -16,7 +16,7 @@ const messages = ruleMessages(ruleName, { }); const meta = { - url: 'https://stylelint.io/user-guide/rules/list/at-rule-semicolon-newline-after', + url: 'https://stylelint.io/user-guide/rules/at-rule-semicolon-newline-after', fixable: true, }; diff --git a/lib/rules/at-rule-semicolon-space-before/index.js b/lib/rules/at-rule-semicolon-space-before/index.js index 48c30fb783..6579560237 100644 --- a/lib/rules/at-rule-semicolon-space-before/index.js +++ b/lib/rules/at-rule-semicolon-space-before/index.js @@ -16,7 +16,7 @@ const messages = ruleMessages(ruleName, { }); const meta = { - url: 'https://stylelint.io/user-guide/rules/list/at-rule-semicolon-space-before', + url: 'https://stylelint.io/user-guide/rules/at-rule-semicolon-space-before', }; /** @type {import('stylelint').Rule} */ diff --git a/lib/rules/block-closing-brace-empty-line-before/index.js b/lib/rules/block-closing-brace-empty-line-before/index.js index a0d46dc9d7..5a28fbdf81 100644 --- a/lib/rules/block-closing-brace-empty-line-before/index.js +++ b/lib/rules/block-closing-brace-empty-line-before/index.js @@ -20,7 +20,7 @@ const messages = ruleMessages(ruleName, { }); const meta = { - url: 'https://stylelint.io/user-guide/rules/list/block-closing-brace-empty-line-before', + url: 'https://stylelint.io/user-guide/rules/block-closing-brace-empty-line-before', fixable: true, }; diff --git a/lib/rules/block-closing-brace-newline-after/index.js b/lib/rules/block-closing-brace-newline-after/index.js index 0d336c0f1c..d7c5b8587a 100644 --- a/lib/rules/block-closing-brace-newline-after/index.js +++ b/lib/rules/block-closing-brace-newline-after/index.js @@ -21,7 +21,7 @@ const messages = ruleMessages(ruleName, { }); const meta = { - url: 'https://stylelint.io/user-guide/rules/list/block-closing-brace-newline-after', + url: 'https://stylelint.io/user-guide/rules/block-closing-brace-newline-after', fixable: true, }; diff --git a/lib/rules/block-closing-brace-newline-before/index.js b/lib/rules/block-closing-brace-newline-before/index.js index 8a617f8f4e..2f92c30dae 100644 --- a/lib/rules/block-closing-brace-newline-before/index.js +++ b/lib/rules/block-closing-brace-newline-before/index.js @@ -17,7 +17,7 @@ const messages = ruleMessages(ruleName, { }); const meta = { - url: 'https://stylelint.io/user-guide/rules/list/block-closing-brace-newline-before', + url: 'https://stylelint.io/user-guide/rules/block-closing-brace-newline-before', fixable: true, }; diff --git a/lib/rules/block-closing-brace-space-after/index.js b/lib/rules/block-closing-brace-space-after/index.js index 7acb1b4f43..8eefe828e6 100644 --- a/lib/rules/block-closing-brace-space-after/index.js +++ b/lib/rules/block-closing-brace-space-after/index.js @@ -20,7 +20,7 @@ const messages = ruleMessages(ruleName, { }); const meta = { - url: 'https://stylelint.io/user-guide/rules/list/block-closing-brace-space-after', + url: 'https://stylelint.io/user-guide/rules/block-closing-brace-space-after', }; /** @type {import('stylelint').Rule} */ diff --git a/lib/rules/block-closing-brace-space-before/index.js b/lib/rules/block-closing-brace-space-before/index.js index 458138b7b0..f65f6cabb5 100644 --- a/lib/rules/block-closing-brace-space-before/index.js +++ b/lib/rules/block-closing-brace-space-before/index.js @@ -20,7 +20,7 @@ const messages = ruleMessages(ruleName, { }); const meta = { - url: 'https://stylelint.io/user-guide/rules/list/block-closing-brace-space-before', + url: 'https://stylelint.io/user-guide/rules/block-closing-brace-space-before', fixable: true, }; diff --git a/lib/rules/block-no-empty/index.js b/lib/rules/block-no-empty/index.js index c5eba4c398..8b06760390 100644 --- a/lib/rules/block-no-empty/index.js +++ b/lib/rules/block-no-empty/index.js @@ -17,7 +17,7 @@ const messages = ruleMessages(ruleName, { }); const meta = { - url: 'https://stylelint.io/user-guide/rules/list/block-no-empty', + url: 'https://stylelint.io/user-guide/rules/block-no-empty', }; /** @type {import('stylelint').Rule} */ diff --git a/lib/rules/block-opening-brace-newline-after/README.md b/lib/rules/block-opening-brace-newline-after/README.md index 390851c04c..b2c065ad48 100644 --- a/lib/rules/block-opening-brace-newline-after/README.md +++ b/lib/rules/block-opening-brace-newline-after/README.md @@ -19,7 +19,7 @@ a { /* end-of-line comment */ } ``` -Refer to [combining rules](../../../docs/user-guide/rules/combine.md) for more information on using this rule with [`block-opening-brace-newline-before`](../block-opening-brace-newline-before/README.md) to disallow single-line rules. +Refer to [combining rules](../../../docs/user-guide/combine.md) for more information on using this rule with [`block-opening-brace-newline-before`](../block-opening-brace-newline-before/README.md) to disallow single-line rules. The [`fix` option](../../../docs/user-guide/usage/options.md#fix) can automatically fix all of the problems reported by this rule. diff --git a/lib/rules/block-opening-brace-newline-after/index.js b/lib/rules/block-opening-brace-newline-after/index.js index df95965078..01d855e241 100644 --- a/lib/rules/block-opening-brace-newline-after/index.js +++ b/lib/rules/block-opening-brace-newline-after/index.js @@ -20,7 +20,7 @@ const messages = ruleMessages(ruleName, { }); const meta = { - url: 'https://stylelint.io/user-guide/rules/list/block-opening-brace-newline-after', + url: 'https://stylelint.io/user-guide/rules/block-opening-brace-newline-after', fixable: true, }; diff --git a/lib/rules/block-opening-brace-newline-before/README.md b/lib/rules/block-opening-brace-newline-before/README.md index 33f4243a9e..43da985a9a 100644 --- a/lib/rules/block-opening-brace-newline-before/README.md +++ b/lib/rules/block-opening-brace-newline-before/README.md @@ -10,7 +10,7 @@ Require a newline or disallow whitespace before the opening brace of blocks. * The newline before this brace */ ``` -Refer to [combining rules](../../../docs/user-guide/rules/combine.md) for more information on using this rule with [`block-opening-brace-newline-after`](../block-opening-brace-newline-after/README.md) to disallow single-line rules. +Refer to [combining rules](../../../docs/user-guide/combine.md) for more information on using this rule with [`block-opening-brace-newline-after`](../block-opening-brace-newline-after/README.md) to disallow single-line rules. The [`fix` option](../../../docs/user-guide/usage/options.md#fix) can automatically fix all of the problems reported by this rule. diff --git a/lib/rules/block-opening-brace-newline-before/index.js b/lib/rules/block-opening-brace-newline-before/index.js index 1e4aa0db52..dff5a0a2f5 100644 --- a/lib/rules/block-opening-brace-newline-before/index.js +++ b/lib/rules/block-opening-brace-newline-before/index.js @@ -20,7 +20,7 @@ const messages = ruleMessages(ruleName, { }); const meta = { - url: 'https://stylelint.io/user-guide/rules/list/block-opening-brace-newline-before', + url: 'https://stylelint.io/user-guide/rules/block-opening-brace-newline-before', fixable: true, }; diff --git a/lib/rules/block-opening-brace-space-after/index.js b/lib/rules/block-opening-brace-space-after/index.js index 637f06a098..daed9e0e6f 100644 --- a/lib/rules/block-opening-brace-space-after/index.js +++ b/lib/rules/block-opening-brace-space-after/index.js @@ -22,7 +22,7 @@ const messages = ruleMessages(ruleName, { }); const meta = { - url: 'https://stylelint.io/user-guide/rules/list/block-opening-brace-space-after', + url: 'https://stylelint.io/user-guide/rules/block-opening-brace-space-after', fixable: true, }; diff --git a/lib/rules/block-opening-brace-space-before/index.js b/lib/rules/block-opening-brace-space-before/index.js index ab475130fc..e4f45a6bb2 100644 --- a/lib/rules/block-opening-brace-space-before/index.js +++ b/lib/rules/block-opening-brace-space-before/index.js @@ -23,7 +23,7 @@ const messages = ruleMessages(ruleName, { }); const meta = { - url: 'https://stylelint.io/user-guide/rules/list/block-opening-brace-space-before', + url: 'https://stylelint.io/user-guide/rules/block-opening-brace-space-before', fixable: true, }; diff --git a/lib/rules/color-function-notation/README.md b/lib/rules/color-function-notation/README.md index 231f0ad833..cd28a24c6c 100644 --- a/lib/rules/color-function-notation/README.md +++ b/lib/rules/color-function-notation/README.md @@ -1,6 +1,6 @@ # color-function-notation -Specify modern or legacy notation for applicable color-functions. +Specify modern or legacy notation for color-functions. ```css diff --git a/lib/rules/color-function-notation/index.js b/lib/rules/color-function-notation/index.js index 735c660dc1..669ee62783 100644 --- a/lib/rules/color-function-notation/index.js +++ b/lib/rules/color-function-notation/index.js @@ -18,7 +18,7 @@ const messages = ruleMessages(ruleName, { }); const meta = { - url: 'https://stylelint.io/user-guide/rules/list/color-function-notation', + url: 'https://stylelint.io/user-guide/rules/color-function-notation', fixable: true, }; diff --git a/lib/rules/color-hex-alpha/index.js b/lib/rules/color-hex-alpha/index.js index 276fc84b65..f475a393e7 100644 --- a/lib/rules/color-hex-alpha/index.js +++ b/lib/rules/color-hex-alpha/index.js @@ -14,7 +14,7 @@ const messages = ruleMessages(ruleName, { }); const meta = { - url: 'https://stylelint.io/user-guide/rules/list/color-hex-alpha', + url: 'https://stylelint.io/user-guide/rules/color-hex-alpha', }; const HEX = /^#(?:[\da-f]{3,4}|[\da-f]{6}|[\da-f]{8})$/i; diff --git a/lib/rules/color-hex-case/index.js b/lib/rules/color-hex-case/index.js index 31051410d1..227fc2870b 100644 --- a/lib/rules/color-hex-case/index.js +++ b/lib/rules/color-hex-case/index.js @@ -16,7 +16,7 @@ const messages = ruleMessages(ruleName, { }); const meta = { - url: 'https://stylelint.io/user-guide/rules/list/color-hex-case', + url: 'https://stylelint.io/user-guide/rules/color-hex-case', fixable: true, }; diff --git a/lib/rules/color-hex-length/index.js b/lib/rules/color-hex-length/index.js index 0e1ce6bd09..fdd8767d76 100644 --- a/lib/rules/color-hex-length/index.js +++ b/lib/rules/color-hex-length/index.js @@ -16,7 +16,7 @@ const messages = ruleMessages(ruleName, { }); const meta = { - url: 'https://stylelint.io/user-guide/rules/list/color-hex-length', + url: 'https://stylelint.io/user-guide/rules/color-hex-length', fixable: true, }; diff --git a/lib/rules/color-named/index.js b/lib/rules/color-named/index.js index 9a982a95e2..111061b083 100644 --- a/lib/rules/color-named/index.js +++ b/lib/rules/color-named/index.js @@ -20,7 +20,7 @@ const messages = ruleMessages(ruleName, { }); const meta = { - url: 'https://stylelint.io/user-guide/rules/list/color-named', + url: 'https://stylelint.io/user-guide/rules/color-named', }; // Todo tested on case insensitivity diff --git a/lib/rules/color-no-hex/index.js b/lib/rules/color-no-hex/index.js index 57e4df8cf1..f920b03840 100644 --- a/lib/rules/color-no-hex/index.js +++ b/lib/rules/color-no-hex/index.js @@ -15,7 +15,7 @@ const messages = ruleMessages(ruleName, { }); const meta = { - url: 'https://stylelint.io/user-guide/rules/list/color-no-hex', + url: 'https://stylelint.io/user-guide/rules/color-no-hex', }; const HEX = /^#[0-9A-Za-z]+/; diff --git a/lib/rules/color-no-invalid-hex/index.js b/lib/rules/color-no-invalid-hex/index.js index 87cc306012..9bdc132f15 100644 --- a/lib/rules/color-no-invalid-hex/index.js +++ b/lib/rules/color-no-invalid-hex/index.js @@ -15,7 +15,7 @@ const messages = ruleMessages(ruleName, { }); const meta = { - url: 'https://stylelint.io/user-guide/rules/list/color-no-invalid-hex', + url: 'https://stylelint.io/user-guide/rules/color-no-invalid-hex', }; /** @type {import('stylelint').Rule} */ diff --git a/lib/rules/comment-empty-line-before/index.js b/lib/rules/comment-empty-line-before/index.js index f0f7d4c5fb..e480eb0b08 100644 --- a/lib/rules/comment-empty-line-before/index.js +++ b/lib/rules/comment-empty-line-before/index.js @@ -22,7 +22,7 @@ const messages = ruleMessages(ruleName, { }); const meta = { - url: 'https://stylelint.io/user-guide/rules/list/comment-empty-line-before', + url: 'https://stylelint.io/user-guide/rules/comment-empty-line-before', fixable: true, }; diff --git a/lib/rules/comment-no-empty/index.js b/lib/rules/comment-no-empty/index.js index 320923e53a..64b4d37520 100644 --- a/lib/rules/comment-no-empty/index.js +++ b/lib/rules/comment-no-empty/index.js @@ -12,7 +12,7 @@ const messages = ruleMessages(ruleName, { }); const meta = { - url: 'https://stylelint.io/user-guide/rules/list/comment-no-empty', + url: 'https://stylelint.io/user-guide/rules/comment-no-empty', }; /** @type {import('stylelint').Rule} */ diff --git a/lib/rules/comment-pattern/index.js b/lib/rules/comment-pattern/index.js index c7fdb0462c..84b034c88f 100644 --- a/lib/rules/comment-pattern/index.js +++ b/lib/rules/comment-pattern/index.js @@ -12,7 +12,7 @@ const messages = ruleMessages(ruleName, { }); const meta = { - url: 'https://stylelint.io/user-guide/rules/list/comment-pattern', + url: 'https://stylelint.io/user-guide/rules/comment-pattern', }; /** @type {import('stylelint').Rule} */ diff --git a/lib/rules/comment-whitespace-inside/index.js b/lib/rules/comment-whitespace-inside/index.js index 9f1255ce9b..6a84af3503 100644 --- a/lib/rules/comment-whitespace-inside/index.js +++ b/lib/rules/comment-whitespace-inside/index.js @@ -16,7 +16,7 @@ const messages = ruleMessages(ruleName, { }); const meta = { - url: 'https://stylelint.io/user-guide/rules/list/comment-whitespace-inside', + url: 'https://stylelint.io/user-guide/rules/comment-whitespace-inside', fixable: true, }; diff --git a/lib/rules/comment-word-disallowed-list/index.js b/lib/rules/comment-word-disallowed-list/index.js index 254235011f..f044c21213 100644 --- a/lib/rules/comment-word-disallowed-list/index.js +++ b/lib/rules/comment-word-disallowed-list/index.js @@ -14,7 +14,7 @@ const messages = ruleMessages(ruleName, { }); const meta = { - url: 'https://stylelint.io/user-guide/rules/list/comment-word-disallowed-list', + url: 'https://stylelint.io/user-guide/rules/comment-word-disallowed-list', }; /** @type {import('stylelint').Rule>} */ diff --git a/lib/rules/custom-media-pattern/index.js b/lib/rules/custom-media-pattern/index.js index 209255cdeb..d5a3ced4e2 100644 --- a/lib/rules/custom-media-pattern/index.js +++ b/lib/rules/custom-media-pattern/index.js @@ -13,7 +13,7 @@ const messages = ruleMessages(ruleName, { }); const meta = { - url: 'https://stylelint.io/user-guide/rules/list/custom-media-pattern', + url: 'https://stylelint.io/user-guide/rules/custom-media-pattern', }; /** @type {import('stylelint').Rule} */ diff --git a/lib/rules/custom-property-empty-line-before/index.js b/lib/rules/custom-property-empty-line-before/index.js index 28c0f02f46..4d5b0fd002 100644 --- a/lib/rules/custom-property-empty-line-before/index.js +++ b/lib/rules/custom-property-empty-line-before/index.js @@ -24,7 +24,7 @@ const messages = ruleMessages(ruleName, { }); const meta = { - url: 'https://stylelint.io/user-guide/rules/list/custom-property-empty-line-before', + url: 'https://stylelint.io/user-guide/rules/custom-property-empty-line-before', fixable: true, }; diff --git a/lib/rules/custom-property-no-missing-var-function/index.js b/lib/rules/custom-property-no-missing-var-function/index.js index 3141536447..0e8c5a8649 100644 --- a/lib/rules/custom-property-no-missing-var-function/index.js +++ b/lib/rules/custom-property-no-missing-var-function/index.js @@ -15,7 +15,7 @@ const messages = ruleMessages(ruleName, { }); const meta = { - url: 'https://stylelint.io/user-guide/rules/list/custom-property-no-missing-var-function', + url: 'https://stylelint.io/user-guide/rules/custom-property-no-missing-var-function', }; /** @type {import('stylelint').Rule} */ diff --git a/lib/rules/custom-property-pattern/index.js b/lib/rules/custom-property-pattern/index.js index b7dc96ed53..3d4081f956 100644 --- a/lib/rules/custom-property-pattern/index.js +++ b/lib/rules/custom-property-pattern/index.js @@ -17,7 +17,7 @@ const messages = ruleMessages(ruleName, { }); const meta = { - url: 'https://stylelint.io/user-guide/rules/list/custom-property-pattern', + url: 'https://stylelint.io/user-guide/rules/custom-property-pattern', }; /** @type {import('stylelint').Rule} */ diff --git a/lib/rules/declaration-bang-space-after/index.js b/lib/rules/declaration-bang-space-after/index.js index 5375549c7b..398de424ba 100644 --- a/lib/rules/declaration-bang-space-after/index.js +++ b/lib/rules/declaration-bang-space-after/index.js @@ -16,7 +16,7 @@ const messages = ruleMessages(ruleName, { }); const meta = { - url: 'https://stylelint.io/user-guide/rules/list/declaration-bang-space-after', + url: 'https://stylelint.io/user-guide/rules/declaration-bang-space-after', fixable: true, }; diff --git a/lib/rules/declaration-bang-space-before/index.js b/lib/rules/declaration-bang-space-before/index.js index ba6d7ce23a..e5e6391eaf 100644 --- a/lib/rules/declaration-bang-space-before/index.js +++ b/lib/rules/declaration-bang-space-before/index.js @@ -16,7 +16,7 @@ const messages = ruleMessages(ruleName, { }); const meta = { - url: 'https://stylelint.io/user-guide/rules/list/declaration-bang-space-before', + url: 'https://stylelint.io/user-guide/rules/declaration-bang-space-before', fixable: true, }; diff --git a/lib/rules/declaration-block-no-duplicate-custom-properties/index.js b/lib/rules/declaration-block-no-duplicate-custom-properties/index.js index 5ef3d66298..f4b242e92a 100644 --- a/lib/rules/declaration-block-no-duplicate-custom-properties/index.js +++ b/lib/rules/declaration-block-no-duplicate-custom-properties/index.js @@ -14,7 +14,7 @@ const messages = ruleMessages(ruleName, { }); const meta = { - url: 'https://stylelint.io/user-guide/rules/list/declaration-block-no-duplicate-custom-properties', + url: 'https://stylelint.io/user-guide/rules/declaration-block-no-duplicate-custom-properties', }; /** @type {import('stylelint').Rule} */ diff --git a/lib/rules/declaration-block-no-duplicate-properties/index.js b/lib/rules/declaration-block-no-duplicate-properties/index.js index 81253bf7bf..d81addb5ab 100644 --- a/lib/rules/declaration-block-no-duplicate-properties/index.js +++ b/lib/rules/declaration-block-no-duplicate-properties/index.js @@ -17,7 +17,7 @@ const messages = ruleMessages(ruleName, { }); const meta = { - url: 'https://stylelint.io/user-guide/rules/list/declaration-block-no-duplicate-properties', + url: 'https://stylelint.io/user-guide/rules/declaration-block-no-duplicate-properties', fixable: true, }; diff --git a/lib/rules/declaration-block-no-redundant-longhand-properties/README.md b/lib/rules/declaration-block-no-redundant-longhand-properties/README.md index 77cac34e10..5955ce0a5e 100644 --- a/lib/rules/declaration-block-no-redundant-longhand-properties/README.md +++ b/lib/rules/declaration-block-no-redundant-longhand-properties/README.md @@ -1,6 +1,6 @@ # declaration-block-no-redundant-longhand-properties -Disallow longhand properties that can be combined into one shorthand property. +Disallow redundant longhand properties within declaration-block. ```css diff --git a/lib/rules/declaration-block-no-redundant-longhand-properties/index.js b/lib/rules/declaration-block-no-redundant-longhand-properties/index.js index a16cae3905..dec1ec8dfc 100644 --- a/lib/rules/declaration-block-no-redundant-longhand-properties/index.js +++ b/lib/rules/declaration-block-no-redundant-longhand-properties/index.js @@ -17,7 +17,7 @@ const messages = ruleMessages(ruleName, { }); const meta = { - url: 'https://stylelint.io/user-guide/rules/list/declaration-block-no-redundant-longhand-properties', + url: 'https://stylelint.io/user-guide/rules/declaration-block-no-redundant-longhand-properties', }; /** @type {import('stylelint').Rule} */ diff --git a/lib/rules/declaration-block-no-shorthand-property-overrides/index.js b/lib/rules/declaration-block-no-shorthand-property-overrides/index.js index 64e3c085ef..fafe723611 100644 --- a/lib/rules/declaration-block-no-shorthand-property-overrides/index.js +++ b/lib/rules/declaration-block-no-shorthand-property-overrides/index.js @@ -14,7 +14,7 @@ const messages = ruleMessages(ruleName, { }); const meta = { - url: 'https://stylelint.io/user-guide/rules/list/declaration-block-no-shorthand-property-overrides', + url: 'https://stylelint.io/user-guide/rules/declaration-block-no-shorthand-property-overrides', }; /** @type {import('stylelint').Rule} */ diff --git a/lib/rules/declaration-block-semicolon-newline-after/index.js b/lib/rules/declaration-block-semicolon-newline-after/index.js index 9c1f9af193..3d0cea55c0 100644 --- a/lib/rules/declaration-block-semicolon-newline-after/index.js +++ b/lib/rules/declaration-block-semicolon-newline-after/index.js @@ -18,7 +18,7 @@ const messages = ruleMessages(ruleName, { }); const meta = { - url: 'https://stylelint.io/user-guide/rules/list/declaration-block-semicolon-newline-after', + url: 'https://stylelint.io/user-guide/rules/declaration-block-semicolon-newline-after', fixable: true, }; diff --git a/lib/rules/declaration-block-semicolon-newline-before/index.js b/lib/rules/declaration-block-semicolon-newline-before/index.js index fdca076c22..0d60341bf9 100644 --- a/lib/rules/declaration-block-semicolon-newline-before/index.js +++ b/lib/rules/declaration-block-semicolon-newline-before/index.js @@ -17,7 +17,7 @@ const messages = ruleMessages(ruleName, { }); const meta = { - url: 'https://stylelint.io/user-guide/rules/list/declaration-block-semicolon-newline-before', + url: 'https://stylelint.io/user-guide/rules/declaration-block-semicolon-newline-before', }; /** @type {import('stylelint').Rule} */ diff --git a/lib/rules/declaration-block-semicolon-space-after/index.js b/lib/rules/declaration-block-semicolon-space-after/index.js index caf1ba9048..99ba572949 100644 --- a/lib/rules/declaration-block-semicolon-space-after/index.js +++ b/lib/rules/declaration-block-semicolon-space-after/index.js @@ -20,7 +20,7 @@ const messages = ruleMessages(ruleName, { }); const meta = { - url: 'https://stylelint.io/user-guide/rules/list/declaration-block-semicolon-space-after', + url: 'https://stylelint.io/user-guide/rules/declaration-block-semicolon-space-after', fixable: true, }; diff --git a/lib/rules/declaration-block-semicolon-space-before/index.js b/lib/rules/declaration-block-semicolon-space-before/index.js index e4f457bde3..a5d217b5e6 100644 --- a/lib/rules/declaration-block-semicolon-space-before/index.js +++ b/lib/rules/declaration-block-semicolon-space-before/index.js @@ -21,7 +21,7 @@ const messages = ruleMessages(ruleName, { }); const meta = { - url: 'https://stylelint.io/user-guide/rules/list/declaration-block-semicolon-space-before', + url: 'https://stylelint.io/user-guide/rules/declaration-block-semicolon-space-before', fixable: true, }; diff --git a/lib/rules/declaration-block-single-line-max-declarations/index.js b/lib/rules/declaration-block-single-line-max-declarations/index.js index 409559d307..64a12a4dd4 100644 --- a/lib/rules/declaration-block-single-line-max-declarations/index.js +++ b/lib/rules/declaration-block-single-line-max-declarations/index.js @@ -14,7 +14,7 @@ const messages = ruleMessages(ruleName, { }); const meta = { - url: 'https://stylelint.io/user-guide/rules/list/declaration-block-single-line-max-declarations', + url: 'https://stylelint.io/user-guide/rules/declaration-block-single-line-max-declarations', }; /** @type {import('stylelint').Rule} */ diff --git a/lib/rules/declaration-block-trailing-semicolon/index.js b/lib/rules/declaration-block-trailing-semicolon/index.js index 7e5a52ec7f..178f5134df 100644 --- a/lib/rules/declaration-block-trailing-semicolon/index.js +++ b/lib/rules/declaration-block-trailing-semicolon/index.js @@ -15,7 +15,7 @@ const messages = ruleMessages(ruleName, { }); const meta = { - url: 'https://stylelint.io/user-guide/rules/list/declaration-block-trailing-semicolon', + url: 'https://stylelint.io/user-guide/rules/declaration-block-trailing-semicolon', fixable: true, }; diff --git a/lib/rules/declaration-colon-newline-after/index.js b/lib/rules/declaration-colon-newline-after/index.js index 97f7fbfd60..265385d991 100644 --- a/lib/rules/declaration-colon-newline-after/index.js +++ b/lib/rules/declaration-colon-newline-after/index.js @@ -15,7 +15,7 @@ const messages = ruleMessages(ruleName, { }); const meta = { - url: 'https://stylelint.io/user-guide/rules/list/declaration-colon-newline-after', + url: 'https://stylelint.io/user-guide/rules/declaration-colon-newline-after', fixable: true, }; diff --git a/lib/rules/declaration-colon-space-after/index.js b/lib/rules/declaration-colon-space-after/index.js index 7f3458e864..1a76dbaa86 100644 --- a/lib/rules/declaration-colon-space-after/index.js +++ b/lib/rules/declaration-colon-space-after/index.js @@ -15,7 +15,7 @@ const messages = ruleMessages(ruleName, { }); const meta = { - url: 'https://stylelint.io/user-guide/rules/list/declaration-colon-space-after', + url: 'https://stylelint.io/user-guide/rules/declaration-colon-space-after', fixable: true, }; diff --git a/lib/rules/declaration-colon-space-before/index.js b/lib/rules/declaration-colon-space-before/index.js index b910ef36c5..f4da59401b 100644 --- a/lib/rules/declaration-colon-space-before/index.js +++ b/lib/rules/declaration-colon-space-before/index.js @@ -14,7 +14,7 @@ const messages = ruleMessages(ruleName, { }); const meta = { - url: 'https://stylelint.io/user-guide/rules/list/declaration-colon-space-before', + url: 'https://stylelint.io/user-guide/rules/declaration-colon-space-before', fixable: true, }; diff --git a/lib/rules/declaration-empty-line-before/index.js b/lib/rules/declaration-empty-line-before/index.js index f9479671a0..0837b3bb9a 100644 --- a/lib/rules/declaration-empty-line-before/index.js +++ b/lib/rules/declaration-empty-line-before/index.js @@ -25,7 +25,7 @@ const messages = ruleMessages(ruleName, { }); const meta = { - url: 'https://stylelint.io/user-guide/rules/list/declaration-empty-line-before', + url: 'https://stylelint.io/user-guide/rules/declaration-empty-line-before', fixable: true, }; diff --git a/lib/rules/declaration-no-important/index.js b/lib/rules/declaration-no-important/index.js index 98eaa9c610..b6b16e3381 100644 --- a/lib/rules/declaration-no-important/index.js +++ b/lib/rules/declaration-no-important/index.js @@ -13,7 +13,7 @@ const messages = ruleMessages(ruleName, { }); const meta = { - url: 'https://stylelint.io/user-guide/rules/list/declaration-no-important', + url: 'https://stylelint.io/user-guide/rules/declaration-no-important', }; /** @type {import('stylelint').Rule} */ diff --git a/lib/rules/declaration-property-max-values/index.js b/lib/rules/declaration-property-max-values/index.js index ed77061638..7dce120bf7 100644 --- a/lib/rules/declaration-property-max-values/index.js +++ b/lib/rules/declaration-property-max-values/index.js @@ -18,7 +18,7 @@ const messages = ruleMessages(ruleName, { }); const meta = { - url: 'https://stylelint.io/user-guide/rules/list/declaration-property-max-values', + url: 'https://stylelint.io/user-guide/rules/declaration-property-max-values', }; /** diff --git a/lib/rules/declaration-property-unit-allowed-list/index.js b/lib/rules/declaration-property-unit-allowed-list/index.js index f69cb51b77..7a75f91313 100644 --- a/lib/rules/declaration-property-unit-allowed-list/index.js +++ b/lib/rules/declaration-property-unit-allowed-list/index.js @@ -21,7 +21,7 @@ const messages = ruleMessages(ruleName, { }); const meta = { - url: 'https://stylelint.io/user-guide/rules/list/declaration-property-unit-allowed-list', + url: 'https://stylelint.io/user-guide/rules/declaration-property-unit-allowed-list', }; /** @type {import('stylelint').Rule>} */ diff --git a/lib/rules/declaration-property-unit-disallowed-list/index.js b/lib/rules/declaration-property-unit-disallowed-list/index.js index 7d16e6eba7..524a1e1eb2 100644 --- a/lib/rules/declaration-property-unit-disallowed-list/index.js +++ b/lib/rules/declaration-property-unit-disallowed-list/index.js @@ -20,7 +20,7 @@ const messages = ruleMessages(ruleName, { }); const meta = { - url: 'https://stylelint.io/user-guide/rules/list/declaration-property-unit-disallowed-list', + url: 'https://stylelint.io/user-guide/rules/declaration-property-unit-disallowed-list', }; /** @type {import('stylelint').Rule>} */ diff --git a/lib/rules/declaration-property-value-allowed-list/index.js b/lib/rules/declaration-property-value-allowed-list/index.js index d09e051249..58d4d0ca91 100644 --- a/lib/rules/declaration-property-value-allowed-list/index.js +++ b/lib/rules/declaration-property-value-allowed-list/index.js @@ -17,7 +17,7 @@ const messages = ruleMessages(ruleName, { }); const meta = { - url: 'https://stylelint.io/user-guide/rules/list/declaration-property-value-allowed-list', + url: 'https://stylelint.io/user-guide/rules/declaration-property-value-allowed-list', }; /** @type {import('stylelint').Rule>>} */ diff --git a/lib/rules/declaration-property-value-disallowed-list/index.js b/lib/rules/declaration-property-value-disallowed-list/index.js index a48e045d89..84a0178f72 100644 --- a/lib/rules/declaration-property-value-disallowed-list/index.js +++ b/lib/rules/declaration-property-value-disallowed-list/index.js @@ -17,7 +17,7 @@ const messages = ruleMessages(ruleName, { }); const meta = { - url: 'https://stylelint.io/user-guide/rules/list/declaration-property-value-disallowed-list', + url: 'https://stylelint.io/user-guide/rules/declaration-property-value-disallowed-list', }; /** @type {import('stylelint').Rule>>} */ diff --git a/lib/rules/font-family-name-quotes/README.md b/lib/rules/font-family-name-quotes/README.md index 8e59ceda2d..6820610dc6 100644 --- a/lib/rules/font-family-name-quotes/README.md +++ b/lib/rules/font-family-name-quotes/README.md @@ -1,6 +1,6 @@ # font-family-name-quotes -Specify whether or not quotation marks should be used around font family names. +Require or disallow quotes for font family names. ```css diff --git a/lib/rules/font-family-name-quotes/index.js b/lib/rules/font-family-name-quotes/index.js index 0e0bf8980e..ba4d58e1b1 100644 --- a/lib/rules/font-family-name-quotes/index.js +++ b/lib/rules/font-family-name-quotes/index.js @@ -16,7 +16,7 @@ const messages = ruleMessages(ruleName, { }); const meta = { - url: 'https://stylelint.io/user-guide/rules/list/font-family-name-quotes', + url: 'https://stylelint.io/user-guide/rules/font-family-name-quotes', fixable: true, }; diff --git a/lib/rules/font-family-no-duplicate-names/README.md b/lib/rules/font-family-no-duplicate-names/README.md index 9e70929dea..0bce80a5f8 100644 --- a/lib/rules/font-family-no-duplicate-names/README.md +++ b/lib/rules/font-family-no-duplicate-names/README.md @@ -1,6 +1,6 @@ # font-family-no-duplicate-names -Disallow duplicate font family names. +Disallow duplicate names within font families. ```css diff --git a/lib/rules/font-family-no-duplicate-names/index.js b/lib/rules/font-family-no-duplicate-names/index.js index 594ccd7b64..6ec11f0715 100644 --- a/lib/rules/font-family-no-duplicate-names/index.js +++ b/lib/rules/font-family-no-duplicate-names/index.js @@ -16,7 +16,7 @@ const messages = ruleMessages(ruleName, { }); const meta = { - url: 'https://stylelint.io/user-guide/rules/list/font-family-no-duplicate-names', + url: 'https://stylelint.io/user-guide/rules/font-family-no-duplicate-names', }; /** diff --git a/lib/rules/font-family-no-missing-generic-family-keyword/README.md b/lib/rules/font-family-no-missing-generic-family-keyword/README.md index 635e2f52c9..3b727595d6 100644 --- a/lib/rules/font-family-no-missing-generic-family-keyword/README.md +++ b/lib/rules/font-family-no-missing-generic-family-keyword/README.md @@ -1,6 +1,6 @@ # font-family-no-missing-generic-family-keyword -Disallow missing generic families in lists of font family names. +Disallow a missing generic family keyword within font families. ```css diff --git a/lib/rules/font-family-no-missing-generic-family-keyword/index.js b/lib/rules/font-family-no-missing-generic-family-keyword/index.js index db972487b6..846a469b8f 100644 --- a/lib/rules/font-family-no-missing-generic-family-keyword/index.js +++ b/lib/rules/font-family-no-missing-generic-family-keyword/index.js @@ -20,7 +20,7 @@ const messages = ruleMessages(ruleName, { }); const meta = { - url: 'https://stylelint.io/user-guide/rules/list/font-family-no-missing-generic-family-keyword', + url: 'https://stylelint.io/user-guide/rules/font-family-no-missing-generic-family-keyword', }; /** diff --git a/lib/rules/font-weight-notation/index.js b/lib/rules/font-weight-notation/index.js index bd6e73fc36..f16c6774ff 100644 --- a/lib/rules/font-weight-notation/index.js +++ b/lib/rules/font-weight-notation/index.js @@ -26,7 +26,7 @@ const messages = ruleMessages(ruleName, { }); const meta = { - url: 'https://stylelint.io/user-guide/rules/list/font-weight-notation', + url: 'https://stylelint.io/user-guide/rules/font-weight-notation', fixable: true, }; diff --git a/lib/rules/function-allowed-list/index.js b/lib/rules/function-allowed-list/index.js index be2da157c0..fe5de3909a 100644 --- a/lib/rules/function-allowed-list/index.js +++ b/lib/rules/function-allowed-list/index.js @@ -17,7 +17,7 @@ const messages = ruleMessages(ruleName, { }); const meta = { - url: 'https://stylelint.io/user-guide/rules/list/function-allowed-list', + url: 'https://stylelint.io/user-guide/rules/function-allowed-list', }; /** @type {import('stylelint').Rule>} */ diff --git a/lib/rules/function-calc-no-unspaced-operator/README.md b/lib/rules/function-calc-no-unspaced-operator/README.md index 4ea5587f77..2a20ec96a0 100644 --- a/lib/rules/function-calc-no-unspaced-operator/README.md +++ b/lib/rules/function-calc-no-unspaced-operator/README.md @@ -1,6 +1,6 @@ # function-calc-no-unspaced-operator -Disallow an unspaced operator within `calc` functions. +Disallow invalid unspaced operator within `calc` functions. ```css diff --git a/lib/rules/function-calc-no-unspaced-operator/index.js b/lib/rules/function-calc-no-unspaced-operator/index.js index a42ed46eea..fae4ad9e5d 100644 --- a/lib/rules/function-calc-no-unspaced-operator/index.js +++ b/lib/rules/function-calc-no-unspaced-operator/index.js @@ -20,7 +20,7 @@ const messages = ruleMessages(ruleName, { }); const meta = { - url: 'https://stylelint.io/user-guide/rules/list/function-calc-no-unspaced-operator', + url: 'https://stylelint.io/user-guide/rules/function-calc-no-unspaced-operator', fixable: true, }; diff --git a/lib/rules/function-comma-newline-after/index.js b/lib/rules/function-comma-newline-after/index.js index 22978228f2..49a8b0a747 100644 --- a/lib/rules/function-comma-newline-after/index.js +++ b/lib/rules/function-comma-newline-after/index.js @@ -15,7 +15,7 @@ const messages = ruleMessages(ruleName, { }); const meta = { - url: 'https://stylelint.io/user-guide/rules/list/function-comma-newline-after', + url: 'https://stylelint.io/user-guide/rules/function-comma-newline-after', fixable: true, }; diff --git a/lib/rules/function-comma-newline-before/index.js b/lib/rules/function-comma-newline-before/index.js index c2217980f3..69302678a0 100644 --- a/lib/rules/function-comma-newline-before/index.js +++ b/lib/rules/function-comma-newline-before/index.js @@ -15,7 +15,7 @@ const messages = ruleMessages(ruleName, { }); const meta = { - url: 'https://stylelint.io/user-guide/rules/list/function-comma-newline-before', + url: 'https://stylelint.io/user-guide/rules/function-comma-newline-before', fixable: true, }; diff --git a/lib/rules/function-comma-space-after/index.js b/lib/rules/function-comma-space-after/index.js index 4c17e9449a..e8e7bd4159 100644 --- a/lib/rules/function-comma-space-after/index.js +++ b/lib/rules/function-comma-space-after/index.js @@ -16,7 +16,7 @@ const messages = ruleMessages(ruleName, { }); const meta = { - url: 'https://stylelint.io/user-guide/rules/list/function-comma-space-after', + url: 'https://stylelint.io/user-guide/rules/function-comma-space-after', fixable: true, }; diff --git a/lib/rules/function-comma-space-before/index.js b/lib/rules/function-comma-space-before/index.js index 59a45c64ea..a5df2c9b7e 100644 --- a/lib/rules/function-comma-space-before/index.js +++ b/lib/rules/function-comma-space-before/index.js @@ -16,7 +16,7 @@ const messages = ruleMessages(ruleName, { }); const meta = { - url: 'https://stylelint.io/user-guide/rules/list/function-comma-space-before', + url: 'https://stylelint.io/user-guide/rules/function-comma-space-before', fixable: true, }; diff --git a/lib/rules/function-disallowed-list/index.js b/lib/rules/function-disallowed-list/index.js index 197c366636..394858639e 100644 --- a/lib/rules/function-disallowed-list/index.js +++ b/lib/rules/function-disallowed-list/index.js @@ -17,7 +17,7 @@ const messages = ruleMessages(ruleName, { }); const meta = { - url: 'https://stylelint.io/user-guide/rules/list/function-disallowed-list', + url: 'https://stylelint.io/user-guide/rules/function-disallowed-list', }; /** @type {import('stylelint').Rule>} */ diff --git a/lib/rules/function-linear-gradient-no-nonstandard-direction/README.md b/lib/rules/function-linear-gradient-no-nonstandard-direction/README.md index 596a87e90e..683c1e2025 100644 --- a/lib/rules/function-linear-gradient-no-nonstandard-direction/README.md +++ b/lib/rules/function-linear-gradient-no-nonstandard-direction/README.md @@ -1,7 +1,6 @@ # function-linear-gradient-no-nonstandard-direction -Disallow direction values in `linear-gradient()` calls that are not valid according to the -[standard syntax](https://developer.mozilla.org/en-US/docs/Web/CSS/linear-gradient#Syntax). +Disallow non-standard direction values for linerar gradient functions. ```css diff --git a/lib/rules/function-linear-gradient-no-nonstandard-direction/index.js b/lib/rules/function-linear-gradient-no-nonstandard-direction/index.js index bdc76c2dd7..962863bedc 100644 --- a/lib/rules/function-linear-gradient-no-nonstandard-direction/index.js +++ b/lib/rules/function-linear-gradient-no-nonstandard-direction/index.js @@ -16,7 +16,7 @@ const messages = ruleMessages(ruleName, { }); const meta = { - url: 'https://stylelint.io/user-guide/rules/list/function-linear-gradient-no-nonstandard-direction', + url: 'https://stylelint.io/user-guide/rules/function-linear-gradient-no-nonstandard-direction', }; /** diff --git a/lib/rules/function-max-empty-lines/index.js b/lib/rules/function-max-empty-lines/index.js index 54d8d45e1c..f362e65558 100644 --- a/lib/rules/function-max-empty-lines/index.js +++ b/lib/rules/function-max-empty-lines/index.js @@ -15,7 +15,7 @@ const messages = ruleMessages(ruleName, { }); const meta = { - url: 'https://stylelint.io/user-guide/rules/list/function-max-empty-lines', + url: 'https://stylelint.io/user-guide/rules/function-max-empty-lines', fixable: true, }; diff --git a/lib/rules/function-name-case/index.js b/lib/rules/function-name-case/index.js index 7bb0be175c..f0f30cfc4a 100644 --- a/lib/rules/function-name-case/index.js +++ b/lib/rules/function-name-case/index.js @@ -19,7 +19,7 @@ const messages = ruleMessages(ruleName, { }); const meta = { - url: 'https://stylelint.io/user-guide/rules/list/function-name-case', + url: 'https://stylelint.io/user-guide/rules/function-name-case', fixable: true, }; diff --git a/lib/rules/function-no-unknown/index.js b/lib/rules/function-no-unknown/index.js index 87e89f7dce..467a33a681 100644 --- a/lib/rules/function-no-unknown/index.js +++ b/lib/rules/function-no-unknown/index.js @@ -20,7 +20,7 @@ const messages = ruleMessages(ruleName, { }); const meta = { - url: 'https://stylelint.io/user-guide/rules/list/function-no-unknown', + url: 'https://stylelint.io/user-guide/rules/function-no-unknown', }; /** @type {import('stylelint').Rule} */ diff --git a/lib/rules/function-parentheses-newline-inside/index.js b/lib/rules/function-parentheses-newline-inside/index.js index 9b796a103f..1da38cd28b 100644 --- a/lib/rules/function-parentheses-newline-inside/index.js +++ b/lib/rules/function-parentheses-newline-inside/index.js @@ -22,7 +22,7 @@ const messages = ruleMessages(ruleName, { }); const meta = { - url: 'https://stylelint.io/user-guide/rules/list/function-parentheses-newline-inside', + url: 'https://stylelint.io/user-guide/rules/function-parentheses-newline-inside', fixable: true, }; diff --git a/lib/rules/function-parentheses-space-inside/index.js b/lib/rules/function-parentheses-space-inside/index.js index 7e379c56d5..b2d2f92395 100644 --- a/lib/rules/function-parentheses-space-inside/index.js +++ b/lib/rules/function-parentheses-space-inside/index.js @@ -24,7 +24,7 @@ const messages = ruleMessages(ruleName, { }); const meta = { - url: 'https://stylelint.io/user-guide/rules/list/function-parentheses-space-inside', + url: 'https://stylelint.io/user-guide/rules/function-parentheses-space-inside', fixable: true, }; diff --git a/lib/rules/function-url-no-scheme-relative/index.js b/lib/rules/function-url-no-scheme-relative/index.js index b8cd3a0aec..601929cdf8 100644 --- a/lib/rules/function-url-no-scheme-relative/index.js +++ b/lib/rules/function-url-no-scheme-relative/index.js @@ -13,7 +13,7 @@ const messages = ruleMessages(ruleName, { }); const meta = { - url: 'https://stylelint.io/user-guide/rules/list/function-url-no-scheme-relative', + url: 'https://stylelint.io/user-guide/rules/function-url-no-scheme-relative', }; /** @type {import('stylelint').Rule} */ diff --git a/lib/rules/function-url-quotes/index.js b/lib/rules/function-url-quotes/index.js index d1a0ca435b..dda521c49d 100644 --- a/lib/rules/function-url-quotes/index.js +++ b/lib/rules/function-url-quotes/index.js @@ -16,7 +16,7 @@ const messages = ruleMessages(ruleName, { }); const meta = { - url: 'https://stylelint.io/user-guide/rules/list/function-url-quotes', + url: 'https://stylelint.io/user-guide/rules/function-url-quotes', }; /** @type {import('stylelint').Rule} */ diff --git a/lib/rules/function-url-scheme-allowed-list/index.js b/lib/rules/function-url-scheme-allowed-list/index.js index 3a5542a042..67d79ffb92 100644 --- a/lib/rules/function-url-scheme-allowed-list/index.js +++ b/lib/rules/function-url-scheme-allowed-list/index.js @@ -16,7 +16,7 @@ const messages = ruleMessages(ruleName, { }); const meta = { - url: 'https://stylelint.io/user-guide/rules/list/function-url-scheme-allowed-list', + url: 'https://stylelint.io/user-guide/rules/function-url-scheme-allowed-list', }; /** @type {import('stylelint').Rule>} */ diff --git a/lib/rules/function-url-scheme-disallowed-list/index.js b/lib/rules/function-url-scheme-disallowed-list/index.js index c57155e3d2..e6b16d9ec2 100644 --- a/lib/rules/function-url-scheme-disallowed-list/index.js +++ b/lib/rules/function-url-scheme-disallowed-list/index.js @@ -16,7 +16,7 @@ const messages = ruleMessages(ruleName, { }); const meta = { - url: 'https://stylelint.io/user-guide/rules/list/function-url-scheme-disallowed-list', + url: 'https://stylelint.io/user-guide/rules/function-url-scheme-disallowed-list', }; /** @type {import('stylelint').Rule>} */ diff --git a/lib/rules/function-whitespace-after/index.js b/lib/rules/function-whitespace-after/index.js index fe1aca3479..7eed7dc717 100644 --- a/lib/rules/function-whitespace-after/index.js +++ b/lib/rules/function-whitespace-after/index.js @@ -18,7 +18,7 @@ const messages = ruleMessages(ruleName, { }); const meta = { - url: 'https://stylelint.io/user-guide/rules/list/function-whitespace-after', + url: 'https://stylelint.io/user-guide/rules/function-whitespace-after', fixable: true, }; diff --git a/lib/rules/hue-degree-notation/index.js b/lib/rules/hue-degree-notation/index.js index 4066989ae8..215b556073 100644 --- a/lib/rules/hue-degree-notation/index.js +++ b/lib/rules/hue-degree-notation/index.js @@ -17,7 +17,7 @@ const messages = ruleMessages(ruleName, { }); const meta = { - url: 'https://stylelint.io/user-guide/rules/list/hue-degree-notation', + url: 'https://stylelint.io/user-guide/rules/hue-degree-notation', fixable: true, }; diff --git a/lib/rules/import-notation/index.js b/lib/rules/import-notation/index.js index 262b23abf2..2e40df5e82 100644 --- a/lib/rules/import-notation/index.js +++ b/lib/rules/import-notation/index.js @@ -16,7 +16,7 @@ const messages = ruleMessages(ruleName, { }); const meta = { - url: 'https://stylelint.io/user-guide/rules/list/import-notation', + url: 'https://stylelint.io/user-guide/rules/import-notation', fixable: true, }; diff --git a/lib/rules/indentation/index.js b/lib/rules/indentation/index.js index d0b387330b..ad63c69244 100644 --- a/lib/rules/indentation/index.js +++ b/lib/rules/indentation/index.js @@ -16,7 +16,7 @@ const messages = ruleMessages(ruleName, { }); const meta = { - url: 'https://stylelint.io/user-guide/rules/list/indentation', + url: 'https://stylelint.io/user-guide/rules/indentation', fixable: true, }; diff --git a/lib/rules/keyframe-block-no-duplicate-selectors/index.js b/lib/rules/keyframe-block-no-duplicate-selectors/index.js index a8d9116cb9..fd15d7acd5 100644 --- a/lib/rules/keyframe-block-no-duplicate-selectors/index.js +++ b/lib/rules/keyframe-block-no-duplicate-selectors/index.js @@ -12,7 +12,7 @@ const messages = ruleMessages(ruleName, { }); const meta = { - url: 'https://stylelint.io/user-guide/rules/list/keyframe-block-no-duplicate-selectors', + url: 'https://stylelint.io/user-guide/rules/keyframe-block-no-duplicate-selectors', }; /** @type {import('stylelint').Rule} */ diff --git a/lib/rules/keyframe-declaration-no-important/README.md b/lib/rules/keyframe-declaration-no-important/README.md index 2d5ea53da3..f3b353d6a7 100644 --- a/lib/rules/keyframe-declaration-no-important/README.md +++ b/lib/rules/keyframe-declaration-no-important/README.md @@ -1,6 +1,6 @@ # keyframe-declaration-no-important -Disallow `!important` within keyframe declarations. +Disallow invalid `!important` within keyframe declarations. ```css diff --git a/lib/rules/keyframe-declaration-no-important/index.js b/lib/rules/keyframe-declaration-no-important/index.js index de02fbcdb0..bcadeeffe1 100644 --- a/lib/rules/keyframe-declaration-no-important/index.js +++ b/lib/rules/keyframe-declaration-no-important/index.js @@ -13,7 +13,7 @@ const messages = ruleMessages(ruleName, { }); const meta = { - url: 'https://stylelint.io/user-guide/rules/list/keyframe-declaration-no-important', + url: 'https://stylelint.io/user-guide/rules/keyframe-declaration-no-important', }; /** @type {import('stylelint').Rule} */ diff --git a/lib/rules/keyframe-selector-notation/index.js b/lib/rules/keyframe-selector-notation/index.js index 61c62d3ffc..b83301935c 100644 --- a/lib/rules/keyframe-selector-notation/index.js +++ b/lib/rules/keyframe-selector-notation/index.js @@ -13,7 +13,7 @@ const messages = ruleMessages(ruleName, { }); const meta = { - url: 'https://stylelint.io/user-guide/rules/list/keyframe-selector-notation', + url: 'https://stylelint.io/user-guide/rules/keyframe-selector-notation', fixable: true, }; diff --git a/lib/rules/keyframes-name-pattern/index.js b/lib/rules/keyframes-name-pattern/index.js index 75f87afa3d..f61fcd837a 100644 --- a/lib/rules/keyframes-name-pattern/index.js +++ b/lib/rules/keyframes-name-pattern/index.js @@ -15,7 +15,7 @@ const messages = ruleMessages(ruleName, { }); const meta = { - url: 'https://stylelint.io/user-guide/rules/list/keyframes-name-pattern', + url: 'https://stylelint.io/user-guide/rules/keyframes-name-pattern', }; /** @type {import('stylelint').Rule} */ diff --git a/lib/rules/length-zero-no-unit/index.js b/lib/rules/length-zero-no-unit/index.js index d9ba1f7551..7c8eaaee3d 100644 --- a/lib/rules/length-zero-no-unit/index.js +++ b/lib/rules/length-zero-no-unit/index.js @@ -25,7 +25,7 @@ const messages = ruleMessages(ruleName, { }); const meta = { - url: 'https://stylelint.io/user-guide/rules/list/length-zero-no-unit', + url: 'https://stylelint.io/user-guide/rules/length-zero-no-unit', fixable: true, }; diff --git a/lib/rules/linebreaks/index.js b/lib/rules/linebreaks/index.js index 3fd540d63a..0f67225c35 100644 --- a/lib/rules/linebreaks/index.js +++ b/lib/rules/linebreaks/index.js @@ -12,7 +12,7 @@ const messages = ruleMessages(ruleName, { }); const meta = { - url: 'https://stylelint.io/user-guide/rules/list/linebreaks', + url: 'https://stylelint.io/user-guide/rules/linebreaks', fixable: true, }; diff --git a/lib/rules/max-empty-lines/index.js b/lib/rules/max-empty-lines/index.js index 9a1264c148..dcf80b8c68 100644 --- a/lib/rules/max-empty-lines/index.js +++ b/lib/rules/max-empty-lines/index.js @@ -14,7 +14,7 @@ const messages = ruleMessages(ruleName, { }); const meta = { - url: 'https://stylelint.io/user-guide/rules/list/max-empty-lines', + url: 'https://stylelint.io/user-guide/rules/max-empty-lines', fixable: true, }; diff --git a/lib/rules/max-line-length/index.js b/lib/rules/max-line-length/index.js index 43c8758ef3..c0edc22ee7 100644 --- a/lib/rules/max-line-length/index.js +++ b/lib/rules/max-line-length/index.js @@ -15,7 +15,7 @@ const messages = ruleMessages(ruleName, { }); const meta = { - url: 'https://stylelint.io/user-guide/rules/list/max-line-length', + url: 'https://stylelint.io/user-guide/rules/max-line-length', }; /** @type {import('stylelint').Rule} */ diff --git a/lib/rules/max-nesting-depth/index.js b/lib/rules/max-nesting-depth/index.js index 70becea11d..b2b96cb8a7 100644 --- a/lib/rules/max-nesting-depth/index.js +++ b/lib/rules/max-nesting-depth/index.js @@ -17,7 +17,7 @@ const messages = ruleMessages(ruleName, { }); const meta = { - url: 'https://stylelint.io/user-guide/rules/list/max-nesting-depth', + url: 'https://stylelint.io/user-guide/rules/max-nesting-depth', }; /** @type {import('stylelint').Rule} */ diff --git a/lib/rules/media-feature-colon-space-after/index.js b/lib/rules/media-feature-colon-space-after/index.js index 12c6276aed..78ec37abab 100644 --- a/lib/rules/media-feature-colon-space-after/index.js +++ b/lib/rules/media-feature-colon-space-after/index.js @@ -14,7 +14,7 @@ const messages = ruleMessages(ruleName, { }); const meta = { - url: 'https://stylelint.io/user-guide/rules/list/media-feature-colon-space-after', + url: 'https://stylelint.io/user-guide/rules/media-feature-colon-space-after', fixable: true, }; diff --git a/lib/rules/media-feature-colon-space-before/index.js b/lib/rules/media-feature-colon-space-before/index.js index 9d0a93cf02..fb4132e4dd 100644 --- a/lib/rules/media-feature-colon-space-before/index.js +++ b/lib/rules/media-feature-colon-space-before/index.js @@ -14,7 +14,7 @@ const messages = ruleMessages(ruleName, { }); const meta = { - url: 'https://stylelint.io/user-guide/rules/list/media-feature-colon-space-before', + url: 'https://stylelint.io/user-guide/rules/media-feature-colon-space-before', fixable: true, }; diff --git a/lib/rules/media-feature-name-allowed-list/index.js b/lib/rules/media-feature-name-allowed-list/index.js index 9926dbd4b1..f62558e95b 100644 --- a/lib/rules/media-feature-name-allowed-list/index.js +++ b/lib/rules/media-feature-name-allowed-list/index.js @@ -19,7 +19,7 @@ const messages = ruleMessages(ruleName, { }); const meta = { - url: 'https://stylelint.io/user-guide/rules/list/media-feature-name-allowed-list', + url: 'https://stylelint.io/user-guide/rules/media-feature-name-allowed-list', }; /** @type {import('stylelint').Rule>} */ diff --git a/lib/rules/media-feature-name-case/index.js b/lib/rules/media-feature-name-case/index.js index 23fbc45098..e14427d019 100644 --- a/lib/rules/media-feature-name-case/index.js +++ b/lib/rules/media-feature-name-case/index.js @@ -17,7 +17,7 @@ const messages = ruleMessages(ruleName, { }); const meta = { - url: 'https://stylelint.io/user-guide/rules/list/media-feature-name-case', + url: 'https://stylelint.io/user-guide/rules/media-feature-name-case', fixable: true, }; diff --git a/lib/rules/media-feature-name-disallowed-list/index.js b/lib/rules/media-feature-name-disallowed-list/index.js index 69cc1154e0..7a0337504d 100644 --- a/lib/rules/media-feature-name-disallowed-list/index.js +++ b/lib/rules/media-feature-name-disallowed-list/index.js @@ -19,7 +19,7 @@ const messages = ruleMessages(ruleName, { }); const meta = { - url: 'https://stylelint.io/user-guide/rules/list/media-feature-name-disallowed-list', + url: 'https://stylelint.io/user-guide/rules/media-feature-name-disallowed-list', }; /** @type {import('stylelint').Rule>} */ diff --git a/lib/rules/media-feature-name-no-unknown/index.js b/lib/rules/media-feature-name-no-unknown/index.js index 82b0684b1e..5d8450f64b 100644 --- a/lib/rules/media-feature-name-no-unknown/index.js +++ b/lib/rules/media-feature-name-no-unknown/index.js @@ -21,7 +21,7 @@ const messages = ruleMessages(ruleName, { }); const meta = { - url: 'https://stylelint.io/user-guide/rules/list/media-feature-name-no-unknown', + url: 'https://stylelint.io/user-guide/rules/media-feature-name-no-unknown', }; /** @type {import('stylelint').Rule} */ diff --git a/lib/rules/media-feature-name-no-vendor-prefix/index.js b/lib/rules/media-feature-name-no-vendor-prefix/index.js index 5b1083300d..07aa5f9b7d 100644 --- a/lib/rules/media-feature-name-no-vendor-prefix/index.js +++ b/lib/rules/media-feature-name-no-vendor-prefix/index.js @@ -12,7 +12,7 @@ const messages = ruleMessages(ruleName, { }); const meta = { - url: 'https://stylelint.io/user-guide/rules/list/media-feature-name-no-vendor-prefix', + url: 'https://stylelint.io/user-guide/rules/media-feature-name-no-vendor-prefix', fixable: true, }; diff --git a/lib/rules/media-feature-name-value-allowed-list/index.js b/lib/rules/media-feature-name-value-allowed-list/index.js index ffdee5fb36..151c31d0b5 100644 --- a/lib/rules/media-feature-name-value-allowed-list/index.js +++ b/lib/rules/media-feature-name-value-allowed-list/index.js @@ -21,7 +21,7 @@ const messages = ruleMessages(ruleName, { }); const meta = { - url: 'https://stylelint.io/user-guide/rules/list/media-feature-name-value-allowed-list', + url: 'https://stylelint.io/user-guide/rules/media-feature-name-value-allowed-list', }; /** @type {import('stylelint').Rule>>} */ diff --git a/lib/rules/media-feature-parentheses-space-inside/index.js b/lib/rules/media-feature-parentheses-space-inside/index.js index f589910bb8..36379dd65a 100644 --- a/lib/rules/media-feature-parentheses-space-inside/index.js +++ b/lib/rules/media-feature-parentheses-space-inside/index.js @@ -16,7 +16,7 @@ const messages = ruleMessages(ruleName, { }); const meta = { - url: 'https://stylelint.io/user-guide/rules/list/media-feature-parentheses-space-inside', + url: 'https://stylelint.io/user-guide/rules/media-feature-parentheses-space-inside', fixable: true, }; diff --git a/lib/rules/media-feature-range-operator-space-after/index.js b/lib/rules/media-feature-range-operator-space-after/index.js index 6979600844..d1254baef1 100644 --- a/lib/rules/media-feature-range-operator-space-after/index.js +++ b/lib/rules/media-feature-range-operator-space-after/index.js @@ -15,7 +15,7 @@ const messages = ruleMessages(ruleName, { }); const meta = { - url: 'https://stylelint.io/user-guide/rules/list/media-feature-range-operator-space-after', + url: 'https://stylelint.io/user-guide/rules/media-feature-range-operator-space-after', fixable: true, }; diff --git a/lib/rules/media-feature-range-operator-space-before/index.js b/lib/rules/media-feature-range-operator-space-before/index.js index 95b8e34626..68c2f850a2 100644 --- a/lib/rules/media-feature-range-operator-space-before/index.js +++ b/lib/rules/media-feature-range-operator-space-before/index.js @@ -15,7 +15,7 @@ const messages = ruleMessages(ruleName, { }); const meta = { - url: 'https://stylelint.io/user-guide/rules/list/media-feature-range-operator-space-before', + url: 'https://stylelint.io/user-guide/rules/media-feature-range-operator-space-before', fixable: true, }; diff --git a/lib/rules/media-query-list-comma-newline-after/index.js b/lib/rules/media-query-list-comma-newline-after/index.js index cac7e37112..0db0ed3d96 100644 --- a/lib/rules/media-query-list-comma-newline-after/index.js +++ b/lib/rules/media-query-list-comma-newline-after/index.js @@ -15,7 +15,7 @@ const messages = ruleMessages(ruleName, { }); const meta = { - url: 'https://stylelint.io/user-guide/rules/list/media-query-list-comma-newline-after', + url: 'https://stylelint.io/user-guide/rules/media-query-list-comma-newline-after', fixable: true, }; diff --git a/lib/rules/media-query-list-comma-newline-before/index.js b/lib/rules/media-query-list-comma-newline-before/index.js index 8e2dc6a085..8ec2b51d83 100644 --- a/lib/rules/media-query-list-comma-newline-before/index.js +++ b/lib/rules/media-query-list-comma-newline-before/index.js @@ -14,7 +14,7 @@ const messages = ruleMessages(ruleName, { }); const meta = { - url: 'https://stylelint.io/user-guide/rules/list/media-query-list-comma-newline-before', + url: 'https://stylelint.io/user-guide/rules/media-query-list-comma-newline-before', }; /** @type {import('stylelint').Rule} */ diff --git a/lib/rules/media-query-list-comma-space-after/index.js b/lib/rules/media-query-list-comma-space-after/index.js index f8411b17c8..0b3869bb6e 100644 --- a/lib/rules/media-query-list-comma-space-after/index.js +++ b/lib/rules/media-query-list-comma-space-after/index.js @@ -16,7 +16,7 @@ const messages = ruleMessages(ruleName, { }); const meta = { - url: 'https://stylelint.io/user-guide/rules/list/media-query-list-comma-space-after', + url: 'https://stylelint.io/user-guide/rules/media-query-list-comma-space-after', fixable: true, }; diff --git a/lib/rules/media-query-list-comma-space-before/index.js b/lib/rules/media-query-list-comma-space-before/index.js index f14aa6397c..586a17b3a3 100644 --- a/lib/rules/media-query-list-comma-space-before/index.js +++ b/lib/rules/media-query-list-comma-space-before/index.js @@ -16,7 +16,7 @@ const messages = ruleMessages(ruleName, { }); const meta = { - url: 'https://stylelint.io/user-guide/rules/list/media-query-list-comma-space-before', + url: 'https://stylelint.io/user-guide/rules/media-query-list-comma-space-before', fixable: true, }; diff --git a/lib/rules/named-grid-areas-no-invalid/index.js b/lib/rules/named-grid-areas-no-invalid/index.js index 2dd1d7d864..9b5e82a69a 100644 --- a/lib/rules/named-grid-areas-no-invalid/index.js +++ b/lib/rules/named-grid-areas-no-invalid/index.js @@ -18,7 +18,7 @@ const messages = ruleMessages(ruleName, { }); const meta = { - url: 'https://stylelint.io/user-guide/rules/list/named-grid-areas-no-invalid', + url: 'https://stylelint.io/user-guide/rules/named-grid-areas-no-invalid', }; /** @type {import('stylelint').Rule} */ diff --git a/lib/rules/no-descending-specificity/index.js b/lib/rules/no-descending-specificity/index.js index 6666e5ada8..373073eb8e 100644 --- a/lib/rules/no-descending-specificity/index.js +++ b/lib/rules/no-descending-specificity/index.js @@ -22,7 +22,7 @@ const messages = ruleMessages(ruleName, { }); const meta = { - url: 'https://stylelint.io/user-guide/rules/list/no-descending-specificity', + url: 'https://stylelint.io/user-guide/rules/no-descending-specificity', }; /** @typedef {{ selector: string, specificity: import('@csstools/selector-specificity').Specificity }} Entry */ diff --git a/lib/rules/no-duplicate-at-import-rules/README.md b/lib/rules/no-duplicate-at-import-rules/README.md index 02df009a5a..c7b4490709 100644 --- a/lib/rules/no-duplicate-at-import-rules/README.md +++ b/lib/rules/no-duplicate-at-import-rules/README.md @@ -1,6 +1,6 @@ # no-duplicate-at-import-rules -Disallow duplicate `@import` rules within a stylesheet. +Disallow duplicate `@import` rules. ```css diff --git a/lib/rules/no-duplicate-at-import-rules/index.js b/lib/rules/no-duplicate-at-import-rules/index.js index c396d1fe68..7c8bcd5eb6 100644 --- a/lib/rules/no-duplicate-at-import-rules/index.js +++ b/lib/rules/no-duplicate-at-import-rules/index.js @@ -13,7 +13,7 @@ const messages = ruleMessages(ruleName, { }); const meta = { - url: 'https://stylelint.io/user-guide/rules/list/no-duplicate-at-import-rules', + url: 'https://stylelint.io/user-guide/rules/no-duplicate-at-import-rules', }; /** @type {import('stylelint').Rule} */ diff --git a/lib/rules/no-duplicate-selectors/README.md b/lib/rules/no-duplicate-selectors/README.md index 498281736c..9d58911f48 100644 --- a/lib/rules/no-duplicate-selectors/README.md +++ b/lib/rules/no-duplicate-selectors/README.md @@ -1,6 +1,6 @@ # no-duplicate-selectors -Disallow duplicate selectors within a stylesheet. +Disallow duplicate selectors. ```css diff --git a/lib/rules/no-duplicate-selectors/index.js b/lib/rules/no-duplicate-selectors/index.js index 90d41424f9..cb34c4f32d 100644 --- a/lib/rules/no-duplicate-selectors/index.js +++ b/lib/rules/no-duplicate-selectors/index.js @@ -21,7 +21,7 @@ const messages = ruleMessages(ruleName, { }); const meta = { - url: 'https://stylelint.io/user-guide/rules/list/no-duplicate-selectors', + url: 'https://stylelint.io/user-guide/rules/no-duplicate-selectors', }; /** @type {import('stylelint').Rule} */ diff --git a/lib/rules/no-empty-first-line/index.js b/lib/rules/no-empty-first-line/index.js index 1963b3b466..321fb8a393 100644 --- a/lib/rules/no-empty-first-line/index.js +++ b/lib/rules/no-empty-first-line/index.js @@ -12,7 +12,7 @@ const messages = ruleMessages(ruleName, { }); const meta = { - url: 'https://stylelint.io/user-guide/rules/list/no-empty-first-line', + url: 'https://stylelint.io/user-guide/rules/no-empty-first-line', fixable: true, }; diff --git a/lib/rules/no-empty-source/index.js b/lib/rules/no-empty-source/index.js index b3cd0a8973..28b9a422f9 100644 --- a/lib/rules/no-empty-source/index.js +++ b/lib/rules/no-empty-source/index.js @@ -11,7 +11,7 @@ const messages = ruleMessages(ruleName, { }); const meta = { - url: 'https://stylelint.io/user-guide/rules/list/no-empty-source', + url: 'https://stylelint.io/user-guide/rules/no-empty-source', }; /** @type {import('stylelint').Rule} */ diff --git a/lib/rules/no-eol-whitespace/index.js b/lib/rules/no-eol-whitespace/index.js index aef1fcb1ce..c3b310cac3 100644 --- a/lib/rules/no-eol-whitespace/index.js +++ b/lib/rules/no-eol-whitespace/index.js @@ -17,7 +17,7 @@ const messages = ruleMessages(ruleName, { }); const meta = { - url: 'https://stylelint.io/user-guide/rules/list/no-eol-whitespace', + url: 'https://stylelint.io/user-guide/rules/no-eol-whitespace', fixable: true, }; diff --git a/lib/rules/no-extra-semicolons/index.js b/lib/rules/no-extra-semicolons/index.js index c3b1ceabca..b37da6aaf9 100644 --- a/lib/rules/no-extra-semicolons/index.js +++ b/lib/rules/no-extra-semicolons/index.js @@ -15,7 +15,7 @@ const messages = ruleMessages(ruleName, { }); const meta = { - url: 'https://stylelint.io/user-guide/rules/list/no-extra-semicolons', + url: 'https://stylelint.io/user-guide/rules/no-extra-semicolons', fixable: true, }; diff --git a/lib/rules/no-invalid-double-slash-comments/README.md b/lib/rules/no-invalid-double-slash-comments/README.md index 0318a87c7b..18da75dcc0 100644 --- a/lib/rules/no-invalid-double-slash-comments/README.md +++ b/lib/rules/no-invalid-double-slash-comments/README.md @@ -1,6 +1,6 @@ # no-invalid-double-slash-comments -Disallow double-slash comments (`//...`) which are not supported by CSS and [could lead to unexpected results](https://stackoverflow.com/a/20192639/130652). +Disallow invalid double-slash comments. ```css @@ -11,6 +11,8 @@ a { * This comment */ ``` +Disallow double-slash comments (`//...`) are not supported by CSS and [could lead to unexpected results](https://stackoverflow.com/a/20192639/130652). + If you are using a preprocessor that allows `//` single-line comments (e.g. Sass, Less, Stylus), this rule will not complain about those. They are compiled into standard CSS comments by your preprocessor, so Stylelint will consider them valid. This rule only complains about the lesser-known method of using `//` to "comment out" a single-line of code in regular CSS. (If you didn't know this was possible, have a look at ["Single Line Comments (//) in CSS"](http://www.xanthir.com/b4U10)). ## Options diff --git a/lib/rules/no-invalid-double-slash-comments/index.js b/lib/rules/no-invalid-double-slash-comments/index.js index bf21eeeaec..8805873797 100644 --- a/lib/rules/no-invalid-double-slash-comments/index.js +++ b/lib/rules/no-invalid-double-slash-comments/index.js @@ -11,7 +11,7 @@ const messages = ruleMessages(ruleName, { }); const meta = { - url: 'https://stylelint.io/user-guide/rules/list/no-invalid-double-slash-comments', + url: 'https://stylelint.io/user-guide/rules/no-invalid-double-slash-comments', }; /** @type {import('stylelint').Rule} */ diff --git a/lib/rules/no-invalid-position-at-import-rule/README.md b/lib/rules/no-invalid-position-at-import-rule/README.md index f05d647da1..dca7e402a9 100644 --- a/lib/rules/no-invalid-position-at-import-rule/README.md +++ b/lib/rules/no-invalid-position-at-import-rule/README.md @@ -1,6 +1,6 @@ # no-invalid-position-at-import-rule -Disallow invalid position `@import` rules within a stylesheet. +Disallow invalid position `@import` rules. ```css diff --git a/lib/rules/no-invalid-position-at-import-rule/index.js b/lib/rules/no-invalid-position-at-import-rule/index.js index 106073afe3..4bc0f2b4a2 100644 --- a/lib/rules/no-invalid-position-at-import-rule/index.js +++ b/lib/rules/no-invalid-position-at-import-rule/index.js @@ -16,7 +16,7 @@ const messages = ruleMessages(ruleName, { }); const meta = { - url: 'https://stylelint.io/user-guide/rules/list/no-invalid-position-at-import-rule', + url: 'https://stylelint.io/user-guide/rules/no-invalid-position-at-import-rule', }; /** @type {import('stylelint').Rule} */ diff --git a/lib/rules/no-irregular-whitespace/index.js b/lib/rules/no-irregular-whitespace/index.js index 5d8e72f1f1..2420179d0c 100644 --- a/lib/rules/no-irregular-whitespace/index.js +++ b/lib/rules/no-irregular-whitespace/index.js @@ -11,7 +11,7 @@ const messages = ruleMessages(ruleName, { }); const meta = { - url: 'https://stylelint.io/user-guide/rules/list/no-irregular-whitespace', + url: 'https://stylelint.io/user-guide/rules/no-irregular-whitespace', }; const IRREGULAR_WHITESPACES = [ diff --git a/lib/rules/no-missing-end-of-source-newline/index.js b/lib/rules/no-missing-end-of-source-newline/index.js index dac61b5109..797da91190 100644 --- a/lib/rules/no-missing-end-of-source-newline/index.js +++ b/lib/rules/no-missing-end-of-source-newline/index.js @@ -11,7 +11,7 @@ const messages = ruleMessages(ruleName, { }); const meta = { - url: 'https://stylelint.io/user-guide/rules/list/no-missing-end-of-source-newline', + url: 'https://stylelint.io/user-guide/rules/no-missing-end-of-source-newline', fixable: true, }; diff --git a/lib/rules/no-unknown-animations/index.js b/lib/rules/no-unknown-animations/index.js index 9a9425e870..293b631a10 100644 --- a/lib/rules/no-unknown-animations/index.js +++ b/lib/rules/no-unknown-animations/index.js @@ -14,7 +14,7 @@ const messages = ruleMessages(ruleName, { }); const meta = { - url: 'https://stylelint.io/user-guide/rules/list/no-unknown-animations', + url: 'https://stylelint.io/user-guide/rules/no-unknown-animations', }; /** @type {import('stylelint').Rule} */ diff --git a/lib/rules/number-leading-zero/index.js b/lib/rules/number-leading-zero/index.js index 10e29595ef..7341a10877 100644 --- a/lib/rules/number-leading-zero/index.js +++ b/lib/rules/number-leading-zero/index.js @@ -17,7 +17,7 @@ const messages = ruleMessages(ruleName, { }); const meta = { - url: 'https://stylelint.io/user-guide/rules/list/number-leading-zero', + url: 'https://stylelint.io/user-guide/rules/number-leading-zero', fixable: true, }; diff --git a/lib/rules/number-max-precision/index.js b/lib/rules/number-max-precision/index.js index 8672a3be21..f33e207469 100644 --- a/lib/rules/number-max-precision/index.js +++ b/lib/rules/number-max-precision/index.js @@ -19,7 +19,7 @@ const messages = ruleMessages(ruleName, { }); const meta = { - url: 'https://stylelint.io/user-guide/rules/list/number-max-precision', + url: 'https://stylelint.io/user-guide/rules/number-max-precision', }; /** @type {import('stylelint').Rule} */ diff --git a/lib/rules/number-no-trailing-zeros/index.js b/lib/rules/number-no-trailing-zeros/index.js index 64f3b8da0e..6b94f80d67 100644 --- a/lib/rules/number-no-trailing-zeros/index.js +++ b/lib/rules/number-no-trailing-zeros/index.js @@ -16,7 +16,7 @@ const messages = ruleMessages(ruleName, { }); const meta = { - url: 'https://stylelint.io/user-guide/rules/list/number-no-trailing-zeros', + url: 'https://stylelint.io/user-guide/rules/number-no-trailing-zeros', fixable: true, }; diff --git a/lib/rules/property-allowed-list/index.js b/lib/rules/property-allowed-list/index.js index 6d06371a0c..8d554c7a58 100644 --- a/lib/rules/property-allowed-list/index.js +++ b/lib/rules/property-allowed-list/index.js @@ -16,7 +16,7 @@ const messages = ruleMessages(ruleName, { }); const meta = { - url: 'https://stylelint.io/user-guide/rules/list/property-allowed-list', + url: 'https://stylelint.io/user-guide/rules/property-allowed-list', }; /** @type {import('stylelint').Rule>} */ diff --git a/lib/rules/property-case/index.js b/lib/rules/property-case/index.js index 44b31e58aa..b598266499 100644 --- a/lib/rules/property-case/index.js +++ b/lib/rules/property-case/index.js @@ -16,7 +16,7 @@ const messages = ruleMessages(ruleName, { }); const meta = { - url: 'https://stylelint.io/user-guide/rules/list/property-case', + url: 'https://stylelint.io/user-guide/rules/property-case', fixable: true, }; diff --git a/lib/rules/property-disallowed-list/index.js b/lib/rules/property-disallowed-list/index.js index 669c59948d..535ae23c0f 100644 --- a/lib/rules/property-disallowed-list/index.js +++ b/lib/rules/property-disallowed-list/index.js @@ -16,7 +16,7 @@ const messages = ruleMessages(ruleName, { }); const meta = { - url: 'https://stylelint.io/user-guide/rules/list/property-disallowed-list', + url: 'https://stylelint.io/user-guide/rules/property-disallowed-list', }; /** @type {import('stylelint').Rule>} */ diff --git a/lib/rules/property-no-unknown/index.js b/lib/rules/property-no-unknown/index.js index 5acc46b626..7579a95ad7 100644 --- a/lib/rules/property-no-unknown/index.js +++ b/lib/rules/property-no-unknown/index.js @@ -19,7 +19,7 @@ const messages = ruleMessages(ruleName, { }); const meta = { - url: 'https://stylelint.io/user-guide/rules/list/property-no-unknown', + url: 'https://stylelint.io/user-guide/rules/property-no-unknown', }; /** @type {import('stylelint').Rule} */ diff --git a/lib/rules/property-no-vendor-prefix/index.js b/lib/rules/property-no-vendor-prefix/index.js index ec18d8ad38..8e513033f4 100644 --- a/lib/rules/property-no-vendor-prefix/index.js +++ b/lib/rules/property-no-vendor-prefix/index.js @@ -15,7 +15,7 @@ const messages = ruleMessages(ruleName, { }); const meta = { - url: 'https://stylelint.io/user-guide/rules/list/property-no-vendor-prefix', + url: 'https://stylelint.io/user-guide/rules/property-no-vendor-prefix', fixable: true, }; diff --git a/lib/rules/rule-empty-line-before/index.js b/lib/rules/rule-empty-line-before/index.js index e1cae0b95a..cec5efbf19 100644 --- a/lib/rules/rule-empty-line-before/index.js +++ b/lib/rules/rule-empty-line-before/index.js @@ -22,7 +22,7 @@ const messages = ruleMessages(ruleName, { }); const meta = { - url: 'https://stylelint.io/user-guide/rules/list/rule-empty-line-before', + url: 'https://stylelint.io/user-guide/rules/rule-empty-line-before', fixable: true, }; diff --git a/lib/rules/rule-selector-property-disallowed-list/index.js b/lib/rules/rule-selector-property-disallowed-list/index.js index a3cbfa6872..06564dca5a 100644 --- a/lib/rules/rule-selector-property-disallowed-list/index.js +++ b/lib/rules/rule-selector-property-disallowed-list/index.js @@ -15,7 +15,7 @@ const messages = ruleMessages(ruleName, { }); const meta = { - url: 'https://stylelint.io/user-guide/rules/list/rule-selector-property-disallowed-list', + url: 'https://stylelint.io/user-guide/rules/rule-selector-property-disallowed-list', }; /** @type {import('stylelint').Rule>>} */ diff --git a/lib/rules/selector-attribute-brackets-space-inside/index.js b/lib/rules/selector-attribute-brackets-space-inside/index.js index 105f5b4507..6b9986d40a 100644 --- a/lib/rules/selector-attribute-brackets-space-inside/index.js +++ b/lib/rules/selector-attribute-brackets-space-inside/index.js @@ -17,7 +17,7 @@ const messages = ruleMessages(ruleName, { }); const meta = { - url: 'https://stylelint.io/user-guide/rules/list/selector-attribute-brackets-space-inside', + url: 'https://stylelint.io/user-guide/rules/selector-attribute-brackets-space-inside', fixable: true, }; diff --git a/lib/rules/selector-attribute-name-disallowed-list/index.js b/lib/rules/selector-attribute-name-disallowed-list/index.js index 9eb86c6ebc..1d94c66407 100644 --- a/lib/rules/selector-attribute-name-disallowed-list/index.js +++ b/lib/rules/selector-attribute-name-disallowed-list/index.js @@ -15,7 +15,7 @@ const messages = ruleMessages(ruleName, { }); const meta = { - url: 'https://stylelint.io/user-guide/rules/list/selector-attribute-name-disallowed-list', + url: 'https://stylelint.io/user-guide/rules/selector-attribute-name-disallowed-list', }; /** @type {import('stylelint').Rule>} */ diff --git a/lib/rules/selector-attribute-operator-allowed-list/index.js b/lib/rules/selector-attribute-operator-allowed-list/index.js index 4d2815c846..d1a2a9f19b 100644 --- a/lib/rules/selector-attribute-operator-allowed-list/index.js +++ b/lib/rules/selector-attribute-operator-allowed-list/index.js @@ -14,7 +14,7 @@ const messages = ruleMessages(ruleName, { }); const meta = { - url: 'https://stylelint.io/user-guide/rules/list/selector-attribute-operator-allowed-list', + url: 'https://stylelint.io/user-guide/rules/selector-attribute-operator-allowed-list', }; /** @type {import('stylelint').Rule} */ diff --git a/lib/rules/selector-attribute-operator-disallowed-list/index.js b/lib/rules/selector-attribute-operator-disallowed-list/index.js index a1b3d53123..6aa31bb761 100644 --- a/lib/rules/selector-attribute-operator-disallowed-list/index.js +++ b/lib/rules/selector-attribute-operator-disallowed-list/index.js @@ -14,7 +14,7 @@ const messages = ruleMessages(ruleName, { }); const meta = { - url: 'https://stylelint.io/user-guide/rules/list/selector-attribute-operator-disallowed-list', + url: 'https://stylelint.io/user-guide/rules/selector-attribute-operator-disallowed-list', }; /** @type {import('stylelint').Rule} */ diff --git a/lib/rules/selector-attribute-operator-space-after/index.js b/lib/rules/selector-attribute-operator-space-after/index.js index 768182a015..1761774da1 100644 --- a/lib/rules/selector-attribute-operator-space-after/index.js +++ b/lib/rules/selector-attribute-operator-space-after/index.js @@ -13,7 +13,7 @@ const messages = ruleMessages(ruleName, { }); const meta = { - url: 'https://stylelint.io/user-guide/rules/list/selector-attribute-operator-space-after', + url: 'https://stylelint.io/user-guide/rules/selector-attribute-operator-space-after', fixable: true, }; diff --git a/lib/rules/selector-attribute-operator-space-before/index.js b/lib/rules/selector-attribute-operator-space-before/index.js index 91475bae48..42991d8954 100644 --- a/lib/rules/selector-attribute-operator-space-before/index.js +++ b/lib/rules/selector-attribute-operator-space-before/index.js @@ -13,7 +13,7 @@ const messages = ruleMessages(ruleName, { }); const meta = { - url: 'https://stylelint.io/user-guide/rules/list/selector-attribute-operator-space-before', + url: 'https://stylelint.io/user-guide/rules/selector-attribute-operator-space-before', fixable: true, }; diff --git a/lib/rules/selector-attribute-quotes/index.js b/lib/rules/selector-attribute-quotes/index.js index 2138256611..a4d9b60438 100644 --- a/lib/rules/selector-attribute-quotes/index.js +++ b/lib/rules/selector-attribute-quotes/index.js @@ -15,7 +15,7 @@ const messages = ruleMessages(ruleName, { }); const meta = { - url: 'https://stylelint.io/user-guide/rules/list/selector-attribute-quotes', + url: 'https://stylelint.io/user-guide/rules/selector-attribute-quotes', fixable: true, }; diff --git a/lib/rules/selector-class-pattern/index.js b/lib/rules/selector-class-pattern/index.js index f5abe688da..e1ee172e41 100644 --- a/lib/rules/selector-class-pattern/index.js +++ b/lib/rules/selector-class-pattern/index.js @@ -18,7 +18,7 @@ const messages = ruleMessages(ruleName, { }); const meta = { - url: 'https://stylelint.io/user-guide/rules/list/selector-class-pattern', + url: 'https://stylelint.io/user-guide/rules/selector-class-pattern', }; /** @type {import('stylelint').Rule} */ diff --git a/lib/rules/selector-combinator-allowed-list/index.js b/lib/rules/selector-combinator-allowed-list/index.js index dd31232c4b..5d3c178362 100644 --- a/lib/rules/selector-combinator-allowed-list/index.js +++ b/lib/rules/selector-combinator-allowed-list/index.js @@ -15,7 +15,7 @@ const messages = ruleMessages(ruleName, { }); const meta = { - url: 'https://stylelint.io/user-guide/rules/list/selector-combinator-allowed-list', + url: 'https://stylelint.io/user-guide/rules/selector-combinator-allowed-list', }; /** @type {import('stylelint').Rule} */ diff --git a/lib/rules/selector-combinator-disallowed-list/index.js b/lib/rules/selector-combinator-disallowed-list/index.js index 4bba5f017d..8c6e6fc766 100644 --- a/lib/rules/selector-combinator-disallowed-list/index.js +++ b/lib/rules/selector-combinator-disallowed-list/index.js @@ -15,7 +15,7 @@ const messages = ruleMessages(ruleName, { }); const meta = { - url: 'https://stylelint.io/user-guide/rules/list/selector-combinator-disallowed-list', + url: 'https://stylelint.io/user-guide/rules/selector-combinator-disallowed-list', }; /** @type {import('stylelint').Rule} */ diff --git a/lib/rules/selector-combinator-space-after/index.js b/lib/rules/selector-combinator-space-after/index.js index 59881de507..c5f94f0c3a 100644 --- a/lib/rules/selector-combinator-space-after/index.js +++ b/lib/rules/selector-combinator-space-after/index.js @@ -13,7 +13,7 @@ const messages = ruleMessages(ruleName, { }); const meta = { - url: 'https://stylelint.io/user-guide/rules/list/selector-combinator-space-after', + url: 'https://stylelint.io/user-guide/rules/selector-combinator-space-after', fixable: true, }; diff --git a/lib/rules/selector-combinator-space-before/index.js b/lib/rules/selector-combinator-space-before/index.js index 28f359131f..11c22341da 100644 --- a/lib/rules/selector-combinator-space-before/index.js +++ b/lib/rules/selector-combinator-space-before/index.js @@ -13,7 +13,7 @@ const messages = ruleMessages(ruleName, { }); const meta = { - url: 'https://stylelint.io/user-guide/rules/list/selector-combinator-space-before', + url: 'https://stylelint.io/user-guide/rules/selector-combinator-space-before', fixable: true, }; diff --git a/lib/rules/selector-descendant-combinator-no-non-space/index.js b/lib/rules/selector-descendant-combinator-no-non-space/index.js index 6c96251cc4..e100cf0ff4 100644 --- a/lib/rules/selector-descendant-combinator-no-non-space/index.js +++ b/lib/rules/selector-descendant-combinator-no-non-space/index.js @@ -13,7 +13,7 @@ const messages = ruleMessages(ruleName, { }); const meta = { - url: 'https://stylelint.io/user-guide/rules/list/selector-descendant-combinator-no-non-space', + url: 'https://stylelint.io/user-guide/rules/selector-descendant-combinator-no-non-space', fixable: true, }; diff --git a/lib/rules/selector-disallowed-list/index.js b/lib/rules/selector-disallowed-list/index.js index 66ae43acc6..82b4213073 100644 --- a/lib/rules/selector-disallowed-list/index.js +++ b/lib/rules/selector-disallowed-list/index.js @@ -15,7 +15,7 @@ const messages = ruleMessages(ruleName, { }); const meta = { - url: 'https://stylelint.io/user-guide/rules/list/selector-disallowed-list', + url: 'https://stylelint.io/user-guide/rules/selector-disallowed-list', }; /** @type {import('stylelint').Rule, { splitList: boolean, ignore: string[] }>} */ diff --git a/lib/rules/selector-id-pattern/index.js b/lib/rules/selector-id-pattern/index.js index fa6ba5f463..1871e4ae33 100644 --- a/lib/rules/selector-id-pattern/index.js +++ b/lib/rules/selector-id-pattern/index.js @@ -15,7 +15,7 @@ const messages = ruleMessages(ruleName, { }); const meta = { - url: 'https://stylelint.io/user-guide/rules/list/selector-id-pattern', + url: 'https://stylelint.io/user-guide/rules/selector-id-pattern', }; /** @type {import('stylelint').Rule} */ diff --git a/lib/rules/selector-list-comma-newline-after/index.js b/lib/rules/selector-list-comma-newline-after/index.js index edf6fe0c62..46dcebc1d4 100644 --- a/lib/rules/selector-list-comma-newline-after/index.js +++ b/lib/rules/selector-list-comma-newline-after/index.js @@ -16,7 +16,7 @@ const messages = ruleMessages(ruleName, { }); const meta = { - url: 'https://stylelint.io/user-guide/rules/list/selector-list-comma-newline-after', + url: 'https://stylelint.io/user-guide/rules/selector-list-comma-newline-after', fixable: true, }; diff --git a/lib/rules/selector-list-comma-newline-before/index.js b/lib/rules/selector-list-comma-newline-before/index.js index d4f14dada7..efc1d9d8e7 100644 --- a/lib/rules/selector-list-comma-newline-before/index.js +++ b/lib/rules/selector-list-comma-newline-before/index.js @@ -14,7 +14,7 @@ const messages = ruleMessages(ruleName, { }); const meta = { - url: 'https://stylelint.io/user-guide/rules/list/selector-list-comma-newline-before', + url: 'https://stylelint.io/user-guide/rules/selector-list-comma-newline-before', fixable: true, }; diff --git a/lib/rules/selector-list-comma-space-after/index.js b/lib/rules/selector-list-comma-space-after/index.js index 9a08e6f594..e0e3575e5b 100644 --- a/lib/rules/selector-list-comma-space-after/index.js +++ b/lib/rules/selector-list-comma-space-after/index.js @@ -15,7 +15,7 @@ const messages = ruleMessages(ruleName, { }); const meta = { - url: 'https://stylelint.io/user-guide/rules/list/selector-list-comma-space-after', + url: 'https://stylelint.io/user-guide/rules/selector-list-comma-space-after', fixable: true, }; diff --git a/lib/rules/selector-list-comma-space-before/index.js b/lib/rules/selector-list-comma-space-before/index.js index 0698677ac7..629ee9664a 100644 --- a/lib/rules/selector-list-comma-space-before/index.js +++ b/lib/rules/selector-list-comma-space-before/index.js @@ -15,7 +15,7 @@ const messages = ruleMessages(ruleName, { }); const meta = { - url: 'https://stylelint.io/user-guide/rules/list/selector-list-comma-space-before', + url: 'https://stylelint.io/user-guide/rules/selector-list-comma-space-before', fixable: true, }; diff --git a/lib/rules/selector-max-attribute/index.js b/lib/rules/selector-max-attribute/index.js index 8793461f8f..51e26293db 100644 --- a/lib/rules/selector-max-attribute/index.js +++ b/lib/rules/selector-max-attribute/index.js @@ -21,7 +21,7 @@ const messages = ruleMessages(ruleName, { }); const meta = { - url: 'https://stylelint.io/user-guide/rules/list/selector-max-attribute', + url: 'https://stylelint.io/user-guide/rules/selector-max-attribute', }; /** @type {import('stylelint').Rule} */ diff --git a/lib/rules/selector-max-class/index.js b/lib/rules/selector-max-class/index.js index baec81947b..8d8f1c2d08 100644 --- a/lib/rules/selector-max-class/index.js +++ b/lib/rules/selector-max-class/index.js @@ -17,7 +17,7 @@ const messages = ruleMessages(ruleName, { }); const meta = { - url: 'https://stylelint.io/user-guide/rules/list/selector-max-class', + url: 'https://stylelint.io/user-guide/rules/selector-max-class', }; /** @type {import('stylelint').Rule} */ diff --git a/lib/rules/selector-max-combinators/index.js b/lib/rules/selector-max-combinators/index.js index 8a80d29f8f..a4fee77719 100644 --- a/lib/rules/selector-max-combinators/index.js +++ b/lib/rules/selector-max-combinators/index.js @@ -18,7 +18,7 @@ const messages = ruleMessages(ruleName, { }); const meta = { - url: 'https://stylelint.io/user-guide/rules/list/selector-max-combinators', + url: 'https://stylelint.io/user-guide/rules/selector-max-combinators', }; /** @type {import('stylelint').Rule} */ diff --git a/lib/rules/selector-max-compound-selectors/index.js b/lib/rules/selector-max-compound-selectors/index.js index 70faf5d7db..e57841664c 100644 --- a/lib/rules/selector-max-compound-selectors/index.js +++ b/lib/rules/selector-max-compound-selectors/index.js @@ -19,7 +19,7 @@ const messages = ruleMessages(ruleName, { }); const meta = { - url: 'https://stylelint.io/user-guide/rules/list/selector-max-compound-selectors', + url: 'https://stylelint.io/user-guide/rules/selector-max-compound-selectors', }; /** @type {import('stylelint').Rule} */ diff --git a/lib/rules/selector-max-empty-lines/index.js b/lib/rules/selector-max-empty-lines/index.js index baa34c7180..3230815ee5 100644 --- a/lib/rules/selector-max-empty-lines/index.js +++ b/lib/rules/selector-max-empty-lines/index.js @@ -12,7 +12,7 @@ const messages = ruleMessages(ruleName, { }); const meta = { - url: 'https://stylelint.io/user-guide/rules/list/selector-max-empty-lines', + url: 'https://stylelint.io/user-guide/rules/selector-max-empty-lines', fixable: true, }; diff --git a/lib/rules/selector-max-id/index.js b/lib/rules/selector-max-id/index.js index 85f0495378..f82e8f1983 100644 --- a/lib/rules/selector-max-id/index.js +++ b/lib/rules/selector-max-id/index.js @@ -19,7 +19,7 @@ const messages = ruleMessages(ruleName, { }); const meta = { - url: 'https://stylelint.io/user-guide/rules/list/selector-max-id', + url: 'https://stylelint.io/user-guide/rules/selector-max-id', }; /** @type {import('stylelint').Rule} */ diff --git a/lib/rules/selector-max-pseudo-class/index.js b/lib/rules/selector-max-pseudo-class/index.js index 9cfbfea965..8f6e12571b 100644 --- a/lib/rules/selector-max-pseudo-class/index.js +++ b/lib/rules/selector-max-pseudo-class/index.js @@ -18,7 +18,7 @@ const messages = ruleMessages(ruleName, { }); const meta = { - url: 'https://stylelint.io/user-guide/rules/list/selector-max-pseudo-class', + url: 'https://stylelint.io/user-guide/rules/selector-max-pseudo-class', }; /** @type {import('stylelint').Rule} */ diff --git a/lib/rules/selector-max-specificity/index.js b/lib/rules/selector-max-specificity/index.js index ccd2bbdf40..8f2d18f5a9 100644 --- a/lib/rules/selector-max-specificity/index.js +++ b/lib/rules/selector-max-specificity/index.js @@ -24,7 +24,7 @@ const messages = ruleMessages(ruleName, { }); const meta = { - url: 'https://stylelint.io/user-guide/rules/list/selector-max-specificity', + url: 'https://stylelint.io/user-guide/rules/selector-max-specificity', }; /** @typedef {import('@csstools/selector-specificity').Specificity} Specificity */ diff --git a/lib/rules/selector-max-type/index.js b/lib/rules/selector-max-type/index.js index 94651e8612..b48ff5fe22 100644 --- a/lib/rules/selector-max-type/index.js +++ b/lib/rules/selector-max-type/index.js @@ -25,7 +25,7 @@ const messages = ruleMessages(ruleName, { }); const meta = { - url: 'https://stylelint.io/user-guide/rules/list/selector-max-type', + url: 'https://stylelint.io/user-guide/rules/selector-max-type', }; /** @type {import('stylelint').Rule} */ diff --git a/lib/rules/selector-max-universal/index.js b/lib/rules/selector-max-universal/index.js index f5b2a2bb5b..f96b0a52e2 100644 --- a/lib/rules/selector-max-universal/index.js +++ b/lib/rules/selector-max-universal/index.js @@ -21,7 +21,7 @@ const messages = ruleMessages(ruleName, { }); const meta = { - url: 'https://stylelint.io/user-guide/rules/list/selector-max-universal', + url: 'https://stylelint.io/user-guide/rules/selector-max-universal', }; /** @type {import('stylelint').Rule} */ diff --git a/lib/rules/selector-nested-pattern/index.js b/lib/rules/selector-nested-pattern/index.js index da8bc67565..873b532b29 100644 --- a/lib/rules/selector-nested-pattern/index.js +++ b/lib/rules/selector-nested-pattern/index.js @@ -14,7 +14,7 @@ const messages = ruleMessages(ruleName, { }); const meta = { - url: 'https://stylelint.io/user-guide/rules/list/selector-nested-pattern', + url: 'https://stylelint.io/user-guide/rules/selector-nested-pattern', }; /** @type {import('stylelint').Rule} */ diff --git a/lib/rules/selector-no-qualifying-type/index.js b/lib/rules/selector-no-qualifying-type/index.js index a3a41d4e88..05f08468ef 100644 --- a/lib/rules/selector-no-qualifying-type/index.js +++ b/lib/rules/selector-no-qualifying-type/index.js @@ -19,7 +19,7 @@ const messages = ruleMessages(ruleName, { }); const meta = { - url: 'https://stylelint.io/user-guide/rules/list/selector-no-qualifying-type', + url: 'https://stylelint.io/user-guide/rules/selector-no-qualifying-type', }; const selectorCharacters = ['#', '.', '[']; diff --git a/lib/rules/selector-no-vendor-prefix/index.js b/lib/rules/selector-no-vendor-prefix/index.js index e51ffb7abf..4910d39815 100644 --- a/lib/rules/selector-no-vendor-prefix/index.js +++ b/lib/rules/selector-no-vendor-prefix/index.js @@ -16,7 +16,7 @@ const messages = ruleMessages(ruleName, { }); const meta = { - url: 'https://stylelint.io/user-guide/rules/list/selector-no-vendor-prefix', + url: 'https://stylelint.io/user-guide/rules/selector-no-vendor-prefix', fixable: true, }; diff --git a/lib/rules/selector-not-notation/README.md b/lib/rules/selector-not-notation/README.md index 02d2a5ce30..63587b80c0 100644 --- a/lib/rules/selector-not-notation/README.md +++ b/lib/rules/selector-not-notation/README.md @@ -1,6 +1,6 @@ # selector-not-notation -Specify simple or complex notation for `:not()` pseudo-classes. +Specify simple or complex notation for `:not()` pseudo-class selectors. ```css diff --git a/lib/rules/selector-not-notation/index.js b/lib/rules/selector-not-notation/index.js index 735f88c118..12f6570b8f 100644 --- a/lib/rules/selector-not-notation/index.js +++ b/lib/rules/selector-not-notation/index.js @@ -21,7 +21,7 @@ const messages = ruleMessages(ruleName, { expected: (type) => `Expected ${type} :not() pseudo-class notation`, }); const meta = { - url: 'https://stylelint.io/user-guide/rules/list/selector-not-notation', + url: 'https://stylelint.io/user-guide/rules/selector-not-notation', fixable: true, }; diff --git a/lib/rules/selector-pseudo-class-allowed-list/index.js b/lib/rules/selector-pseudo-class-allowed-list/index.js index 94f3a9e6d0..87432a6335 100644 --- a/lib/rules/selector-pseudo-class-allowed-list/index.js +++ b/lib/rules/selector-pseudo-class-allowed-list/index.js @@ -16,7 +16,7 @@ const messages = ruleMessages(ruleName, { }); const meta = { - url: 'https://stylelint.io/user-guide/rules/list/selector-pseudo-class-allowed-list', + url: 'https://stylelint.io/user-guide/rules/selector-pseudo-class-allowed-list', }; /** @type {import('stylelint').Rule>} */ diff --git a/lib/rules/selector-pseudo-class-case/index.js b/lib/rules/selector-pseudo-class-case/index.js index 50e0047d5c..f712e26f40 100644 --- a/lib/rules/selector-pseudo-class-case/index.js +++ b/lib/rules/selector-pseudo-class-case/index.js @@ -15,7 +15,7 @@ const messages = ruleMessages(ruleName, { }); const meta = { - url: 'https://stylelint.io/user-guide/rules/list/selector-pseudo-class-case', + url: 'https://stylelint.io/user-guide/rules/selector-pseudo-class-case', fixable: true, }; diff --git a/lib/rules/selector-pseudo-class-disallowed-list/index.js b/lib/rules/selector-pseudo-class-disallowed-list/index.js index 02dc6391b6..f85a0e3e42 100644 --- a/lib/rules/selector-pseudo-class-disallowed-list/index.js +++ b/lib/rules/selector-pseudo-class-disallowed-list/index.js @@ -16,7 +16,7 @@ const messages = ruleMessages(ruleName, { }); const meta = { - url: 'https://stylelint.io/user-guide/rules/list/selector-pseudo-class-disallowed-list', + url: 'https://stylelint.io/user-guide/rules/selector-pseudo-class-disallowed-list', }; /** @type {import('stylelint').Rule>} */ diff --git a/lib/rules/selector-pseudo-class-no-unknown/index.js b/lib/rules/selector-pseudo-class-no-unknown/index.js index c854973007..a1af00fd64 100644 --- a/lib/rules/selector-pseudo-class-no-unknown/index.js +++ b/lib/rules/selector-pseudo-class-no-unknown/index.js @@ -28,7 +28,7 @@ const messages = ruleMessages(ruleName, { }); const meta = { - url: 'https://stylelint.io/user-guide/rules/list/selector-pseudo-class-no-unknown', + url: 'https://stylelint.io/user-guide/rules/selector-pseudo-class-no-unknown', }; /** @type {import('stylelint').Rule} */ diff --git a/lib/rules/selector-pseudo-class-parentheses-space-inside/index.js b/lib/rules/selector-pseudo-class-parentheses-space-inside/index.js index 45a267bf68..e10242e90b 100644 --- a/lib/rules/selector-pseudo-class-parentheses-space-inside/index.js +++ b/lib/rules/selector-pseudo-class-parentheses-space-inside/index.js @@ -16,7 +16,7 @@ const messages = ruleMessages(ruleName, { }); const meta = { - url: 'https://stylelint.io/user-guide/rules/list/selector-pseudo-class-parentheses-space-inside', + url: 'https://stylelint.io/user-guide/rules/selector-pseudo-class-parentheses-space-inside', fixable: true, }; diff --git a/lib/rules/selector-pseudo-element-allowed-list/index.js b/lib/rules/selector-pseudo-element-allowed-list/index.js index d50222caed..e6352a5e3f 100644 --- a/lib/rules/selector-pseudo-element-allowed-list/index.js +++ b/lib/rules/selector-pseudo-element-allowed-list/index.js @@ -16,7 +16,7 @@ const messages = ruleMessages(ruleName, { }); const meta = { - url: 'https://stylelint.io/user-guide/rules/list/selector-pseudo-element-allowed-list', + url: 'https://stylelint.io/user-guide/rules/selector-pseudo-element-allowed-list', }; /** @type {import('stylelint').Rule>} */ diff --git a/lib/rules/selector-pseudo-element-case/index.js b/lib/rules/selector-pseudo-element-case/index.js index 0aca6c8d83..35986e1e13 100644 --- a/lib/rules/selector-pseudo-element-case/index.js +++ b/lib/rules/selector-pseudo-element-case/index.js @@ -15,7 +15,7 @@ const messages = ruleMessages(ruleName, { }); const meta = { - url: 'https://stylelint.io/user-guide/rules/list/selector-pseudo-element-case', + url: 'https://stylelint.io/user-guide/rules/selector-pseudo-element-case', fixable: true, }; diff --git a/lib/rules/selector-pseudo-element-colon-notation/README.md b/lib/rules/selector-pseudo-element-colon-notation/README.md index aff6a3da0d..a42fa6f050 100644 --- a/lib/rules/selector-pseudo-element-colon-notation/README.md +++ b/lib/rules/selector-pseudo-element-colon-notation/README.md @@ -1,6 +1,6 @@ # selector-pseudo-element-colon-notation -Specify single or double colon notation for applicable pseudo-elements. +Specify single or double colon notation for applicable pseudo-element selectors. ```css diff --git a/lib/rules/selector-pseudo-element-colon-notation/index.js b/lib/rules/selector-pseudo-element-colon-notation/index.js index a365f8a35b..c62c543dc7 100644 --- a/lib/rules/selector-pseudo-element-colon-notation/index.js +++ b/lib/rules/selector-pseudo-element-colon-notation/index.js @@ -14,7 +14,7 @@ const messages = ruleMessages(ruleName, { }); const meta = { - url: 'https://stylelint.io/user-guide/rules/list/selector-pseudo-element-colon-notation', + url: 'https://stylelint.io/user-guide/rules/selector-pseudo-element-colon-notation', fixable: true, }; diff --git a/lib/rules/selector-pseudo-element-disallowed-list/index.js b/lib/rules/selector-pseudo-element-disallowed-list/index.js index e9d9b43612..52bbd3beba 100644 --- a/lib/rules/selector-pseudo-element-disallowed-list/index.js +++ b/lib/rules/selector-pseudo-element-disallowed-list/index.js @@ -16,7 +16,7 @@ const messages = ruleMessages(ruleName, { }); const meta = { - url: 'https://stylelint.io/user-guide/rules/list/selector-pseudo-element-disallowed-list', + url: 'https://stylelint.io/user-guide/rules/selector-pseudo-element-disallowed-list', }; /** @type {import('stylelint').Rule>} */ diff --git a/lib/rules/selector-pseudo-element-no-unknown/index.js b/lib/rules/selector-pseudo-element-no-unknown/index.js index 25e98ddd5e..f72085c900 100644 --- a/lib/rules/selector-pseudo-element-no-unknown/index.js +++ b/lib/rules/selector-pseudo-element-no-unknown/index.js @@ -18,7 +18,7 @@ const messages = ruleMessages(ruleName, { }); const meta = { - url: 'https://stylelint.io/user-guide/rules/list/selector-pseudo-element-no-unknown', + url: 'https://stylelint.io/user-guide/rules/selector-pseudo-element-no-unknown', }; /** @type {import('stylelint').Rule} */ diff --git a/lib/rules/selector-type-case/index.js b/lib/rules/selector-type-case/index.js index 6daa81f6cc..37fd98eb54 100644 --- a/lib/rules/selector-type-case/index.js +++ b/lib/rules/selector-type-case/index.js @@ -18,7 +18,7 @@ const messages = ruleMessages(ruleName, { }); const meta = { - url: 'https://stylelint.io/user-guide/rules/list/selector-type-case', + url: 'https://stylelint.io/user-guide/rules/selector-type-case', fixable: true, }; diff --git a/lib/rules/selector-type-no-unknown/index.js b/lib/rules/selector-type-no-unknown/index.js index 259a3f5af4..5dc7e3711b 100644 --- a/lib/rules/selector-type-no-unknown/index.js +++ b/lib/rules/selector-type-no-unknown/index.js @@ -21,7 +21,7 @@ const messages = ruleMessages(ruleName, { }); const meta = { - url: 'https://stylelint.io/user-guide/rules/list/selector-type-no-unknown', + url: 'https://stylelint.io/user-guide/rules/selector-type-no-unknown', }; /** @type {import('stylelint').Rule} */ diff --git a/lib/rules/shorthand-property-no-redundant-values/README.md b/lib/rules/shorthand-property-no-redundant-values/README.md index 33d5173379..3b0a20461a 100644 --- a/lib/rules/shorthand-property-no-redundant-values/README.md +++ b/lib/rules/shorthand-property-no-redundant-values/README.md @@ -1,6 +1,6 @@ # shorthand-property-no-redundant-values -Disallow redundant values in shorthand properties. +Disallow redundant values within shorthand properties. ```css diff --git a/lib/rules/shorthand-property-no-redundant-values/index.js b/lib/rules/shorthand-property-no-redundant-values/index.js index 9461044ee5..a147747d84 100644 --- a/lib/rules/shorthand-property-no-redundant-values/index.js +++ b/lib/rules/shorthand-property-no-redundant-values/index.js @@ -16,7 +16,7 @@ const messages = ruleMessages(ruleName, { }); const meta = { - url: 'https://stylelint.io/user-guide/rules/list/shorthand-property-no-redundant-values', + url: 'https://stylelint.io/user-guide/rules/shorthand-property-no-redundant-values', fixable: true, }; diff --git a/lib/rules/string-no-newline/README.md b/lib/rules/string-no-newline/README.md index cb26da8dac..a89a437a5a 100644 --- a/lib/rules/string-no-newline/README.md +++ b/lib/rules/string-no-newline/README.md @@ -1,6 +1,6 @@ # string-no-newline -Disallow (unescaped) newlines in strings. +Disallow invalid newlines within strings. ```css diff --git a/lib/rules/string-no-newline/index.js b/lib/rules/string-no-newline/index.js index 5852b73246..30c4fe0877 100644 --- a/lib/rules/string-no-newline/index.js +++ b/lib/rules/string-no-newline/index.js @@ -17,7 +17,7 @@ const messages = ruleMessages(ruleName, { }); const meta = { - url: 'https://stylelint.io/user-guide/rules/list/string-no-newline', + url: 'https://stylelint.io/user-guide/rules/string-no-newline', }; /** @type {import('stylelint').Rule} */ diff --git a/lib/rules/string-quotes/index.js b/lib/rules/string-quotes/index.js index 20cfce73e6..1191af767b 100644 --- a/lib/rules/string-quotes/index.js +++ b/lib/rules/string-quotes/index.js @@ -18,7 +18,7 @@ const messages = ruleMessages(ruleName, { }); const meta = { - url: 'https://stylelint.io/user-guide/rules/list/string-quotes', + url: 'https://stylelint.io/user-guide/rules/string-quotes', fixable: true, }; diff --git a/lib/rules/time-min-milliseconds/README.md b/lib/rules/time-min-milliseconds/README.md index f4623bf0e6..841a56578f 100644 --- a/lib/rules/time-min-milliseconds/README.md +++ b/lib/rules/time-min-milliseconds/README.md @@ -1,6 +1,6 @@ # time-min-milliseconds -Specify the minimum number of milliseconds for time values. +Limit the minimum number of milliseconds for time values. ```css diff --git a/lib/rules/time-min-milliseconds/index.js b/lib/rules/time-min-milliseconds/index.js index 6834d71c80..a8757f8d48 100644 --- a/lib/rules/time-min-milliseconds/index.js +++ b/lib/rules/time-min-milliseconds/index.js @@ -19,7 +19,7 @@ const messages = ruleMessages(ruleName, { }); const meta = { - url: 'https://stylelint.io/user-guide/rules/list/time-min-milliseconds', + url: 'https://stylelint.io/user-guide/rules/time-min-milliseconds', }; const DELAY_PROPERTIES = new Set(['animation-delay', 'transition-delay']); diff --git a/lib/rules/unicode-bom/index.js b/lib/rules/unicode-bom/index.js index bef2ad1af4..381a2c65de 100644 --- a/lib/rules/unicode-bom/index.js +++ b/lib/rules/unicode-bom/index.js @@ -12,7 +12,7 @@ const messages = ruleMessages(ruleName, { }); const meta = { - url: 'https://stylelint.io/user-guide/rules/list/unicode-bom', + url: 'https://stylelint.io/user-guide/rules/unicode-bom', }; /** @type {import('stylelint').Rule} */ diff --git a/lib/rules/unit-allowed-list/index.js b/lib/rules/unit-allowed-list/index.js index 387b14a16c..472f09d2d0 100644 --- a/lib/rules/unit-allowed-list/index.js +++ b/lib/rules/unit-allowed-list/index.js @@ -18,7 +18,7 @@ const messages = ruleMessages(ruleName, { }); const meta = { - url: 'https://stylelint.io/user-guide/rules/list/unit-allowed-list', + url: 'https://stylelint.io/user-guide/rules/unit-allowed-list', }; /** @type {import('stylelint').Rule} */ diff --git a/lib/rules/unit-case/index.js b/lib/rules/unit-case/index.js index 77e2f77bd7..f18cb1fd84 100644 --- a/lib/rules/unit-case/index.js +++ b/lib/rules/unit-case/index.js @@ -15,7 +15,7 @@ const messages = ruleMessages(ruleName, { }); const meta = { - url: 'https://stylelint.io/user-guide/rules/list/unit-case', + url: 'https://stylelint.io/user-guide/rules/unit-case', fixable: true, }; diff --git a/lib/rules/unit-disallowed-list/index.js b/lib/rules/unit-disallowed-list/index.js index 92ffcba84d..d89a263dc1 100644 --- a/lib/rules/unit-disallowed-list/index.js +++ b/lib/rules/unit-disallowed-list/index.js @@ -19,7 +19,7 @@ const messages = ruleMessages(ruleName, { }); const meta = { - url: 'https://stylelint.io/user-guide/rules/list/unit-disallowed-list', + url: 'https://stylelint.io/user-guide/rules/unit-disallowed-list', }; /** diff --git a/lib/rules/unit-no-unknown/index.js b/lib/rules/unit-no-unknown/index.js index ddaa29f822..470524cf9f 100644 --- a/lib/rules/unit-no-unknown/index.js +++ b/lib/rules/unit-no-unknown/index.js @@ -23,7 +23,7 @@ const messages = ruleMessages(ruleName, { }); const meta = { - url: 'https://stylelint.io/user-guide/rules/list/unit-no-unknown', + url: 'https://stylelint.io/user-guide/rules/unit-no-unknown', }; /** @type {import('stylelint').Rule} */ diff --git a/lib/rules/value-keyword-case/index.js b/lib/rules/value-keyword-case/index.js index 5a3ac8d54c..2e16d6fe81 100644 --- a/lib/rules/value-keyword-case/index.js +++ b/lib/rules/value-keyword-case/index.js @@ -33,7 +33,7 @@ const messages = ruleMessages(ruleName, { }); const meta = { - url: 'https://stylelint.io/user-guide/rules/list/value-keyword-case', + url: 'https://stylelint.io/user-guide/rules/value-keyword-case', fixable: true, }; diff --git a/lib/rules/value-list-comma-newline-after/index.js b/lib/rules/value-list-comma-newline-after/index.js index b458d89862..36d633e383 100644 --- a/lib/rules/value-list-comma-newline-after/index.js +++ b/lib/rules/value-list-comma-newline-after/index.js @@ -17,7 +17,7 @@ const messages = ruleMessages(ruleName, { }); const meta = { - url: 'https://stylelint.io/user-guide/rules/list/value-list-comma-newline-after', + url: 'https://stylelint.io/user-guide/rules/value-list-comma-newline-after', fixable: true, }; diff --git a/lib/rules/value-list-comma-newline-before/index.js b/lib/rules/value-list-comma-newline-before/index.js index 4ffa562d74..b0eb57083f 100644 --- a/lib/rules/value-list-comma-newline-before/index.js +++ b/lib/rules/value-list-comma-newline-before/index.js @@ -14,7 +14,7 @@ const messages = ruleMessages(ruleName, { }); const meta = { - url: 'https://stylelint.io/user-guide/rules/list/value-list-comma-newline-before', + url: 'https://stylelint.io/user-guide/rules/value-list-comma-newline-before', }; /** @type {import('stylelint').Rule} */ diff --git a/lib/rules/value-list-comma-space-after/index.js b/lib/rules/value-list-comma-space-after/index.js index c02ebeed35..74a68d0e97 100644 --- a/lib/rules/value-list-comma-space-after/index.js +++ b/lib/rules/value-list-comma-space-after/index.js @@ -18,7 +18,7 @@ const messages = ruleMessages(ruleName, { }); const meta = { - url: 'https://stylelint.io/user-guide/rules/list/value-list-comma-space-after', + url: 'https://stylelint.io/user-guide/rules/value-list-comma-space-after', fixable: true, }; diff --git a/lib/rules/value-list-comma-space-before/index.js b/lib/rules/value-list-comma-space-before/index.js index bb5b4db8c9..7f838423c3 100644 --- a/lib/rules/value-list-comma-space-before/index.js +++ b/lib/rules/value-list-comma-space-before/index.js @@ -18,7 +18,7 @@ const messages = ruleMessages(ruleName, { }); const meta = { - url: 'https://stylelint.io/user-guide/rules/list/value-list-comma-space-before', + url: 'https://stylelint.io/user-guide/rules/value-list-comma-space-before', fixable: true, }; diff --git a/lib/rules/value-list-max-empty-lines/index.js b/lib/rules/value-list-max-empty-lines/index.js index beba036380..55eee2ddec 100644 --- a/lib/rules/value-list-max-empty-lines/index.js +++ b/lib/rules/value-list-max-empty-lines/index.js @@ -14,7 +14,7 @@ const messages = ruleMessages(ruleName, { }); const meta = { - url: 'https://stylelint.io/user-guide/rules/list/value-list-max-empty-lines', + url: 'https://stylelint.io/user-guide/rules/value-list-max-empty-lines', fixable: true, }; diff --git a/lib/rules/value-no-vendor-prefix/index.js b/lib/rules/value-no-vendor-prefix/index.js index ff5c2323aa..cac62c6b29 100644 --- a/lib/rules/value-no-vendor-prefix/index.js +++ b/lib/rules/value-no-vendor-prefix/index.js @@ -20,7 +20,7 @@ const messages = ruleMessages(ruleName, { }); const meta = { - url: 'https://stylelint.io/user-guide/rules/list/value-no-vendor-prefix', + url: 'https://stylelint.io/user-guide/rules/value-no-vendor-prefix', fixable: true, }; diff --git a/system-tests/001/__snapshots__/fs.test.js.snap b/system-tests/001/__snapshots__/fs.test.js.snap index 324d5e9c75..b4c5fe6631 100644 --- a/system-tests/001/__snapshots__/fs.test.js.snap +++ b/system-tests/001/__snapshots__/fs.test.js.snap @@ -27,366 +27,366 @@ Object { "ruleMetadata": Object { "at-rule-empty-line-before": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/at-rule-empty-line-before", + "url": "https://stylelint.io/user-guide/rules/at-rule-empty-line-before", }, "at-rule-name-case": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/at-rule-name-case", + "url": "https://stylelint.io/user-guide/rules/at-rule-name-case", }, "at-rule-name-space-after": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/at-rule-name-space-after", + "url": "https://stylelint.io/user-guide/rules/at-rule-name-space-after", }, "at-rule-no-unknown": Object { - "url": "https://stylelint.io/user-guide/rules/list/at-rule-no-unknown", + "url": "https://stylelint.io/user-guide/rules/at-rule-no-unknown", }, "at-rule-semicolon-newline-after": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/at-rule-semicolon-newline-after", + "url": "https://stylelint.io/user-guide/rules/at-rule-semicolon-newline-after", }, "block-closing-brace-empty-line-before": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/block-closing-brace-empty-line-before", + "url": "https://stylelint.io/user-guide/rules/block-closing-brace-empty-line-before", }, "block-closing-brace-newline-after": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/block-closing-brace-newline-after", + "url": "https://stylelint.io/user-guide/rules/block-closing-brace-newline-after", }, "block-closing-brace-newline-before": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/block-closing-brace-newline-before", + "url": "https://stylelint.io/user-guide/rules/block-closing-brace-newline-before", }, "block-closing-brace-space-before": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/block-closing-brace-space-before", + "url": "https://stylelint.io/user-guide/rules/block-closing-brace-space-before", }, "block-no-empty": Object { - "url": "https://stylelint.io/user-guide/rules/list/block-no-empty", + "url": "https://stylelint.io/user-guide/rules/block-no-empty", }, "block-opening-brace-newline-after": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/block-opening-brace-newline-after", + "url": "https://stylelint.io/user-guide/rules/block-opening-brace-newline-after", }, "block-opening-brace-space-after": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/block-opening-brace-space-after", + "url": "https://stylelint.io/user-guide/rules/block-opening-brace-space-after", }, "block-opening-brace-space-before": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/block-opening-brace-space-before", + "url": "https://stylelint.io/user-guide/rules/block-opening-brace-space-before", }, "color-hex-case": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/color-hex-case", + "url": "https://stylelint.io/user-guide/rules/color-hex-case", }, "color-hex-length": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/color-hex-length", + "url": "https://stylelint.io/user-guide/rules/color-hex-length", }, "color-no-invalid-hex": Object { - "url": "https://stylelint.io/user-guide/rules/list/color-no-invalid-hex", + "url": "https://stylelint.io/user-guide/rules/color-no-invalid-hex", }, "comment-empty-line-before": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/comment-empty-line-before", + "url": "https://stylelint.io/user-guide/rules/comment-empty-line-before", }, "comment-no-empty": Object { - "url": "https://stylelint.io/user-guide/rules/list/comment-no-empty", + "url": "https://stylelint.io/user-guide/rules/comment-no-empty", }, "comment-whitespace-inside": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/comment-whitespace-inside", + "url": "https://stylelint.io/user-guide/rules/comment-whitespace-inside", }, "custom-property-empty-line-before": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/custom-property-empty-line-before", + "url": "https://stylelint.io/user-guide/rules/custom-property-empty-line-before", }, "declaration-bang-space-after": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/declaration-bang-space-after", + "url": "https://stylelint.io/user-guide/rules/declaration-bang-space-after", }, "declaration-bang-space-before": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/declaration-bang-space-before", + "url": "https://stylelint.io/user-guide/rules/declaration-bang-space-before", }, "declaration-block-no-duplicate-properties": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/declaration-block-no-duplicate-properties", + "url": "https://stylelint.io/user-guide/rules/declaration-block-no-duplicate-properties", }, "declaration-block-no-shorthand-property-overrides": Object { - "url": "https://stylelint.io/user-guide/rules/list/declaration-block-no-shorthand-property-overrides", + "url": "https://stylelint.io/user-guide/rules/declaration-block-no-shorthand-property-overrides", }, "declaration-block-semicolon-newline-after": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/declaration-block-semicolon-newline-after", + "url": "https://stylelint.io/user-guide/rules/declaration-block-semicolon-newline-after", }, "declaration-block-semicolon-space-after": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/declaration-block-semicolon-space-after", + "url": "https://stylelint.io/user-guide/rules/declaration-block-semicolon-space-after", }, "declaration-block-semicolon-space-before": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/declaration-block-semicolon-space-before", + "url": "https://stylelint.io/user-guide/rules/declaration-block-semicolon-space-before", }, "declaration-block-single-line-max-declarations": Object { - "url": "https://stylelint.io/user-guide/rules/list/declaration-block-single-line-max-declarations", + "url": "https://stylelint.io/user-guide/rules/declaration-block-single-line-max-declarations", }, "declaration-block-trailing-semicolon": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/declaration-block-trailing-semicolon", + "url": "https://stylelint.io/user-guide/rules/declaration-block-trailing-semicolon", }, "declaration-colon-newline-after": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/declaration-colon-newline-after", + "url": "https://stylelint.io/user-guide/rules/declaration-colon-newline-after", }, "declaration-colon-space-after": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/declaration-colon-space-after", + "url": "https://stylelint.io/user-guide/rules/declaration-colon-space-after", }, "declaration-colon-space-before": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/declaration-colon-space-before", + "url": "https://stylelint.io/user-guide/rules/declaration-colon-space-before", }, "declaration-empty-line-before": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/declaration-empty-line-before", + "url": "https://stylelint.io/user-guide/rules/declaration-empty-line-before", }, "font-family-no-duplicate-names": Object { - "url": "https://stylelint.io/user-guide/rules/list/font-family-no-duplicate-names", + "url": "https://stylelint.io/user-guide/rules/font-family-no-duplicate-names", }, "font-family-no-missing-generic-family-keyword": Object { - "url": "https://stylelint.io/user-guide/rules/list/font-family-no-missing-generic-family-keyword", + "url": "https://stylelint.io/user-guide/rules/font-family-no-missing-generic-family-keyword", }, "function-calc-no-unspaced-operator": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/function-calc-no-unspaced-operator", + "url": "https://stylelint.io/user-guide/rules/function-calc-no-unspaced-operator", }, "function-comma-newline-after": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/function-comma-newline-after", + "url": "https://stylelint.io/user-guide/rules/function-comma-newline-after", }, "function-comma-space-after": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/function-comma-space-after", + "url": "https://stylelint.io/user-guide/rules/function-comma-space-after", }, "function-comma-space-before": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/function-comma-space-before", + "url": "https://stylelint.io/user-guide/rules/function-comma-space-before", }, "function-linear-gradient-no-nonstandard-direction": Object { - "url": "https://stylelint.io/user-guide/rules/list/function-linear-gradient-no-nonstandard-direction", + "url": "https://stylelint.io/user-guide/rules/function-linear-gradient-no-nonstandard-direction", }, "function-max-empty-lines": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/function-max-empty-lines", + "url": "https://stylelint.io/user-guide/rules/function-max-empty-lines", }, "function-name-case": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/function-name-case", + "url": "https://stylelint.io/user-guide/rules/function-name-case", }, "function-parentheses-newline-inside": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/function-parentheses-newline-inside", + "url": "https://stylelint.io/user-guide/rules/function-parentheses-newline-inside", }, "function-parentheses-space-inside": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/function-parentheses-space-inside", + "url": "https://stylelint.io/user-guide/rules/function-parentheses-space-inside", }, "function-whitespace-after": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/function-whitespace-after", + "url": "https://stylelint.io/user-guide/rules/function-whitespace-after", }, "indentation": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/indentation", + "url": "https://stylelint.io/user-guide/rules/indentation", }, "keyframe-declaration-no-important": Object { - "url": "https://stylelint.io/user-guide/rules/list/keyframe-declaration-no-important", + "url": "https://stylelint.io/user-guide/rules/keyframe-declaration-no-important", }, "length-zero-no-unit": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/length-zero-no-unit", + "url": "https://stylelint.io/user-guide/rules/length-zero-no-unit", }, "max-empty-lines": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/max-empty-lines", + "url": "https://stylelint.io/user-guide/rules/max-empty-lines", }, "media-feature-colon-space-after": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/media-feature-colon-space-after", + "url": "https://stylelint.io/user-guide/rules/media-feature-colon-space-after", }, "media-feature-colon-space-before": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/media-feature-colon-space-before", + "url": "https://stylelint.io/user-guide/rules/media-feature-colon-space-before", }, "media-feature-name-case": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/media-feature-name-case", + "url": "https://stylelint.io/user-guide/rules/media-feature-name-case", }, "media-feature-name-no-unknown": Object { - "url": "https://stylelint.io/user-guide/rules/list/media-feature-name-no-unknown", + "url": "https://stylelint.io/user-guide/rules/media-feature-name-no-unknown", }, "media-feature-parentheses-space-inside": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/media-feature-parentheses-space-inside", + "url": "https://stylelint.io/user-guide/rules/media-feature-parentheses-space-inside", }, "media-feature-range-operator-space-after": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/media-feature-range-operator-space-after", + "url": "https://stylelint.io/user-guide/rules/media-feature-range-operator-space-after", }, "media-feature-range-operator-space-before": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/media-feature-range-operator-space-before", + "url": "https://stylelint.io/user-guide/rules/media-feature-range-operator-space-before", }, "media-query-list-comma-newline-after": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/media-query-list-comma-newline-after", + "url": "https://stylelint.io/user-guide/rules/media-query-list-comma-newline-after", }, "media-query-list-comma-space-after": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/media-query-list-comma-space-after", + "url": "https://stylelint.io/user-guide/rules/media-query-list-comma-space-after", }, "media-query-list-comma-space-before": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/media-query-list-comma-space-before", + "url": "https://stylelint.io/user-guide/rules/media-query-list-comma-space-before", }, "no-duplicate-at-import-rules": Object { - "url": "https://stylelint.io/user-guide/rules/list/no-duplicate-at-import-rules", + "url": "https://stylelint.io/user-guide/rules/no-duplicate-at-import-rules", }, "no-duplicate-selectors": Object { - "url": "https://stylelint.io/user-guide/rules/list/no-duplicate-selectors", + "url": "https://stylelint.io/user-guide/rules/no-duplicate-selectors", }, "no-empty-source": Object { - "url": "https://stylelint.io/user-guide/rules/list/no-empty-source", + "url": "https://stylelint.io/user-guide/rules/no-empty-source", }, "no-eol-whitespace": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/no-eol-whitespace", + "url": "https://stylelint.io/user-guide/rules/no-eol-whitespace", }, "no-extra-semicolons": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/no-extra-semicolons", + "url": "https://stylelint.io/user-guide/rules/no-extra-semicolons", }, "no-invalid-double-slash-comments": Object { - "url": "https://stylelint.io/user-guide/rules/list/no-invalid-double-slash-comments", + "url": "https://stylelint.io/user-guide/rules/no-invalid-double-slash-comments", }, "no-missing-end-of-source-newline": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/no-missing-end-of-source-newline", + "url": "https://stylelint.io/user-guide/rules/no-missing-end-of-source-newline", }, "number-leading-zero": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/number-leading-zero", + "url": "https://stylelint.io/user-guide/rules/number-leading-zero", }, "number-no-trailing-zeros": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/number-no-trailing-zeros", + "url": "https://stylelint.io/user-guide/rules/number-no-trailing-zeros", }, "property-case": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/property-case", + "url": "https://stylelint.io/user-guide/rules/property-case", }, "property-no-unknown": Object { - "url": "https://stylelint.io/user-guide/rules/list/property-no-unknown", + "url": "https://stylelint.io/user-guide/rules/property-no-unknown", }, "rule-empty-line-before": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/rule-empty-line-before", + "url": "https://stylelint.io/user-guide/rules/rule-empty-line-before", }, "selector-attribute-brackets-space-inside": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/selector-attribute-brackets-space-inside", + "url": "https://stylelint.io/user-guide/rules/selector-attribute-brackets-space-inside", }, "selector-attribute-operator-space-after": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/selector-attribute-operator-space-after", + "url": "https://stylelint.io/user-guide/rules/selector-attribute-operator-space-after", }, "selector-attribute-operator-space-before": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/selector-attribute-operator-space-before", + "url": "https://stylelint.io/user-guide/rules/selector-attribute-operator-space-before", }, "selector-combinator-space-after": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/selector-combinator-space-after", + "url": "https://stylelint.io/user-guide/rules/selector-combinator-space-after", }, "selector-combinator-space-before": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/selector-combinator-space-before", + "url": "https://stylelint.io/user-guide/rules/selector-combinator-space-before", }, "selector-descendant-combinator-no-non-space": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/selector-descendant-combinator-no-non-space", + "url": "https://stylelint.io/user-guide/rules/selector-descendant-combinator-no-non-space", }, "selector-list-comma-newline-after": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/selector-list-comma-newline-after", + "url": "https://stylelint.io/user-guide/rules/selector-list-comma-newline-after", }, "selector-list-comma-space-before": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/selector-list-comma-space-before", + "url": "https://stylelint.io/user-guide/rules/selector-list-comma-space-before", }, "selector-max-empty-lines": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/selector-max-empty-lines", + "url": "https://stylelint.io/user-guide/rules/selector-max-empty-lines", }, "selector-pseudo-class-case": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/selector-pseudo-class-case", + "url": "https://stylelint.io/user-guide/rules/selector-pseudo-class-case", }, "selector-pseudo-class-no-unknown": Object { - "url": "https://stylelint.io/user-guide/rules/list/selector-pseudo-class-no-unknown", + "url": "https://stylelint.io/user-guide/rules/selector-pseudo-class-no-unknown", }, "selector-pseudo-class-parentheses-space-inside": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/selector-pseudo-class-parentheses-space-inside", + "url": "https://stylelint.io/user-guide/rules/selector-pseudo-class-parentheses-space-inside", }, "selector-pseudo-element-case": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/selector-pseudo-element-case", + "url": "https://stylelint.io/user-guide/rules/selector-pseudo-element-case", }, "selector-pseudo-element-colon-notation": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/selector-pseudo-element-colon-notation", + "url": "https://stylelint.io/user-guide/rules/selector-pseudo-element-colon-notation", }, "selector-pseudo-element-no-unknown": Object { - "url": "https://stylelint.io/user-guide/rules/list/selector-pseudo-element-no-unknown", + "url": "https://stylelint.io/user-guide/rules/selector-pseudo-element-no-unknown", }, "selector-type-case": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/selector-type-case", + "url": "https://stylelint.io/user-guide/rules/selector-type-case", }, "selector-type-no-unknown": Object { - "url": "https://stylelint.io/user-guide/rules/list/selector-type-no-unknown", + "url": "https://stylelint.io/user-guide/rules/selector-type-no-unknown", }, "string-no-newline": Object { - "url": "https://stylelint.io/user-guide/rules/list/string-no-newline", + "url": "https://stylelint.io/user-guide/rules/string-no-newline", }, "unit-case": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/unit-case", + "url": "https://stylelint.io/user-guide/rules/unit-case", }, "unit-no-unknown": Object { - "url": "https://stylelint.io/user-guide/rules/list/unit-no-unknown", + "url": "https://stylelint.io/user-guide/rules/unit-no-unknown", }, "value-keyword-case": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/value-keyword-case", + "url": "https://stylelint.io/user-guide/rules/value-keyword-case", }, "value-list-comma-newline-after": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/value-list-comma-newline-after", + "url": "https://stylelint.io/user-guide/rules/value-list-comma-newline-after", }, "value-list-comma-space-after": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/value-list-comma-space-after", + "url": "https://stylelint.io/user-guide/rules/value-list-comma-space-after", }, "value-list-comma-space-before": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/value-list-comma-space-before", + "url": "https://stylelint.io/user-guide/rules/value-list-comma-space-before", }, "value-list-max-empty-lines": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/value-list-max-empty-lines", + "url": "https://stylelint.io/user-guide/rules/value-list-max-empty-lines", }, }, } diff --git a/system-tests/001/__snapshots__/no-fs.test.js.snap b/system-tests/001/__snapshots__/no-fs.test.js.snap index 00c3a8368c..2fd384e092 100644 --- a/system-tests/001/__snapshots__/no-fs.test.js.snap +++ b/system-tests/001/__snapshots__/no-fs.test.js.snap @@ -27,366 +27,366 @@ Object { "ruleMetadata": Object { "at-rule-empty-line-before": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/at-rule-empty-line-before", + "url": "https://stylelint.io/user-guide/rules/at-rule-empty-line-before", }, "at-rule-name-case": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/at-rule-name-case", + "url": "https://stylelint.io/user-guide/rules/at-rule-name-case", }, "at-rule-name-space-after": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/at-rule-name-space-after", + "url": "https://stylelint.io/user-guide/rules/at-rule-name-space-after", }, "at-rule-no-unknown": Object { - "url": "https://stylelint.io/user-guide/rules/list/at-rule-no-unknown", + "url": "https://stylelint.io/user-guide/rules/at-rule-no-unknown", }, "at-rule-semicolon-newline-after": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/at-rule-semicolon-newline-after", + "url": "https://stylelint.io/user-guide/rules/at-rule-semicolon-newline-after", }, "block-closing-brace-empty-line-before": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/block-closing-brace-empty-line-before", + "url": "https://stylelint.io/user-guide/rules/block-closing-brace-empty-line-before", }, "block-closing-brace-newline-after": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/block-closing-brace-newline-after", + "url": "https://stylelint.io/user-guide/rules/block-closing-brace-newline-after", }, "block-closing-brace-newline-before": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/block-closing-brace-newline-before", + "url": "https://stylelint.io/user-guide/rules/block-closing-brace-newline-before", }, "block-closing-brace-space-before": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/block-closing-brace-space-before", + "url": "https://stylelint.io/user-guide/rules/block-closing-brace-space-before", }, "block-no-empty": Object { - "url": "https://stylelint.io/user-guide/rules/list/block-no-empty", + "url": "https://stylelint.io/user-guide/rules/block-no-empty", }, "block-opening-brace-newline-after": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/block-opening-brace-newline-after", + "url": "https://stylelint.io/user-guide/rules/block-opening-brace-newline-after", }, "block-opening-brace-space-after": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/block-opening-brace-space-after", + "url": "https://stylelint.io/user-guide/rules/block-opening-brace-space-after", }, "block-opening-brace-space-before": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/block-opening-brace-space-before", + "url": "https://stylelint.io/user-guide/rules/block-opening-brace-space-before", }, "color-hex-case": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/color-hex-case", + "url": "https://stylelint.io/user-guide/rules/color-hex-case", }, "color-hex-length": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/color-hex-length", + "url": "https://stylelint.io/user-guide/rules/color-hex-length", }, "color-no-invalid-hex": Object { - "url": "https://stylelint.io/user-guide/rules/list/color-no-invalid-hex", + "url": "https://stylelint.io/user-guide/rules/color-no-invalid-hex", }, "comment-empty-line-before": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/comment-empty-line-before", + "url": "https://stylelint.io/user-guide/rules/comment-empty-line-before", }, "comment-no-empty": Object { - "url": "https://stylelint.io/user-guide/rules/list/comment-no-empty", + "url": "https://stylelint.io/user-guide/rules/comment-no-empty", }, "comment-whitespace-inside": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/comment-whitespace-inside", + "url": "https://stylelint.io/user-guide/rules/comment-whitespace-inside", }, "custom-property-empty-line-before": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/custom-property-empty-line-before", + "url": "https://stylelint.io/user-guide/rules/custom-property-empty-line-before", }, "declaration-bang-space-after": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/declaration-bang-space-after", + "url": "https://stylelint.io/user-guide/rules/declaration-bang-space-after", }, "declaration-bang-space-before": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/declaration-bang-space-before", + "url": "https://stylelint.io/user-guide/rules/declaration-bang-space-before", }, "declaration-block-no-duplicate-properties": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/declaration-block-no-duplicate-properties", + "url": "https://stylelint.io/user-guide/rules/declaration-block-no-duplicate-properties", }, "declaration-block-no-shorthand-property-overrides": Object { - "url": "https://stylelint.io/user-guide/rules/list/declaration-block-no-shorthand-property-overrides", + "url": "https://stylelint.io/user-guide/rules/declaration-block-no-shorthand-property-overrides", }, "declaration-block-semicolon-newline-after": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/declaration-block-semicolon-newline-after", + "url": "https://stylelint.io/user-guide/rules/declaration-block-semicolon-newline-after", }, "declaration-block-semicolon-space-after": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/declaration-block-semicolon-space-after", + "url": "https://stylelint.io/user-guide/rules/declaration-block-semicolon-space-after", }, "declaration-block-semicolon-space-before": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/declaration-block-semicolon-space-before", + "url": "https://stylelint.io/user-guide/rules/declaration-block-semicolon-space-before", }, "declaration-block-single-line-max-declarations": Object { - "url": "https://stylelint.io/user-guide/rules/list/declaration-block-single-line-max-declarations", + "url": "https://stylelint.io/user-guide/rules/declaration-block-single-line-max-declarations", }, "declaration-block-trailing-semicolon": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/declaration-block-trailing-semicolon", + "url": "https://stylelint.io/user-guide/rules/declaration-block-trailing-semicolon", }, "declaration-colon-newline-after": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/declaration-colon-newline-after", + "url": "https://stylelint.io/user-guide/rules/declaration-colon-newline-after", }, "declaration-colon-space-after": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/declaration-colon-space-after", + "url": "https://stylelint.io/user-guide/rules/declaration-colon-space-after", }, "declaration-colon-space-before": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/declaration-colon-space-before", + "url": "https://stylelint.io/user-guide/rules/declaration-colon-space-before", }, "declaration-empty-line-before": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/declaration-empty-line-before", + "url": "https://stylelint.io/user-guide/rules/declaration-empty-line-before", }, "font-family-no-duplicate-names": Object { - "url": "https://stylelint.io/user-guide/rules/list/font-family-no-duplicate-names", + "url": "https://stylelint.io/user-guide/rules/font-family-no-duplicate-names", }, "font-family-no-missing-generic-family-keyword": Object { - "url": "https://stylelint.io/user-guide/rules/list/font-family-no-missing-generic-family-keyword", + "url": "https://stylelint.io/user-guide/rules/font-family-no-missing-generic-family-keyword", }, "function-calc-no-unspaced-operator": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/function-calc-no-unspaced-operator", + "url": "https://stylelint.io/user-guide/rules/function-calc-no-unspaced-operator", }, "function-comma-newline-after": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/function-comma-newline-after", + "url": "https://stylelint.io/user-guide/rules/function-comma-newline-after", }, "function-comma-space-after": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/function-comma-space-after", + "url": "https://stylelint.io/user-guide/rules/function-comma-space-after", }, "function-comma-space-before": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/function-comma-space-before", + "url": "https://stylelint.io/user-guide/rules/function-comma-space-before", }, "function-linear-gradient-no-nonstandard-direction": Object { - "url": "https://stylelint.io/user-guide/rules/list/function-linear-gradient-no-nonstandard-direction", + "url": "https://stylelint.io/user-guide/rules/function-linear-gradient-no-nonstandard-direction", }, "function-max-empty-lines": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/function-max-empty-lines", + "url": "https://stylelint.io/user-guide/rules/function-max-empty-lines", }, "function-name-case": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/function-name-case", + "url": "https://stylelint.io/user-guide/rules/function-name-case", }, "function-parentheses-newline-inside": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/function-parentheses-newline-inside", + "url": "https://stylelint.io/user-guide/rules/function-parentheses-newline-inside", }, "function-parentheses-space-inside": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/function-parentheses-space-inside", + "url": "https://stylelint.io/user-guide/rules/function-parentheses-space-inside", }, "function-whitespace-after": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/function-whitespace-after", + "url": "https://stylelint.io/user-guide/rules/function-whitespace-after", }, "indentation": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/indentation", + "url": "https://stylelint.io/user-guide/rules/indentation", }, "keyframe-declaration-no-important": Object { - "url": "https://stylelint.io/user-guide/rules/list/keyframe-declaration-no-important", + "url": "https://stylelint.io/user-guide/rules/keyframe-declaration-no-important", }, "length-zero-no-unit": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/length-zero-no-unit", + "url": "https://stylelint.io/user-guide/rules/length-zero-no-unit", }, "max-empty-lines": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/max-empty-lines", + "url": "https://stylelint.io/user-guide/rules/max-empty-lines", }, "media-feature-colon-space-after": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/media-feature-colon-space-after", + "url": "https://stylelint.io/user-guide/rules/media-feature-colon-space-after", }, "media-feature-colon-space-before": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/media-feature-colon-space-before", + "url": "https://stylelint.io/user-guide/rules/media-feature-colon-space-before", }, "media-feature-name-case": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/media-feature-name-case", + "url": "https://stylelint.io/user-guide/rules/media-feature-name-case", }, "media-feature-name-no-unknown": Object { - "url": "https://stylelint.io/user-guide/rules/list/media-feature-name-no-unknown", + "url": "https://stylelint.io/user-guide/rules/media-feature-name-no-unknown", }, "media-feature-parentheses-space-inside": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/media-feature-parentheses-space-inside", + "url": "https://stylelint.io/user-guide/rules/media-feature-parentheses-space-inside", }, "media-feature-range-operator-space-after": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/media-feature-range-operator-space-after", + "url": "https://stylelint.io/user-guide/rules/media-feature-range-operator-space-after", }, "media-feature-range-operator-space-before": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/media-feature-range-operator-space-before", + "url": "https://stylelint.io/user-guide/rules/media-feature-range-operator-space-before", }, "media-query-list-comma-newline-after": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/media-query-list-comma-newline-after", + "url": "https://stylelint.io/user-guide/rules/media-query-list-comma-newline-after", }, "media-query-list-comma-space-after": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/media-query-list-comma-space-after", + "url": "https://stylelint.io/user-guide/rules/media-query-list-comma-space-after", }, "media-query-list-comma-space-before": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/media-query-list-comma-space-before", + "url": "https://stylelint.io/user-guide/rules/media-query-list-comma-space-before", }, "no-duplicate-at-import-rules": Object { - "url": "https://stylelint.io/user-guide/rules/list/no-duplicate-at-import-rules", + "url": "https://stylelint.io/user-guide/rules/no-duplicate-at-import-rules", }, "no-duplicate-selectors": Object { - "url": "https://stylelint.io/user-guide/rules/list/no-duplicate-selectors", + "url": "https://stylelint.io/user-guide/rules/no-duplicate-selectors", }, "no-empty-source": Object { - "url": "https://stylelint.io/user-guide/rules/list/no-empty-source", + "url": "https://stylelint.io/user-guide/rules/no-empty-source", }, "no-eol-whitespace": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/no-eol-whitespace", + "url": "https://stylelint.io/user-guide/rules/no-eol-whitespace", }, "no-extra-semicolons": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/no-extra-semicolons", + "url": "https://stylelint.io/user-guide/rules/no-extra-semicolons", }, "no-invalid-double-slash-comments": Object { - "url": "https://stylelint.io/user-guide/rules/list/no-invalid-double-slash-comments", + "url": "https://stylelint.io/user-guide/rules/no-invalid-double-slash-comments", }, "no-missing-end-of-source-newline": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/no-missing-end-of-source-newline", + "url": "https://stylelint.io/user-guide/rules/no-missing-end-of-source-newline", }, "number-leading-zero": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/number-leading-zero", + "url": "https://stylelint.io/user-guide/rules/number-leading-zero", }, "number-no-trailing-zeros": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/number-no-trailing-zeros", + "url": "https://stylelint.io/user-guide/rules/number-no-trailing-zeros", }, "property-case": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/property-case", + "url": "https://stylelint.io/user-guide/rules/property-case", }, "property-no-unknown": Object { - "url": "https://stylelint.io/user-guide/rules/list/property-no-unknown", + "url": "https://stylelint.io/user-guide/rules/property-no-unknown", }, "rule-empty-line-before": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/rule-empty-line-before", + "url": "https://stylelint.io/user-guide/rules/rule-empty-line-before", }, "selector-attribute-brackets-space-inside": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/selector-attribute-brackets-space-inside", + "url": "https://stylelint.io/user-guide/rules/selector-attribute-brackets-space-inside", }, "selector-attribute-operator-space-after": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/selector-attribute-operator-space-after", + "url": "https://stylelint.io/user-guide/rules/selector-attribute-operator-space-after", }, "selector-attribute-operator-space-before": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/selector-attribute-operator-space-before", + "url": "https://stylelint.io/user-guide/rules/selector-attribute-operator-space-before", }, "selector-combinator-space-after": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/selector-combinator-space-after", + "url": "https://stylelint.io/user-guide/rules/selector-combinator-space-after", }, "selector-combinator-space-before": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/selector-combinator-space-before", + "url": "https://stylelint.io/user-guide/rules/selector-combinator-space-before", }, "selector-descendant-combinator-no-non-space": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/selector-descendant-combinator-no-non-space", + "url": "https://stylelint.io/user-guide/rules/selector-descendant-combinator-no-non-space", }, "selector-list-comma-newline-after": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/selector-list-comma-newline-after", + "url": "https://stylelint.io/user-guide/rules/selector-list-comma-newline-after", }, "selector-list-comma-space-before": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/selector-list-comma-space-before", + "url": "https://stylelint.io/user-guide/rules/selector-list-comma-space-before", }, "selector-max-empty-lines": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/selector-max-empty-lines", + "url": "https://stylelint.io/user-guide/rules/selector-max-empty-lines", }, "selector-pseudo-class-case": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/selector-pseudo-class-case", + "url": "https://stylelint.io/user-guide/rules/selector-pseudo-class-case", }, "selector-pseudo-class-no-unknown": Object { - "url": "https://stylelint.io/user-guide/rules/list/selector-pseudo-class-no-unknown", + "url": "https://stylelint.io/user-guide/rules/selector-pseudo-class-no-unknown", }, "selector-pseudo-class-parentheses-space-inside": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/selector-pseudo-class-parentheses-space-inside", + "url": "https://stylelint.io/user-guide/rules/selector-pseudo-class-parentheses-space-inside", }, "selector-pseudo-element-case": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/selector-pseudo-element-case", + "url": "https://stylelint.io/user-guide/rules/selector-pseudo-element-case", }, "selector-pseudo-element-colon-notation": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/selector-pseudo-element-colon-notation", + "url": "https://stylelint.io/user-guide/rules/selector-pseudo-element-colon-notation", }, "selector-pseudo-element-no-unknown": Object { - "url": "https://stylelint.io/user-guide/rules/list/selector-pseudo-element-no-unknown", + "url": "https://stylelint.io/user-guide/rules/selector-pseudo-element-no-unknown", }, "selector-type-case": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/selector-type-case", + "url": "https://stylelint.io/user-guide/rules/selector-type-case", }, "selector-type-no-unknown": Object { - "url": "https://stylelint.io/user-guide/rules/list/selector-type-no-unknown", + "url": "https://stylelint.io/user-guide/rules/selector-type-no-unknown", }, "string-no-newline": Object { - "url": "https://stylelint.io/user-guide/rules/list/string-no-newline", + "url": "https://stylelint.io/user-guide/rules/string-no-newline", }, "unit-case": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/unit-case", + "url": "https://stylelint.io/user-guide/rules/unit-case", }, "unit-no-unknown": Object { - "url": "https://stylelint.io/user-guide/rules/list/unit-no-unknown", + "url": "https://stylelint.io/user-guide/rules/unit-no-unknown", }, "value-keyword-case": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/value-keyword-case", + "url": "https://stylelint.io/user-guide/rules/value-keyword-case", }, "value-list-comma-newline-after": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/value-list-comma-newline-after", + "url": "https://stylelint.io/user-guide/rules/value-list-comma-newline-after", }, "value-list-comma-space-after": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/value-list-comma-space-after", + "url": "https://stylelint.io/user-guide/rules/value-list-comma-space-after", }, "value-list-comma-space-before": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/value-list-comma-space-before", + "url": "https://stylelint.io/user-guide/rules/value-list-comma-space-before", }, "value-list-max-empty-lines": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/value-list-max-empty-lines", + "url": "https://stylelint.io/user-guide/rules/value-list-max-empty-lines", }, }, } diff --git a/system-tests/002/__snapshots__/fs.test.js.snap b/system-tests/002/__snapshots__/fs.test.js.snap index 807684f159..a84109f3a2 100644 --- a/system-tests/002/__snapshots__/fs.test.js.snap +++ b/system-tests/002/__snapshots__/fs.test.js.snap @@ -83,126 +83,126 @@ Object { "ruleMetadata": Object { "at-rule-name-space-after": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/at-rule-name-space-after", + "url": "https://stylelint.io/user-guide/rules/at-rule-name-space-after", }, "at-rule-no-vendor-prefix": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/at-rule-no-vendor-prefix", + "url": "https://stylelint.io/user-guide/rules/at-rule-no-vendor-prefix", }, "at-rule-semicolon-space-before": Object { - "url": "https://stylelint.io/user-guide/rules/list/at-rule-semicolon-space-before", + "url": "https://stylelint.io/user-guide/rules/at-rule-semicolon-space-before", }, "color-named": Object { - "url": "https://stylelint.io/user-guide/rules/list/color-named", + "url": "https://stylelint.io/user-guide/rules/color-named", }, "declaration-block-semicolon-newline-before": Object { - "url": "https://stylelint.io/user-guide/rules/list/declaration-block-semicolon-newline-before", + "url": "https://stylelint.io/user-guide/rules/declaration-block-semicolon-newline-before", }, "declaration-no-important": Object { - "url": "https://stylelint.io/user-guide/rules/list/declaration-no-important", + "url": "https://stylelint.io/user-guide/rules/declaration-no-important", }, "font-family-name-quotes": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/font-family-name-quotes", + "url": "https://stylelint.io/user-guide/rules/font-family-name-quotes", }, "font-weight-notation": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/font-weight-notation", + "url": "https://stylelint.io/user-guide/rules/font-weight-notation", }, "function-url-no-scheme-relative": Object { - "url": "https://stylelint.io/user-guide/rules/list/function-url-no-scheme-relative", + "url": "https://stylelint.io/user-guide/rules/function-url-no-scheme-relative", }, "function-url-quotes": Object { - "url": "https://stylelint.io/user-guide/rules/list/function-url-quotes", + "url": "https://stylelint.io/user-guide/rules/function-url-quotes", }, "max-empty-lines": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/max-empty-lines", + "url": "https://stylelint.io/user-guide/rules/max-empty-lines", }, "media-feature-name-no-vendor-prefix": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/media-feature-name-no-vendor-prefix", + "url": "https://stylelint.io/user-guide/rules/media-feature-name-no-vendor-prefix", }, "number-leading-zero": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/number-leading-zero", + "url": "https://stylelint.io/user-guide/rules/number-leading-zero", }, "property-no-vendor-prefix": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/property-no-vendor-prefix", + "url": "https://stylelint.io/user-guide/rules/property-no-vendor-prefix", }, "selector-attribute-quotes": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/selector-attribute-quotes", + "url": "https://stylelint.io/user-guide/rules/selector-attribute-quotes", }, "selector-class-pattern": Object { - "url": "https://stylelint.io/user-guide/rules/list/selector-class-pattern", + "url": "https://stylelint.io/user-guide/rules/selector-class-pattern", }, "selector-list-comma-newline-before": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/selector-list-comma-newline-before", + "url": "https://stylelint.io/user-guide/rules/selector-list-comma-newline-before", }, "selector-list-comma-space-after": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/selector-list-comma-space-after", + "url": "https://stylelint.io/user-guide/rules/selector-list-comma-space-after", }, "selector-list-comma-space-before": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/selector-list-comma-space-before", + "url": "https://stylelint.io/user-guide/rules/selector-list-comma-space-before", }, "selector-max-attribute": Object { - "url": "https://stylelint.io/user-guide/rules/list/selector-max-attribute", + "url": "https://stylelint.io/user-guide/rules/selector-max-attribute", }, "selector-max-class": Object { - "url": "https://stylelint.io/user-guide/rules/list/selector-max-class", + "url": "https://stylelint.io/user-guide/rules/selector-max-class", }, "selector-max-combinators": Object { - "url": "https://stylelint.io/user-guide/rules/list/selector-max-combinators", + "url": "https://stylelint.io/user-guide/rules/selector-max-combinators", }, "selector-max-compound-selectors": Object { - "url": "https://stylelint.io/user-guide/rules/list/selector-max-compound-selectors", + "url": "https://stylelint.io/user-guide/rules/selector-max-compound-selectors", }, "selector-max-id": Object { - "url": "https://stylelint.io/user-guide/rules/list/selector-max-id", + "url": "https://stylelint.io/user-guide/rules/selector-max-id", }, "selector-max-type": Object { - "url": "https://stylelint.io/user-guide/rules/list/selector-max-type", + "url": "https://stylelint.io/user-guide/rules/selector-max-type", }, "selector-max-universal": Object { - "url": "https://stylelint.io/user-guide/rules/list/selector-max-universal", + "url": "https://stylelint.io/user-guide/rules/selector-max-universal", }, "selector-no-qualifying-type": Object { - "url": "https://stylelint.io/user-guide/rules/list/selector-no-qualifying-type", + "url": "https://stylelint.io/user-guide/rules/selector-no-qualifying-type", }, "selector-no-vendor-prefix": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/selector-no-vendor-prefix", + "url": "https://stylelint.io/user-guide/rules/selector-no-vendor-prefix", }, "shorthand-property-no-redundant-values": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/shorthand-property-no-redundant-values", + "url": "https://stylelint.io/user-guide/rules/shorthand-property-no-redundant-values", }, "string-quotes": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/string-quotes", + "url": "https://stylelint.io/user-guide/rules/string-quotes", }, "unicode-bom": Object { - "url": "https://stylelint.io/user-guide/rules/list/unicode-bom", + "url": "https://stylelint.io/user-guide/rules/unicode-bom", }, "value-list-comma-newline-after": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/value-list-comma-newline-after", + "url": "https://stylelint.io/user-guide/rules/value-list-comma-newline-after", }, "value-list-comma-newline-before": Object { - "url": "https://stylelint.io/user-guide/rules/list/value-list-comma-newline-before", + "url": "https://stylelint.io/user-guide/rules/value-list-comma-newline-before", }, "value-list-comma-space-after": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/value-list-comma-space-after", + "url": "https://stylelint.io/user-guide/rules/value-list-comma-space-after", }, "value-no-vendor-prefix": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/value-no-vendor-prefix", + "url": "https://stylelint.io/user-guide/rules/value-no-vendor-prefix", }, }, } diff --git a/system-tests/002/__snapshots__/no-fs.test.js.snap b/system-tests/002/__snapshots__/no-fs.test.js.snap index e003108967..324c84ba11 100644 --- a/system-tests/002/__snapshots__/no-fs.test.js.snap +++ b/system-tests/002/__snapshots__/no-fs.test.js.snap @@ -83,126 +83,126 @@ Object { "ruleMetadata": Object { "at-rule-name-space-after": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/at-rule-name-space-after", + "url": "https://stylelint.io/user-guide/rules/at-rule-name-space-after", }, "at-rule-no-vendor-prefix": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/at-rule-no-vendor-prefix", + "url": "https://stylelint.io/user-guide/rules/at-rule-no-vendor-prefix", }, "at-rule-semicolon-space-before": Object { - "url": "https://stylelint.io/user-guide/rules/list/at-rule-semicolon-space-before", + "url": "https://stylelint.io/user-guide/rules/at-rule-semicolon-space-before", }, "color-named": Object { - "url": "https://stylelint.io/user-guide/rules/list/color-named", + "url": "https://stylelint.io/user-guide/rules/color-named", }, "declaration-block-semicolon-newline-before": Object { - "url": "https://stylelint.io/user-guide/rules/list/declaration-block-semicolon-newline-before", + "url": "https://stylelint.io/user-guide/rules/declaration-block-semicolon-newline-before", }, "declaration-no-important": Object { - "url": "https://stylelint.io/user-guide/rules/list/declaration-no-important", + "url": "https://stylelint.io/user-guide/rules/declaration-no-important", }, "font-family-name-quotes": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/font-family-name-quotes", + "url": "https://stylelint.io/user-guide/rules/font-family-name-quotes", }, "font-weight-notation": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/font-weight-notation", + "url": "https://stylelint.io/user-guide/rules/font-weight-notation", }, "function-url-no-scheme-relative": Object { - "url": "https://stylelint.io/user-guide/rules/list/function-url-no-scheme-relative", + "url": "https://stylelint.io/user-guide/rules/function-url-no-scheme-relative", }, "function-url-quotes": Object { - "url": "https://stylelint.io/user-guide/rules/list/function-url-quotes", + "url": "https://stylelint.io/user-guide/rules/function-url-quotes", }, "max-empty-lines": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/max-empty-lines", + "url": "https://stylelint.io/user-guide/rules/max-empty-lines", }, "media-feature-name-no-vendor-prefix": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/media-feature-name-no-vendor-prefix", + "url": "https://stylelint.io/user-guide/rules/media-feature-name-no-vendor-prefix", }, "number-leading-zero": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/number-leading-zero", + "url": "https://stylelint.io/user-guide/rules/number-leading-zero", }, "property-no-vendor-prefix": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/property-no-vendor-prefix", + "url": "https://stylelint.io/user-guide/rules/property-no-vendor-prefix", }, "selector-attribute-quotes": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/selector-attribute-quotes", + "url": "https://stylelint.io/user-guide/rules/selector-attribute-quotes", }, "selector-class-pattern": Object { - "url": "https://stylelint.io/user-guide/rules/list/selector-class-pattern", + "url": "https://stylelint.io/user-guide/rules/selector-class-pattern", }, "selector-list-comma-newline-before": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/selector-list-comma-newline-before", + "url": "https://stylelint.io/user-guide/rules/selector-list-comma-newline-before", }, "selector-list-comma-space-after": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/selector-list-comma-space-after", + "url": "https://stylelint.io/user-guide/rules/selector-list-comma-space-after", }, "selector-list-comma-space-before": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/selector-list-comma-space-before", + "url": "https://stylelint.io/user-guide/rules/selector-list-comma-space-before", }, "selector-max-attribute": Object { - "url": "https://stylelint.io/user-guide/rules/list/selector-max-attribute", + "url": "https://stylelint.io/user-guide/rules/selector-max-attribute", }, "selector-max-class": Object { - "url": "https://stylelint.io/user-guide/rules/list/selector-max-class", + "url": "https://stylelint.io/user-guide/rules/selector-max-class", }, "selector-max-combinators": Object { - "url": "https://stylelint.io/user-guide/rules/list/selector-max-combinators", + "url": "https://stylelint.io/user-guide/rules/selector-max-combinators", }, "selector-max-compound-selectors": Object { - "url": "https://stylelint.io/user-guide/rules/list/selector-max-compound-selectors", + "url": "https://stylelint.io/user-guide/rules/selector-max-compound-selectors", }, "selector-max-id": Object { - "url": "https://stylelint.io/user-guide/rules/list/selector-max-id", + "url": "https://stylelint.io/user-guide/rules/selector-max-id", }, "selector-max-type": Object { - "url": "https://stylelint.io/user-guide/rules/list/selector-max-type", + "url": "https://stylelint.io/user-guide/rules/selector-max-type", }, "selector-max-universal": Object { - "url": "https://stylelint.io/user-guide/rules/list/selector-max-universal", + "url": "https://stylelint.io/user-guide/rules/selector-max-universal", }, "selector-no-qualifying-type": Object { - "url": "https://stylelint.io/user-guide/rules/list/selector-no-qualifying-type", + "url": "https://stylelint.io/user-guide/rules/selector-no-qualifying-type", }, "selector-no-vendor-prefix": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/selector-no-vendor-prefix", + "url": "https://stylelint.io/user-guide/rules/selector-no-vendor-prefix", }, "shorthand-property-no-redundant-values": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/shorthand-property-no-redundant-values", + "url": "https://stylelint.io/user-guide/rules/shorthand-property-no-redundant-values", }, "string-quotes": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/string-quotes", + "url": "https://stylelint.io/user-guide/rules/string-quotes", }, "unicode-bom": Object { - "url": "https://stylelint.io/user-guide/rules/list/unicode-bom", + "url": "https://stylelint.io/user-guide/rules/unicode-bom", }, "value-list-comma-newline-after": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/value-list-comma-newline-after", + "url": "https://stylelint.io/user-guide/rules/value-list-comma-newline-after", }, "value-list-comma-newline-before": Object { - "url": "https://stylelint.io/user-guide/rules/list/value-list-comma-newline-before", + "url": "https://stylelint.io/user-guide/rules/value-list-comma-newline-before", }, "value-list-comma-space-after": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/value-list-comma-space-after", + "url": "https://stylelint.io/user-guide/rules/value-list-comma-space-after", }, "value-no-vendor-prefix": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/value-no-vendor-prefix", + "url": "https://stylelint.io/user-guide/rules/value-no-vendor-prefix", }, }, } diff --git a/system-tests/003/__snapshots__/fs.test.js.snap b/system-tests/003/__snapshots__/fs.test.js.snap index 9c8221fe41..7ae14882e5 100644 --- a/system-tests/003/__snapshots__/fs.test.js.snap +++ b/system-tests/003/__snapshots__/fs.test.js.snap @@ -47,369 +47,369 @@ Object { "ruleMetadata": Object { "at-rule-empty-line-before": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/at-rule-empty-line-before", + "url": "https://stylelint.io/user-guide/rules/at-rule-empty-line-before", }, "at-rule-name-case": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/at-rule-name-case", + "url": "https://stylelint.io/user-guide/rules/at-rule-name-case", }, "at-rule-name-space-after": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/at-rule-name-space-after", + "url": "https://stylelint.io/user-guide/rules/at-rule-name-space-after", }, "at-rule-no-unknown": Object { - "url": "https://stylelint.io/user-guide/rules/list/at-rule-no-unknown", + "url": "https://stylelint.io/user-guide/rules/at-rule-no-unknown", }, "at-rule-semicolon-newline-after": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/at-rule-semicolon-newline-after", + "url": "https://stylelint.io/user-guide/rules/at-rule-semicolon-newline-after", }, "block-closing-brace-empty-line-before": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/block-closing-brace-empty-line-before", + "url": "https://stylelint.io/user-guide/rules/block-closing-brace-empty-line-before", }, "block-closing-brace-newline-after": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/block-closing-brace-newline-after", + "url": "https://stylelint.io/user-guide/rules/block-closing-brace-newline-after", }, "block-closing-brace-newline-before": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/block-closing-brace-newline-before", + "url": "https://stylelint.io/user-guide/rules/block-closing-brace-newline-before", }, "block-closing-brace-space-before": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/block-closing-brace-space-before", + "url": "https://stylelint.io/user-guide/rules/block-closing-brace-space-before", }, "block-no-empty": Object { - "url": "https://stylelint.io/user-guide/rules/list/block-no-empty", + "url": "https://stylelint.io/user-guide/rules/block-no-empty", }, "block-opening-brace-newline-after": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/block-opening-brace-newline-after", + "url": "https://stylelint.io/user-guide/rules/block-opening-brace-newline-after", }, "block-opening-brace-space-after": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/block-opening-brace-space-after", + "url": "https://stylelint.io/user-guide/rules/block-opening-brace-space-after", }, "block-opening-brace-space-before": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/block-opening-brace-space-before", + "url": "https://stylelint.io/user-guide/rules/block-opening-brace-space-before", }, "color-hex-case": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/color-hex-case", + "url": "https://stylelint.io/user-guide/rules/color-hex-case", }, "color-hex-length": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/color-hex-length", + "url": "https://stylelint.io/user-guide/rules/color-hex-length", }, "color-no-invalid-hex": Object { - "url": "https://stylelint.io/user-guide/rules/list/color-no-invalid-hex", + "url": "https://stylelint.io/user-guide/rules/color-no-invalid-hex", }, "comment-empty-line-before": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/comment-empty-line-before", + "url": "https://stylelint.io/user-guide/rules/comment-empty-line-before", }, "comment-no-empty": Object { - "url": "https://stylelint.io/user-guide/rules/list/comment-no-empty", + "url": "https://stylelint.io/user-guide/rules/comment-no-empty", }, "comment-whitespace-inside": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/comment-whitespace-inside", + "url": "https://stylelint.io/user-guide/rules/comment-whitespace-inside", }, "custom-property-empty-line-before": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/custom-property-empty-line-before", + "url": "https://stylelint.io/user-guide/rules/custom-property-empty-line-before", }, "declaration-bang-space-after": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/declaration-bang-space-after", + "url": "https://stylelint.io/user-guide/rules/declaration-bang-space-after", }, "declaration-bang-space-before": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/declaration-bang-space-before", + "url": "https://stylelint.io/user-guide/rules/declaration-bang-space-before", }, "declaration-block-no-duplicate-properties": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/declaration-block-no-duplicate-properties", + "url": "https://stylelint.io/user-guide/rules/declaration-block-no-duplicate-properties", }, "declaration-block-no-shorthand-property-overrides": Object { - "url": "https://stylelint.io/user-guide/rules/list/declaration-block-no-shorthand-property-overrides", + "url": "https://stylelint.io/user-guide/rules/declaration-block-no-shorthand-property-overrides", }, "declaration-block-semicolon-newline-after": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/declaration-block-semicolon-newline-after", + "url": "https://stylelint.io/user-guide/rules/declaration-block-semicolon-newline-after", }, "declaration-block-semicolon-space-after": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/declaration-block-semicolon-space-after", + "url": "https://stylelint.io/user-guide/rules/declaration-block-semicolon-space-after", }, "declaration-block-semicolon-space-before": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/declaration-block-semicolon-space-before", + "url": "https://stylelint.io/user-guide/rules/declaration-block-semicolon-space-before", }, "declaration-block-single-line-max-declarations": Object { - "url": "https://stylelint.io/user-guide/rules/list/declaration-block-single-line-max-declarations", + "url": "https://stylelint.io/user-guide/rules/declaration-block-single-line-max-declarations", }, "declaration-block-trailing-semicolon": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/declaration-block-trailing-semicolon", + "url": "https://stylelint.io/user-guide/rules/declaration-block-trailing-semicolon", }, "declaration-colon-newline-after": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/declaration-colon-newline-after", + "url": "https://stylelint.io/user-guide/rules/declaration-colon-newline-after", }, "declaration-colon-space-after": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/declaration-colon-space-after", + "url": "https://stylelint.io/user-guide/rules/declaration-colon-space-after", }, "declaration-colon-space-before": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/declaration-colon-space-before", + "url": "https://stylelint.io/user-guide/rules/declaration-colon-space-before", }, "declaration-empty-line-before": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/declaration-empty-line-before", + "url": "https://stylelint.io/user-guide/rules/declaration-empty-line-before", }, "font-family-no-duplicate-names": Object { - "url": "https://stylelint.io/user-guide/rules/list/font-family-no-duplicate-names", + "url": "https://stylelint.io/user-guide/rules/font-family-no-duplicate-names", }, "font-family-no-missing-generic-family-keyword": Object { - "url": "https://stylelint.io/user-guide/rules/list/font-family-no-missing-generic-family-keyword", + "url": "https://stylelint.io/user-guide/rules/font-family-no-missing-generic-family-keyword", }, "function-calc-no-unspaced-operator": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/function-calc-no-unspaced-operator", + "url": "https://stylelint.io/user-guide/rules/function-calc-no-unspaced-operator", }, "function-comma-newline-after": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/function-comma-newline-after", + "url": "https://stylelint.io/user-guide/rules/function-comma-newline-after", }, "function-comma-space-after": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/function-comma-space-after", + "url": "https://stylelint.io/user-guide/rules/function-comma-space-after", }, "function-comma-space-before": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/function-comma-space-before", + "url": "https://stylelint.io/user-guide/rules/function-comma-space-before", }, "function-linear-gradient-no-nonstandard-direction": Object { - "url": "https://stylelint.io/user-guide/rules/list/function-linear-gradient-no-nonstandard-direction", + "url": "https://stylelint.io/user-guide/rules/function-linear-gradient-no-nonstandard-direction", }, "function-max-empty-lines": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/function-max-empty-lines", + "url": "https://stylelint.io/user-guide/rules/function-max-empty-lines", }, "function-name-case": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/function-name-case", + "url": "https://stylelint.io/user-guide/rules/function-name-case", }, "function-parentheses-newline-inside": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/function-parentheses-newline-inside", + "url": "https://stylelint.io/user-guide/rules/function-parentheses-newline-inside", }, "function-parentheses-space-inside": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/function-parentheses-space-inside", + "url": "https://stylelint.io/user-guide/rules/function-parentheses-space-inside", }, "function-whitespace-after": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/function-whitespace-after", + "url": "https://stylelint.io/user-guide/rules/function-whitespace-after", }, "indentation": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/indentation", + "url": "https://stylelint.io/user-guide/rules/indentation", }, "keyframe-declaration-no-important": Object { - "url": "https://stylelint.io/user-guide/rules/list/keyframe-declaration-no-important", + "url": "https://stylelint.io/user-guide/rules/keyframe-declaration-no-important", }, "length-zero-no-unit": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/length-zero-no-unit", + "url": "https://stylelint.io/user-guide/rules/length-zero-no-unit", }, "max-empty-lines": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/max-empty-lines", + "url": "https://stylelint.io/user-guide/rules/max-empty-lines", }, "media-feature-colon-space-after": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/media-feature-colon-space-after", + "url": "https://stylelint.io/user-guide/rules/media-feature-colon-space-after", }, "media-feature-colon-space-before": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/media-feature-colon-space-before", + "url": "https://stylelint.io/user-guide/rules/media-feature-colon-space-before", }, "media-feature-name-case": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/media-feature-name-case", + "url": "https://stylelint.io/user-guide/rules/media-feature-name-case", }, "media-feature-name-no-unknown": Object { - "url": "https://stylelint.io/user-guide/rules/list/media-feature-name-no-unknown", + "url": "https://stylelint.io/user-guide/rules/media-feature-name-no-unknown", }, "media-feature-parentheses-space-inside": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/media-feature-parentheses-space-inside", + "url": "https://stylelint.io/user-guide/rules/media-feature-parentheses-space-inside", }, "media-feature-range-operator-space-after": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/media-feature-range-operator-space-after", + "url": "https://stylelint.io/user-guide/rules/media-feature-range-operator-space-after", }, "media-feature-range-operator-space-before": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/media-feature-range-operator-space-before", + "url": "https://stylelint.io/user-guide/rules/media-feature-range-operator-space-before", }, "media-query-list-comma-newline-after": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/media-query-list-comma-newline-after", + "url": "https://stylelint.io/user-guide/rules/media-query-list-comma-newline-after", }, "media-query-list-comma-space-after": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/media-query-list-comma-space-after", + "url": "https://stylelint.io/user-guide/rules/media-query-list-comma-space-after", }, "media-query-list-comma-space-before": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/media-query-list-comma-space-before", + "url": "https://stylelint.io/user-guide/rules/media-query-list-comma-space-before", }, "no-descending-specificity": Object { - "url": "https://stylelint.io/user-guide/rules/list/no-descending-specificity", + "url": "https://stylelint.io/user-guide/rules/no-descending-specificity", }, "no-duplicate-at-import-rules": Object { - "url": "https://stylelint.io/user-guide/rules/list/no-duplicate-at-import-rules", + "url": "https://stylelint.io/user-guide/rules/no-duplicate-at-import-rules", }, "no-duplicate-selectors": Object { - "url": "https://stylelint.io/user-guide/rules/list/no-duplicate-selectors", + "url": "https://stylelint.io/user-guide/rules/no-duplicate-selectors", }, "no-empty-source": Object { - "url": "https://stylelint.io/user-guide/rules/list/no-empty-source", + "url": "https://stylelint.io/user-guide/rules/no-empty-source", }, "no-eol-whitespace": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/no-eol-whitespace", + "url": "https://stylelint.io/user-guide/rules/no-eol-whitespace", }, "no-extra-semicolons": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/no-extra-semicolons", + "url": "https://stylelint.io/user-guide/rules/no-extra-semicolons", }, "no-invalid-double-slash-comments": Object { - "url": "https://stylelint.io/user-guide/rules/list/no-invalid-double-slash-comments", + "url": "https://stylelint.io/user-guide/rules/no-invalid-double-slash-comments", }, "no-missing-end-of-source-newline": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/no-missing-end-of-source-newline", + "url": "https://stylelint.io/user-guide/rules/no-missing-end-of-source-newline", }, "number-leading-zero": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/number-leading-zero", + "url": "https://stylelint.io/user-guide/rules/number-leading-zero", }, "number-no-trailing-zeros": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/number-no-trailing-zeros", + "url": "https://stylelint.io/user-guide/rules/number-no-trailing-zeros", }, "property-case": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/property-case", + "url": "https://stylelint.io/user-guide/rules/property-case", }, "property-no-unknown": Object { - "url": "https://stylelint.io/user-guide/rules/list/property-no-unknown", + "url": "https://stylelint.io/user-guide/rules/property-no-unknown", }, "rule-empty-line-before": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/rule-empty-line-before", + "url": "https://stylelint.io/user-guide/rules/rule-empty-line-before", }, "selector-attribute-brackets-space-inside": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/selector-attribute-brackets-space-inside", + "url": "https://stylelint.io/user-guide/rules/selector-attribute-brackets-space-inside", }, "selector-attribute-operator-space-after": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/selector-attribute-operator-space-after", + "url": "https://stylelint.io/user-guide/rules/selector-attribute-operator-space-after", }, "selector-attribute-operator-space-before": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/selector-attribute-operator-space-before", + "url": "https://stylelint.io/user-guide/rules/selector-attribute-operator-space-before", }, "selector-combinator-space-after": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/selector-combinator-space-after", + "url": "https://stylelint.io/user-guide/rules/selector-combinator-space-after", }, "selector-combinator-space-before": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/selector-combinator-space-before", + "url": "https://stylelint.io/user-guide/rules/selector-combinator-space-before", }, "selector-descendant-combinator-no-non-space": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/selector-descendant-combinator-no-non-space", + "url": "https://stylelint.io/user-guide/rules/selector-descendant-combinator-no-non-space", }, "selector-list-comma-newline-after": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/selector-list-comma-newline-after", + "url": "https://stylelint.io/user-guide/rules/selector-list-comma-newline-after", }, "selector-list-comma-space-before": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/selector-list-comma-space-before", + "url": "https://stylelint.io/user-guide/rules/selector-list-comma-space-before", }, "selector-max-empty-lines": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/selector-max-empty-lines", + "url": "https://stylelint.io/user-guide/rules/selector-max-empty-lines", }, "selector-pseudo-class-case": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/selector-pseudo-class-case", + "url": "https://stylelint.io/user-guide/rules/selector-pseudo-class-case", }, "selector-pseudo-class-no-unknown": Object { - "url": "https://stylelint.io/user-guide/rules/list/selector-pseudo-class-no-unknown", + "url": "https://stylelint.io/user-guide/rules/selector-pseudo-class-no-unknown", }, "selector-pseudo-class-parentheses-space-inside": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/selector-pseudo-class-parentheses-space-inside", + "url": "https://stylelint.io/user-guide/rules/selector-pseudo-class-parentheses-space-inside", }, "selector-pseudo-element-case": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/selector-pseudo-element-case", + "url": "https://stylelint.io/user-guide/rules/selector-pseudo-element-case", }, "selector-pseudo-element-colon-notation": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/selector-pseudo-element-colon-notation", + "url": "https://stylelint.io/user-guide/rules/selector-pseudo-element-colon-notation", }, "selector-pseudo-element-no-unknown": Object { - "url": "https://stylelint.io/user-guide/rules/list/selector-pseudo-element-no-unknown", + "url": "https://stylelint.io/user-guide/rules/selector-pseudo-element-no-unknown", }, "selector-type-case": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/selector-type-case", + "url": "https://stylelint.io/user-guide/rules/selector-type-case", }, "selector-type-no-unknown": Object { - "url": "https://stylelint.io/user-guide/rules/list/selector-type-no-unknown", + "url": "https://stylelint.io/user-guide/rules/selector-type-no-unknown", }, "string-no-newline": Object { - "url": "https://stylelint.io/user-guide/rules/list/string-no-newline", + "url": "https://stylelint.io/user-guide/rules/string-no-newline", }, "unit-case": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/unit-case", + "url": "https://stylelint.io/user-guide/rules/unit-case", }, "unit-no-unknown": Object { - "url": "https://stylelint.io/user-guide/rules/list/unit-no-unknown", + "url": "https://stylelint.io/user-guide/rules/unit-no-unknown", }, "value-keyword-case": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/value-keyword-case", + "url": "https://stylelint.io/user-guide/rules/value-keyword-case", }, "value-list-comma-newline-after": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/value-list-comma-newline-after", + "url": "https://stylelint.io/user-guide/rules/value-list-comma-newline-after", }, "value-list-comma-space-after": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/value-list-comma-space-after", + "url": "https://stylelint.io/user-guide/rules/value-list-comma-space-after", }, "value-list-comma-space-before": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/value-list-comma-space-before", + "url": "https://stylelint.io/user-guide/rules/value-list-comma-space-before", }, "value-list-max-empty-lines": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/value-list-max-empty-lines", + "url": "https://stylelint.io/user-guide/rules/value-list-max-empty-lines", }, }, } diff --git a/system-tests/003/__snapshots__/no-fs.test.js.snap b/system-tests/003/__snapshots__/no-fs.test.js.snap index 89309b1463..327ffec5b1 100644 --- a/system-tests/003/__snapshots__/no-fs.test.js.snap +++ b/system-tests/003/__snapshots__/no-fs.test.js.snap @@ -239,369 +239,369 @@ footer a:visited { "ruleMetadata": Object { "at-rule-empty-line-before": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/at-rule-empty-line-before", + "url": "https://stylelint.io/user-guide/rules/at-rule-empty-line-before", }, "at-rule-name-case": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/at-rule-name-case", + "url": "https://stylelint.io/user-guide/rules/at-rule-name-case", }, "at-rule-name-space-after": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/at-rule-name-space-after", + "url": "https://stylelint.io/user-guide/rules/at-rule-name-space-after", }, "at-rule-no-unknown": Object { - "url": "https://stylelint.io/user-guide/rules/list/at-rule-no-unknown", + "url": "https://stylelint.io/user-guide/rules/at-rule-no-unknown", }, "at-rule-semicolon-newline-after": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/at-rule-semicolon-newline-after", + "url": "https://stylelint.io/user-guide/rules/at-rule-semicolon-newline-after", }, "block-closing-brace-empty-line-before": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/block-closing-brace-empty-line-before", + "url": "https://stylelint.io/user-guide/rules/block-closing-brace-empty-line-before", }, "block-closing-brace-newline-after": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/block-closing-brace-newline-after", + "url": "https://stylelint.io/user-guide/rules/block-closing-brace-newline-after", }, "block-closing-brace-newline-before": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/block-closing-brace-newline-before", + "url": "https://stylelint.io/user-guide/rules/block-closing-brace-newline-before", }, "block-closing-brace-space-before": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/block-closing-brace-space-before", + "url": "https://stylelint.io/user-guide/rules/block-closing-brace-space-before", }, "block-no-empty": Object { - "url": "https://stylelint.io/user-guide/rules/list/block-no-empty", + "url": "https://stylelint.io/user-guide/rules/block-no-empty", }, "block-opening-brace-newline-after": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/block-opening-brace-newline-after", + "url": "https://stylelint.io/user-guide/rules/block-opening-brace-newline-after", }, "block-opening-brace-space-after": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/block-opening-brace-space-after", + "url": "https://stylelint.io/user-guide/rules/block-opening-brace-space-after", }, "block-opening-brace-space-before": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/block-opening-brace-space-before", + "url": "https://stylelint.io/user-guide/rules/block-opening-brace-space-before", }, "color-hex-case": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/color-hex-case", + "url": "https://stylelint.io/user-guide/rules/color-hex-case", }, "color-hex-length": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/color-hex-length", + "url": "https://stylelint.io/user-guide/rules/color-hex-length", }, "color-no-invalid-hex": Object { - "url": "https://stylelint.io/user-guide/rules/list/color-no-invalid-hex", + "url": "https://stylelint.io/user-guide/rules/color-no-invalid-hex", }, "comment-empty-line-before": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/comment-empty-line-before", + "url": "https://stylelint.io/user-guide/rules/comment-empty-line-before", }, "comment-no-empty": Object { - "url": "https://stylelint.io/user-guide/rules/list/comment-no-empty", + "url": "https://stylelint.io/user-guide/rules/comment-no-empty", }, "comment-whitespace-inside": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/comment-whitespace-inside", + "url": "https://stylelint.io/user-guide/rules/comment-whitespace-inside", }, "custom-property-empty-line-before": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/custom-property-empty-line-before", + "url": "https://stylelint.io/user-guide/rules/custom-property-empty-line-before", }, "declaration-bang-space-after": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/declaration-bang-space-after", + "url": "https://stylelint.io/user-guide/rules/declaration-bang-space-after", }, "declaration-bang-space-before": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/declaration-bang-space-before", + "url": "https://stylelint.io/user-guide/rules/declaration-bang-space-before", }, "declaration-block-no-duplicate-properties": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/declaration-block-no-duplicate-properties", + "url": "https://stylelint.io/user-guide/rules/declaration-block-no-duplicate-properties", }, "declaration-block-no-shorthand-property-overrides": Object { - "url": "https://stylelint.io/user-guide/rules/list/declaration-block-no-shorthand-property-overrides", + "url": "https://stylelint.io/user-guide/rules/declaration-block-no-shorthand-property-overrides", }, "declaration-block-semicolon-newline-after": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/declaration-block-semicolon-newline-after", + "url": "https://stylelint.io/user-guide/rules/declaration-block-semicolon-newline-after", }, "declaration-block-semicolon-space-after": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/declaration-block-semicolon-space-after", + "url": "https://stylelint.io/user-guide/rules/declaration-block-semicolon-space-after", }, "declaration-block-semicolon-space-before": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/declaration-block-semicolon-space-before", + "url": "https://stylelint.io/user-guide/rules/declaration-block-semicolon-space-before", }, "declaration-block-single-line-max-declarations": Object { - "url": "https://stylelint.io/user-guide/rules/list/declaration-block-single-line-max-declarations", + "url": "https://stylelint.io/user-guide/rules/declaration-block-single-line-max-declarations", }, "declaration-block-trailing-semicolon": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/declaration-block-trailing-semicolon", + "url": "https://stylelint.io/user-guide/rules/declaration-block-trailing-semicolon", }, "declaration-colon-newline-after": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/declaration-colon-newline-after", + "url": "https://stylelint.io/user-guide/rules/declaration-colon-newline-after", }, "declaration-colon-space-after": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/declaration-colon-space-after", + "url": "https://stylelint.io/user-guide/rules/declaration-colon-space-after", }, "declaration-colon-space-before": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/declaration-colon-space-before", + "url": "https://stylelint.io/user-guide/rules/declaration-colon-space-before", }, "declaration-empty-line-before": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/declaration-empty-line-before", + "url": "https://stylelint.io/user-guide/rules/declaration-empty-line-before", }, "font-family-no-duplicate-names": Object { - "url": "https://stylelint.io/user-guide/rules/list/font-family-no-duplicate-names", + "url": "https://stylelint.io/user-guide/rules/font-family-no-duplicate-names", }, "font-family-no-missing-generic-family-keyword": Object { - "url": "https://stylelint.io/user-guide/rules/list/font-family-no-missing-generic-family-keyword", + "url": "https://stylelint.io/user-guide/rules/font-family-no-missing-generic-family-keyword", }, "function-calc-no-unspaced-operator": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/function-calc-no-unspaced-operator", + "url": "https://stylelint.io/user-guide/rules/function-calc-no-unspaced-operator", }, "function-comma-newline-after": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/function-comma-newline-after", + "url": "https://stylelint.io/user-guide/rules/function-comma-newline-after", }, "function-comma-space-after": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/function-comma-space-after", + "url": "https://stylelint.io/user-guide/rules/function-comma-space-after", }, "function-comma-space-before": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/function-comma-space-before", + "url": "https://stylelint.io/user-guide/rules/function-comma-space-before", }, "function-linear-gradient-no-nonstandard-direction": Object { - "url": "https://stylelint.io/user-guide/rules/list/function-linear-gradient-no-nonstandard-direction", + "url": "https://stylelint.io/user-guide/rules/function-linear-gradient-no-nonstandard-direction", }, "function-max-empty-lines": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/function-max-empty-lines", + "url": "https://stylelint.io/user-guide/rules/function-max-empty-lines", }, "function-name-case": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/function-name-case", + "url": "https://stylelint.io/user-guide/rules/function-name-case", }, "function-parentheses-newline-inside": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/function-parentheses-newline-inside", + "url": "https://stylelint.io/user-guide/rules/function-parentheses-newline-inside", }, "function-parentheses-space-inside": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/function-parentheses-space-inside", + "url": "https://stylelint.io/user-guide/rules/function-parentheses-space-inside", }, "function-whitespace-after": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/function-whitespace-after", + "url": "https://stylelint.io/user-guide/rules/function-whitespace-after", }, "indentation": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/indentation", + "url": "https://stylelint.io/user-guide/rules/indentation", }, "keyframe-declaration-no-important": Object { - "url": "https://stylelint.io/user-guide/rules/list/keyframe-declaration-no-important", + "url": "https://stylelint.io/user-guide/rules/keyframe-declaration-no-important", }, "length-zero-no-unit": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/length-zero-no-unit", + "url": "https://stylelint.io/user-guide/rules/length-zero-no-unit", }, "max-empty-lines": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/max-empty-lines", + "url": "https://stylelint.io/user-guide/rules/max-empty-lines", }, "media-feature-colon-space-after": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/media-feature-colon-space-after", + "url": "https://stylelint.io/user-guide/rules/media-feature-colon-space-after", }, "media-feature-colon-space-before": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/media-feature-colon-space-before", + "url": "https://stylelint.io/user-guide/rules/media-feature-colon-space-before", }, "media-feature-name-case": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/media-feature-name-case", + "url": "https://stylelint.io/user-guide/rules/media-feature-name-case", }, "media-feature-name-no-unknown": Object { - "url": "https://stylelint.io/user-guide/rules/list/media-feature-name-no-unknown", + "url": "https://stylelint.io/user-guide/rules/media-feature-name-no-unknown", }, "media-feature-parentheses-space-inside": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/media-feature-parentheses-space-inside", + "url": "https://stylelint.io/user-guide/rules/media-feature-parentheses-space-inside", }, "media-feature-range-operator-space-after": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/media-feature-range-operator-space-after", + "url": "https://stylelint.io/user-guide/rules/media-feature-range-operator-space-after", }, "media-feature-range-operator-space-before": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/media-feature-range-operator-space-before", + "url": "https://stylelint.io/user-guide/rules/media-feature-range-operator-space-before", }, "media-query-list-comma-newline-after": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/media-query-list-comma-newline-after", + "url": "https://stylelint.io/user-guide/rules/media-query-list-comma-newline-after", }, "media-query-list-comma-space-after": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/media-query-list-comma-space-after", + "url": "https://stylelint.io/user-guide/rules/media-query-list-comma-space-after", }, "media-query-list-comma-space-before": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/media-query-list-comma-space-before", + "url": "https://stylelint.io/user-guide/rules/media-query-list-comma-space-before", }, "no-descending-specificity": Object { - "url": "https://stylelint.io/user-guide/rules/list/no-descending-specificity", + "url": "https://stylelint.io/user-guide/rules/no-descending-specificity", }, "no-duplicate-at-import-rules": Object { - "url": "https://stylelint.io/user-guide/rules/list/no-duplicate-at-import-rules", + "url": "https://stylelint.io/user-guide/rules/no-duplicate-at-import-rules", }, "no-duplicate-selectors": Object { - "url": "https://stylelint.io/user-guide/rules/list/no-duplicate-selectors", + "url": "https://stylelint.io/user-guide/rules/no-duplicate-selectors", }, "no-empty-source": Object { - "url": "https://stylelint.io/user-guide/rules/list/no-empty-source", + "url": "https://stylelint.io/user-guide/rules/no-empty-source", }, "no-eol-whitespace": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/no-eol-whitespace", + "url": "https://stylelint.io/user-guide/rules/no-eol-whitespace", }, "no-extra-semicolons": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/no-extra-semicolons", + "url": "https://stylelint.io/user-guide/rules/no-extra-semicolons", }, "no-invalid-double-slash-comments": Object { - "url": "https://stylelint.io/user-guide/rules/list/no-invalid-double-slash-comments", + "url": "https://stylelint.io/user-guide/rules/no-invalid-double-slash-comments", }, "no-missing-end-of-source-newline": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/no-missing-end-of-source-newline", + "url": "https://stylelint.io/user-guide/rules/no-missing-end-of-source-newline", }, "number-leading-zero": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/number-leading-zero", + "url": "https://stylelint.io/user-guide/rules/number-leading-zero", }, "number-no-trailing-zeros": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/number-no-trailing-zeros", + "url": "https://stylelint.io/user-guide/rules/number-no-trailing-zeros", }, "property-case": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/property-case", + "url": "https://stylelint.io/user-guide/rules/property-case", }, "property-no-unknown": Object { - "url": "https://stylelint.io/user-guide/rules/list/property-no-unknown", + "url": "https://stylelint.io/user-guide/rules/property-no-unknown", }, "rule-empty-line-before": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/rule-empty-line-before", + "url": "https://stylelint.io/user-guide/rules/rule-empty-line-before", }, "selector-attribute-brackets-space-inside": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/selector-attribute-brackets-space-inside", + "url": "https://stylelint.io/user-guide/rules/selector-attribute-brackets-space-inside", }, "selector-attribute-operator-space-after": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/selector-attribute-operator-space-after", + "url": "https://stylelint.io/user-guide/rules/selector-attribute-operator-space-after", }, "selector-attribute-operator-space-before": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/selector-attribute-operator-space-before", + "url": "https://stylelint.io/user-guide/rules/selector-attribute-operator-space-before", }, "selector-combinator-space-after": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/selector-combinator-space-after", + "url": "https://stylelint.io/user-guide/rules/selector-combinator-space-after", }, "selector-combinator-space-before": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/selector-combinator-space-before", + "url": "https://stylelint.io/user-guide/rules/selector-combinator-space-before", }, "selector-descendant-combinator-no-non-space": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/selector-descendant-combinator-no-non-space", + "url": "https://stylelint.io/user-guide/rules/selector-descendant-combinator-no-non-space", }, "selector-list-comma-newline-after": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/selector-list-comma-newline-after", + "url": "https://stylelint.io/user-guide/rules/selector-list-comma-newline-after", }, "selector-list-comma-space-before": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/selector-list-comma-space-before", + "url": "https://stylelint.io/user-guide/rules/selector-list-comma-space-before", }, "selector-max-empty-lines": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/selector-max-empty-lines", + "url": "https://stylelint.io/user-guide/rules/selector-max-empty-lines", }, "selector-pseudo-class-case": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/selector-pseudo-class-case", + "url": "https://stylelint.io/user-guide/rules/selector-pseudo-class-case", }, "selector-pseudo-class-no-unknown": Object { - "url": "https://stylelint.io/user-guide/rules/list/selector-pseudo-class-no-unknown", + "url": "https://stylelint.io/user-guide/rules/selector-pseudo-class-no-unknown", }, "selector-pseudo-class-parentheses-space-inside": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/selector-pseudo-class-parentheses-space-inside", + "url": "https://stylelint.io/user-guide/rules/selector-pseudo-class-parentheses-space-inside", }, "selector-pseudo-element-case": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/selector-pseudo-element-case", + "url": "https://stylelint.io/user-guide/rules/selector-pseudo-element-case", }, "selector-pseudo-element-colon-notation": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/selector-pseudo-element-colon-notation", + "url": "https://stylelint.io/user-guide/rules/selector-pseudo-element-colon-notation", }, "selector-pseudo-element-no-unknown": Object { - "url": "https://stylelint.io/user-guide/rules/list/selector-pseudo-element-no-unknown", + "url": "https://stylelint.io/user-guide/rules/selector-pseudo-element-no-unknown", }, "selector-type-case": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/selector-type-case", + "url": "https://stylelint.io/user-guide/rules/selector-type-case", }, "selector-type-no-unknown": Object { - "url": "https://stylelint.io/user-guide/rules/list/selector-type-no-unknown", + "url": "https://stylelint.io/user-guide/rules/selector-type-no-unknown", }, "string-no-newline": Object { - "url": "https://stylelint.io/user-guide/rules/list/string-no-newline", + "url": "https://stylelint.io/user-guide/rules/string-no-newline", }, "unit-case": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/unit-case", + "url": "https://stylelint.io/user-guide/rules/unit-case", }, "unit-no-unknown": Object { - "url": "https://stylelint.io/user-guide/rules/list/unit-no-unknown", + "url": "https://stylelint.io/user-guide/rules/unit-no-unknown", }, "value-keyword-case": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/value-keyword-case", + "url": "https://stylelint.io/user-guide/rules/value-keyword-case", }, "value-list-comma-newline-after": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/value-list-comma-newline-after", + "url": "https://stylelint.io/user-guide/rules/value-list-comma-newline-after", }, "value-list-comma-space-after": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/value-list-comma-space-after", + "url": "https://stylelint.io/user-guide/rules/value-list-comma-space-after", }, "value-list-comma-space-before": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/value-list-comma-space-before", + "url": "https://stylelint.io/user-guide/rules/value-list-comma-space-before", }, "value-list-max-empty-lines": Object { "fixable": true, - "url": "https://stylelint.io/user-guide/rules/list/value-list-max-empty-lines", + "url": "https://stylelint.io/user-guide/rules/value-list-max-empty-lines", }, }, } diff --git a/system-tests/004/__snapshots__/fs.test.js.snap b/system-tests/004/__snapshots__/fs.test.js.snap index caf0e12cd8..653de2c450 100644 --- a/system-tests/004/__snapshots__/fs.test.js.snap +++ b/system-tests/004/__snapshots__/fs.test.js.snap @@ -46,7 +46,7 @@ Object { ], "ruleMetadata": Object { "block-no-empty": Object { - "url": "https://stylelint.io/user-guide/rules/list/block-no-empty", + "url": "https://stylelint.io/user-guide/rules/block-no-empty", }, }, } @@ -78,7 +78,7 @@ Object { ], "ruleMetadata": Object { "block-no-empty": Object { - "url": "https://stylelint.io/user-guide/rules/list/block-no-empty", + "url": "https://stylelint.io/user-guide/rules/block-no-empty", }, }, } diff --git a/system-tests/004/__snapshots__/no-fs.test.js.snap b/system-tests/004/__snapshots__/no-fs.test.js.snap index 81c7f730f4..b242d4cdfc 100644 --- a/system-tests/004/__snapshots__/no-fs.test.js.snap +++ b/system-tests/004/__snapshots__/no-fs.test.js.snap @@ -46,7 +46,7 @@ Object { ], "ruleMetadata": Object { "block-no-empty": Object { - "url": "https://stylelint.io/user-guide/rules/list/block-no-empty", + "url": "https://stylelint.io/user-guide/rules/block-no-empty", }, }, } @@ -78,7 +78,7 @@ Object { ], "ruleMetadata": Object { "block-no-empty": Object { - "url": "https://stylelint.io/user-guide/rules/list/block-no-empty", + "url": "https://stylelint.io/user-guide/rules/block-no-empty", }, }, }