@ringieraxelspringer/eslint-config 13.0.0 → 14.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +5 -0
- package/lib/index.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
The format is based on [Keep a Changelog](https://keepachangelog.com/), and this project adheres to [Semantic Versioning](https://semver.org/).
|
|
4
4
|
|
|
5
|
+
## [14.0.0] - 2022-05-20
|
|
6
|
+
### Fixed
|
|
7
|
+
- [@mdulawa]: Rule `padding-line-between-statements`: Don't need blank line before `default` in `switch` construction.
|
|
8
|
+
|
|
5
9
|
## [13.0.0] - 2022-02-22
|
|
6
10
|
### Added
|
|
7
11
|
- [@mdulawa]: Added support for Node v16.
|
|
@@ -156,6 +160,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/), and this
|
|
|
156
160
|
### Added
|
|
157
161
|
- [@mdulawa]: Initial version.
|
|
158
162
|
|
|
163
|
+
[14.0.0]: https://stash.grupa.onet/projects/ns/repos/ras-eslint-config/compare/diff?sourceBranch=14.0.0&targetBranch=13.0.0
|
|
159
164
|
[13.0.0]: https://stash.grupa.onet/projects/ns/repos/ras-eslint-config/compare/diff?sourceBranch=13.0.0&targetBranch=12.0.0
|
|
160
165
|
[12.0.0]: https://stash.grupa.onet/projects/ns/repos/ras-eslint-config/compare/diff?sourceBranch=12.0.0&targetBranch=11.0.0
|
|
161
166
|
[11.0.0]: https://stash.grupa.onet/projects/ns/repos/ras-eslint-config/compare/diff?sourceBranch=11.0.0&targetBranch=10.0.1
|
package/lib/index.js
CHANGED
|
@@ -75,7 +75,7 @@ module.exports = {
|
|
|
75
75
|
'error',
|
|
76
76
|
{ blankLine: 'always', prev: ['block', 'block-like', 'class', 'directive'], next: '*' },
|
|
77
77
|
{ blankLine: 'always', prev: '*', next: ['block', 'block-like', 'class'] },
|
|
78
|
-
{ blankLine: 'never', prev: 'case', next: 'case' }
|
|
78
|
+
{ blankLine: 'never', prev: 'case', next: ['case', 'default'] }
|
|
79
79
|
],
|
|
80
80
|
'prefer-arrow-callback': 'error',
|
|
81
81
|
'prefer-const': 'error',
|