Skip to content

Commit

Permalink
Merge pull request #99 from nextcloud-libraries/chore/prepare-3-0-0
Browse files Browse the repository at this point in the history
Prepare 3.0.0 release
  • Loading branch information
susnux committed Apr 29, 2024
2 parents c1fc433 + c147c13 commit b10dfcd
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 7 deletions.
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
# Changelog

## [v3.0.0](https://github.com/nextcloud/stylelint-config/tree/v3.0.0) (2024-04-15)
[Full Changelog](https://github.com/nextcloud/stylelint-config/compare/v2.4.0...v3.0.0)

### Breaking changes :boom:
stylelint was updated to version 16.0 which drops all stylistic changes.
The means stylelint only will check for code quality but not for stylistic rules.
So it is now recommended to instead use `prettier` with `@nextcloud/prettier-config` for stylistic rules.
See also [Nextcloud prettier setup](https://github.com/nextcloud-libraries/nextcloud-prettier-config/blob/main/README.md#setup).

### Changed
* Updated stylelint and require stylelint version 16.2.0 or later.

## [v2.4.0](https://github.com/nextcloud/stylelint-config/tree/v2.4.0) (2024-01-23)

[Full Changelog](https://github.com/nextcloud/stylelint-config/compare/v2.3.1...v2.4.0)
Expand Down
2 changes: 0 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ module.exports = {
ignoreFiles: ['**/*.js', '**/*.ts', '**/*.svg'],
rules: {
'selector-type-no-unknown': null,
'number-leading-zero': null,
'rule-empty-line-before': [
'always',
{
Expand All @@ -21,7 +20,6 @@ module.exports = {
],
'comment-empty-line-before': null,
'selector-type-case': null,
'selector-list-comma-newline-after': null,
'no-descending-specificity': null,
'selector-pseudo-class-no-unknown': [
true,
Expand Down
6 changes: 3 additions & 3 deletions package-lock.json

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

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@nextcloud/stylelint-config",
"version": "2.4.0",
"version": "3.0.0",
"description": "Stylelint shared config for nextcloud vue.js apps",
"main": "index.js",
"repository": {
Expand All @@ -13,7 +13,7 @@
"stylelint-config-recommended-vue": "^1.5.0"
},
"devDependencies": {
"stylelint": "^16.2.0",
"stylelint": "^16.3.1",
"stylelint-config-recommended-scss": "^14.0.0",
"stylelint-config-recommended-vue": "^1.5.0"
},
Expand Down

0 comments on commit b10dfcd

Please sign in to comment.