Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prepare 26.0.0 #253

Merged
merged 9 commits into from Jun 8, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
7 changes: 7 additions & 0 deletions CHANGELOG.md
@@ -1,5 +1,12 @@
# Changelog

## 26.0.0

- Removed: `stylelint` less than `14.9.0` from peer dependencies.
- Changed: updated to [`stylelint-config-recommended@8.0.0`](https://github.com/stylelint/stylelint-config-recommended/releases/tag/8.0.0)
- Added: `import-notation` rule.
- Added: `selector-not-notation` rule.

## 25.0.0

- Removed: `stylelint` less than `14.4.0` from peer dependencies.
Expand Down
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -17,8 +17,8 @@ To see the rules that this config uses, please read the [config itself](./index.

<!-- prettier-ignore -->
```css
@import url("x.css");
@import url("y.css");
@import "x.css";
@import "y.css";

/**
* Multi-line comment
Expand Down
4 changes: 2 additions & 2 deletions __tests__/valid.css
@@ -1,5 +1,5 @@
@import url("x.css");
@import url("y.css");
@import "x.css";
@import "y.css";

/**
* Multi-line comment
Expand Down
3 changes: 2 additions & 1 deletion index.js
Expand Up @@ -86,6 +86,7 @@ module.exports = {
'function-url-quotes': 'always',
'function-whitespace-after': 'always',
'hue-degree-notation': 'angle',
'import-notation': 'string',
indentation: 2,
'keyframes-name-pattern': [
'^([a-z][a-z0-9]*)(-[a-z0-9]+)*$',
Expand All @@ -108,7 +109,6 @@ module.exports = {
'media-query-list-comma-space-before': 'never',
'no-empty-first-line': true,
'no-eol-whitespace': true,
'no-irregular-whitespace': true,
'no-missing-end-of-source-newline': true,
'number-leading-zero': 'always',
'number-max-precision': 4,
Expand Down Expand Up @@ -145,6 +145,7 @@ module.exports = {
'selector-list-comma-space-before': 'never',
'selector-max-empty-lines': 0,
'selector-no-vendor-prefix': true,
'selector-not-notation': 'complex',
'selector-pseudo-class-case': 'lower',
'selector-pseudo-class-parentheses-space-inside': 'never',
'selector-pseudo-element-case': 'lower',
Expand Down
87 changes: 48 additions & 39 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions package.json
Expand Up @@ -45,7 +45,7 @@
]
},
"dependencies": {
"stylelint-config-recommended": "^7.0.0"
"stylelint-config-recommended": "^8.0.0"
},
"devDependencies": {
"@stylelint/prettier-config": "^2.0.0",
Expand All @@ -59,9 +59,9 @@
"npm-run-all": "^4.1.5",
"prettier": "^2.6.2",
"remark-cli": "^10.0.1",
"stylelint": "^14.8.5"
"stylelint": "^14.9.0"
},
"peerDependencies": {
"stylelint": "^14.4.0"
"stylelint": "^14.9.0"
}
}