Skip to content
This repository has been archived by the owner on Apr 24, 2024. It is now read-only.

Commit

Permalink
Update stylelint to v15 (#36)
Browse files Browse the repository at this point in the history
* Update package info

* Update stylelint peer Dep to 15+

update and cleanup other dependencies

* Update version

* Remove deprecated options

* Add CHANGELOG
  • Loading branch information
rejas committed Jun 23, 2023
1 parent b2d57a6 commit 1ebc7ae
Show file tree
Hide file tree
Showing 5 changed files with 1,520 additions and 4,817 deletions.
10 changes: 10 additions & 0 deletions css/packages/stylelint-config-nebenan/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
## v3.0.0 Changes

- Updated to stylelint v15
- Removed deprecated options:
- `block-opening-brace-newline-after`
- `block-closing-brace-newline-before`
- `block-closing-brace-newline-after`
- `number-leading-zero`

stylelint [recommends](https://stylelint.io/migration-guide/to-15/#deprecated-stylistic-rules) pretty linters instead
2 changes: 1 addition & 1 deletion css/packages/stylelint-config-nebenan/LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) Good Hood GmbH <max@nebenan.de> (http://nebenan.de)
Copyright (c) Good Hood GmbH <tech@nebenan.de> (http://nebenan.de)

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
7 changes: 0 additions & 7 deletions css/packages/stylelint-config-nebenan/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,20 +16,13 @@ module.exports = {
'at-rule-no-unknown': null,
'at-rule-disallowed-list': ['extend'],

'block-opening-brace-newline-after': ['always'],
'block-closing-brace-newline-before': ['always'],
'block-closing-brace-newline-after': ['always', {
ignoreAtRules: ['if', 'else'],
}],

'color-named': 'never',

'declaration-empty-line-before': null,

'function-name-case': 'lower',

'max-nesting-depth': [3, { ignoreAtRules: ['media'] }],
'number-leading-zero': 'never',
'no-descending-specificity': null,

'selector-max-id': 0,
Expand Down

0 comments on commit 1ebc7ae

Please sign in to comment.