@ringieraxelspringer/eslint-config 14.0.0 → 15.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,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
+ ## [15.0.0] - 2022-06-01
6
+ ### Added
7
+ - [@mkasprzyk]: Added `max-classes-per-file` rule.
8
+
5
9
  ## [14.0.0] - 2022-05-20
6
10
  ### Fixed
7
11
  - [@mdulawa]: Rule `padding-line-between-statements`: Don't need blank line before `default` in `switch` construction.
@@ -160,6 +164,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/), and this
160
164
  ### Added
161
165
  - [@mdulawa]: Initial version.
162
166
 
167
+ [15.0.0]: https://stash.grupa.onet/projects/ns/repos/ras-eslint-config/compare/diff?sourceBranch=15.0.0&targetBranch=14.0.0
163
168
  [14.0.0]: https://stash.grupa.onet/projects/ns/repos/ras-eslint-config/compare/diff?sourceBranch=14.0.0&targetBranch=13.0.0
164
169
  [13.0.0]: https://stash.grupa.onet/projects/ns/repos/ras-eslint-config/compare/diff?sourceBranch=13.0.0&targetBranch=12.0.0
165
170
  [12.0.0]: https://stash.grupa.onet/projects/ns/repos/ras-eslint-config/compare/diff?sourceBranch=12.0.0&targetBranch=11.0.0
package/lib/index.js CHANGED
@@ -48,6 +48,7 @@ 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 }],
52
53
  'multiline-ternary': ['error', 'always-multiline'],
53
54
  'newline-before-return': 'error',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ringieraxelspringer/eslint-config",
3
- "version": "14.0.0",
3
+ "version": "15.0.0",
4
4
  "description": "Common Ringier Axel Springer ESLint configuration",
5
5
  "license": "MIT",
6
6
  "repository": {},