Skip to content

Commit 94cf8b6

Browse files
jeddy3ybiquitous
andauthored
Prepare 15.0.0 (#241)
Co-authored-by: Masafumi Koba <[email protected]>
1 parent e12b3b4 commit 94cf8b6

File tree

4 files changed

+301
-146
lines changed

4 files changed

+301
-146
lines changed

CHANGELOG.md

+18
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,23 @@
11
# Changelog
22

3+
## 15.0.0
4+
5+
This release replaces four rules with broader and more capable ones that validate CSS against syntaxes defined by W3C: `at-rule-descriptor-value-no-unknown`, `at-rule-prelude-no-invalid` and `declaration-property-value-no-unknown`.
6+
7+
- Removed: `stylelint` less than `16.13.0` from peer dependencies.
8+
- Removed: `color-no-invalid-hex` rule.
9+
- Removed: `function-linear-gradient-no-nonstandard-direction` rule.
10+
- Removed: `function-no-unknown` rule.
11+
- Removed: `unit-no-unknown` rule.
12+
- Changed: `string-no-newline` rule option to `{ ignore: ['at-rule-preludes', 'declaration-values'] }]`.
13+
- Added: `at-rule-descriptor-no-unknown` rule.
14+
- Added: `at-rule-descriptor-value-no-unknown` rule.
15+
- Added: `at-rule-no-deprecated` rule.
16+
- Added: `at-rule-prelude-no-invalid` rule.
17+
- Added: `declaration-property-value-keyword-no-deprecated` rule.
18+
- Added: `declaration-property-value-no-unknown` rule.
19+
- Added: `media-feature-name-value-no-unknown` rule.
20+
321
## 14.0.1
422

523
- Fixed: missing `funding` field in `package.json`.

index.js

+8-5
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,12 @@
33
module.exports = {
44
rules: {
55
'annotation-no-unknown': true,
6+
'at-rule-descriptor-no-unknown': true,
7+
'at-rule-descriptor-value-no-unknown': true,
8+
'at-rule-no-deprecated': true,
69
'at-rule-no-unknown': true,
10+
'at-rule-prelude-no-invalid': [true, { ignoreAtRules: ['media'] }],
711
'block-no-empty': true,
8-
'color-no-invalid-hex': true,
912
'comment-no-empty': true,
1013
'custom-property-no-missing-var-function': true,
1114
'declaration-block-no-duplicate-custom-properties': true,
@@ -16,14 +19,15 @@ module.exports = {
1619
},
1720
],
1821
'declaration-block-no-shorthand-property-overrides': true,
22+
'declaration-property-value-keyword-no-deprecated': true,
23+
'declaration-property-value-no-unknown': true,
1924
'font-family-no-duplicate-names': true,
2025
'font-family-no-missing-generic-family-keyword': true,
2126
'function-calc-no-unspaced-operator': true,
22-
'function-linear-gradient-no-nonstandard-direction': true,
23-
'function-no-unknown': true,
2427
'keyframe-block-no-duplicate-selectors': true,
2528
'keyframe-declaration-no-important': true,
2629
'media-feature-name-no-unknown': true,
30+
'media-feature-name-value-no-unknown': true,
2731
'media-query-no-invalid': true,
2832
'named-grid-areas-no-invalid': true,
2933
'no-descending-specificity': true,
@@ -43,7 +47,6 @@ module.exports = {
4347
ignore: ['custom-elements'],
4448
},
4549
],
46-
'string-no-newline': true,
47-
'unit-no-unknown': true,
50+
'string-no-newline': [true, { ignore: ['at-rule-preludes', 'declaration-values'] }],
4851
},
4952
};

0 commit comments

Comments
 (0)