@ringieraxelspringer/eslint-config 13.0.0 → 16.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 CHANGED
@@ -2,6 +2,18 @@
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
+ ## [16.0.0] - 2022-06-09
6
+ ### Added
7
+ - [@mdulawa]: Added [max-statements-per-line](https://eslint.org/docs/rules/max-statements-per-line) rule.
8
+
9
+ ## [15.0.0] - 2022-06-01
10
+ ### Added
11
+ - [@mkasprzyk]: Added `max-classes-per-file` rule.
12
+
13
+ ## [14.0.0] - 2022-05-20
14
+ ### Fixed
15
+ - [@mdulawa]: Rule `padding-line-between-statements`: Don't need blank line before `default` in `switch` construction.
16
+
5
17
  ## [13.0.0] - 2022-02-22
6
18
  ### Added
7
19
  - [@mdulawa]: Added support for Node v16.
@@ -156,6 +168,9 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/), and this
156
168
  ### Added
157
169
  - [@mdulawa]: Initial version.
158
170
 
171
+ [16.0.0]: https://stash.grupa.onet/projects/ns/repos/ras-eslint-config/compare/diff?sourceBranch=16.0.0&targetBranch=15.0.0
172
+ [15.0.0]: https://stash.grupa.onet/projects/ns/repos/ras-eslint-config/compare/diff?sourceBranch=15.0.0&targetBranch=14.0.0
173
+ [14.0.0]: https://stash.grupa.onet/projects/ns/repos/ras-eslint-config/compare/diff?sourceBranch=14.0.0&targetBranch=13.0.0
159
174
  [13.0.0]: https://stash.grupa.onet/projects/ns/repos/ras-eslint-config/compare/diff?sourceBranch=13.0.0&targetBranch=12.0.0
160
175
  [12.0.0]: https://stash.grupa.onet/projects/ns/repos/ras-eslint-config/compare/diff?sourceBranch=12.0.0&targetBranch=11.0.0
161
176
  [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
@@ -48,7 +48,9 @@ module.exports = {
48
48
  'keyword-spacing': ['error', { before: true }],
49
49
  'lines-between-class-members': ['error', 'always'],
50
50
  'linebreak-style': ['error', 'unix'],
51
+ 'max-classes-per-file': ['warn', { ignoreExpressions: true, max: 1 }],
51
52
  'max-len': ['error', { code: 160, comments: 160, ignoreRegExpLiterals: true, ignoreTemplateLiterals: true, ignoreUrls: true }],
53
+ 'max-statements-per-line': ['error', { max: 1 }],
52
54
  'multiline-ternary': ['error', 'always-multiline'],
53
55
  'newline-before-return': 'error',
54
56
  'no-alert': 'error',
@@ -75,7 +77,7 @@ module.exports = {
75
77
  'error',
76
78
  { blankLine: 'always', prev: ['block', 'block-like', 'class', 'directive'], next: '*' },
77
79
  { blankLine: 'always', prev: '*', next: ['block', 'block-like', 'class'] },
78
- { blankLine: 'never', prev: 'case', next: 'case' }
80
+ { blankLine: 'never', prev: 'case', next: ['case', 'default'] }
79
81
  ],
80
82
  'prefer-arrow-callback': 'error',
81
83
  'prefer-const': 'error',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ringieraxelspringer/eslint-config",
3
- "version": "13.0.0",
3
+ "version": "16.0.0",
4
4
  "description": "Common Ringier Axel Springer ESLint configuration",
5
5
  "license": "MIT",
6
6
  "repository": {},