@ringieraxelspringer/eslint-config 14.0.0 → 17.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
+ ## [17.0.0] - 2022-07-14
6
+ ### Added
7
+ - [@mkuranda]: Added [@typescript-eslint/space-infix-ops](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/space-infix-ops.md) rule.
8
+
9
+ ## [16.0.0] - 2022-06-09
10
+ ### Added
11
+ - [@mdulawa]: Added [max-statements-per-line](https://eslint.org/docs/rules/max-statements-per-line) rule.
12
+
13
+ ## [15.0.0] - 2022-06-01
14
+ ### Added
15
+ - [@mkasprzyk]: Added `max-classes-per-file` rule.
16
+
5
17
  ## [14.0.0] - 2022-05-20
6
18
  ### Fixed
7
19
  - [@mdulawa]: Rule `padding-line-between-statements`: Don't need blank line before `default` in `switch` construction.
@@ -160,6 +172,9 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/), and this
160
172
  ### Added
161
173
  - [@mdulawa]: Initial version.
162
174
 
175
+ [17.0.0]: https://stash.grupa.onet/projects/ns/repos/ras-eslint-config/compare/diff?sourceBranch=17.0.0&targetBranch=16.0.0
176
+ [16.0.0]: https://stash.grupa.onet/projects/ns/repos/ras-eslint-config/compare/diff?sourceBranch=16.0.0&targetBranch=15.0.0
177
+ [15.0.0]: https://stash.grupa.onet/projects/ns/repos/ras-eslint-config/compare/diff?sourceBranch=15.0.0&targetBranch=14.0.0
163
178
  [14.0.0]: https://stash.grupa.onet/projects/ns/repos/ras-eslint-config/compare/diff?sourceBranch=14.0.0&targetBranch=13.0.0
164
179
  [13.0.0]: https://stash.grupa.onet/projects/ns/repos/ras-eslint-config/compare/diff?sourceBranch=13.0.0&targetBranch=12.0.0
165
180
  [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,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',
@@ -130,11 +132,13 @@ module.exports = {
130
132
  '@typescript-eslint/prefer-optional-chain': 'error',
131
133
  '@typescript-eslint/prefer-ts-expect-error': 'error',
132
134
  '@typescript-eslint/semi': ['error', 'always'],
135
+ '@typescript-eslint/space-infix-ops': ['error', { int32Hint: false }],
133
136
  '@typescript-eslint/type-annotation-spacing': ['error', { before: false, after: true, overrides: { arrow: { before: true, after: true } } }],
134
137
  'node/no-missing-import': ['error', { tryExtensions: ['.js', '.json', '.jsx', '.ts', '.tsx'] }],
135
138
  'node/no-unsupported-features/es-builtins': 'off',
136
139
  'node/no-unsupported-features/es-syntax': 'off',
137
- 'semi': 'off'
140
+ 'semi': 'off',
141
+ 'space-infix-ops': 'off'
138
142
  }
139
143
  }
140
144
  ],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ringieraxelspringer/eslint-config",
3
- "version": "14.0.0",
3
+ "version": "17.0.0",
4
4
  "description": "Common Ringier Axel Springer ESLint configuration",
5
5
  "license": "MIT",
6
6
  "repository": {},