Skip to content

Commit

Permalink
match formatting to Prettier 3.4
Browse files Browse the repository at this point in the history
  • Loading branch information
fasttime committed Nov 26, 2024
1 parent 4a17f29 commit fe5e8ac
Show file tree
Hide file tree
Showing 6 changed files with 20 additions and 20 deletions.
2 changes: 1 addition & 1 deletion .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

#### Prerequisites checklist

- [ ] I have read the [contributing guidelines](https://github.com/eslint/eslint/blob/HEAD/CONTRIBUTING.md).
- [ ] I have read the [contributing guidelines](https://github.com/eslint/eslint/blob/HEAD/CONTRIBUTING.md).

<!--
Please ensure your pull request is ready:
Expand Down
2 changes: 1 addition & 1 deletion docs/rules/no-duplicate-imports.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,4 @@ If you aren't concerned with duplicate `@import` rules, you can safely disable t

## Prior Art

- [`no-duplicate-at-import-rules`](https://stylelint.io/user-guide/rules/no-duplicate-at-import-rules)
- [`no-duplicate-at-import-rules`](https://stylelint.io/user-guide/rules/no-duplicate-at-import-rules)
4 changes: 2 additions & 2 deletions docs/rules/no-empty-blocks.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,5 +51,5 @@ If you aren't concerned with empty blocks, you can safely disable this rule.

## Prior Art

- [empty-rules](https://github.com/CSSLint/csslint/wiki/Disallow-empty-rules)
- [`block-no-empty`](https://stylelint.io/user-guide/rules/block-no-empty)
- [empty-rules](https://github.com/CSSLint/csslint/wiki/Disallow-empty-rules)
- [`block-no-empty`](https://stylelint.io/user-guide/rules/block-no-empty)
26 changes: 13 additions & 13 deletions docs/rules/no-invalid-at-rules.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@ Disallow invalid at-rules.

CSS contains a number of at-rules, each beginning with a `@`, that perform various operations. Some common at-rules include:

- `@import`
- `@media`
- `@font-face`
- `@keyframes`
- `@supports`
- `@namespace`
- `@page`
- `@charset`
- `@import`
- `@media`
- `@font-face`
- `@keyframes`
- `@supports`
- `@namespace`
- `@page`
- `@charset`

It's important to use a known at-rule because unknown at-rules cause the browser to ignore the entire block, including any rules contained within. For example:

Expand All @@ -40,10 +40,10 @@ Here, `--main-bg-color` is the prelude for `@property` while `syntax`, `inherits

This rule warns when it finds a CSS at-rule that is unknown or invalid according to the CSS specification. As such, the rule warns for the following problems:

- An unknown at-rule
- An invalid prelude for a known at-rule
- An unknown descriptor for a known at-rule
- An invalid descriptor value for a known at-rule
- An unknown at-rule
- An invalid prelude for a known at-rule
- An unknown descriptor for a known at-rule
- An invalid descriptor value for a known at-rule

The at-rule data is provided via the [CSSTree](https://github.com/csstree/csstree) project.

Expand Down Expand Up @@ -77,4 +77,4 @@ If you are purposely using at-rules that aren't part of the CSS specification, t

## Prior Art

- [`at-rule-no-unknown`](https://stylelint.io/user-guide/rules/at-rule-no-unknown)
- [`at-rule-no-unknown`](https://stylelint.io/user-guide/rules/at-rule-no-unknown)
4 changes: 2 additions & 2 deletions docs/rules/no-invalid-properties.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,6 @@ If you aren't concerned with invalid properties, then you can safely disable thi

## Prior Art

- [`declaration-property-value-no-unknown`](https://stylelint.io/user-guide/rules/declaration-property-value-no-unknown/)
- [`declaration-property-value-no-unknown`](https://stylelint.io/user-guide/rules/declaration-property-value-no-unknown/)

- [`property-no-unknown`](https://stylelint.io/user-guide/rules/property-no-unknown)
- [`property-no-unknown`](https://stylelint.io/user-guide/rules/property-no-unknown)
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@
"lint-staged": "^15.2.7",
"mdast-util-from-markdown": "^2.0.2",
"mocha": "^10.4.0",
"prettier": "^3.3.2",
"prettier": "^3.4.1",
"rollup": "^4.16.2",
"rollup-plugin-copy": "^3.5.0",
"typescript": "^5.4.5",
Expand Down

0 comments on commit fe5e8ac

Please sign in to comment.