@ringieraxelspringer/eslint-config 12.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 +18 -0
- package/README.md +1 -1
- package/lib/index.js +2 -1
- package/package.json +6 -6
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,21 @@
|
|
|
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
|
+
|
|
9
|
+
## [14.0.0] - 2022-05-20
|
|
10
|
+
### Fixed
|
|
11
|
+
- [@mdulawa]: Rule `padding-line-between-statements`: Don't need blank line before `default` in `switch` construction.
|
|
12
|
+
|
|
13
|
+
## [13.0.0] - 2022-02-22
|
|
14
|
+
### Added
|
|
15
|
+
- [@mdulawa]: Added support for Node v16.
|
|
16
|
+
|
|
17
|
+
### Changed
|
|
18
|
+
- [@mdulawa]: Bumped version of `eslint` and `@typescript-eslint`.
|
|
19
|
+
|
|
5
20
|
## [12.0.0] - 2021-12-06
|
|
6
21
|
### Added
|
|
7
22
|
- [@mdulawa]: Added `semi-spacing` rule.
|
|
@@ -149,6 +164,9 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/), and this
|
|
|
149
164
|
### Added
|
|
150
165
|
- [@mdulawa]: Initial version.
|
|
151
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
|
|
168
|
+
[14.0.0]: https://stash.grupa.onet/projects/ns/repos/ras-eslint-config/compare/diff?sourceBranch=14.0.0&targetBranch=13.0.0
|
|
169
|
+
[13.0.0]: https://stash.grupa.onet/projects/ns/repos/ras-eslint-config/compare/diff?sourceBranch=13.0.0&targetBranch=12.0.0
|
|
152
170
|
[12.0.0]: https://stash.grupa.onet/projects/ns/repos/ras-eslint-config/compare/diff?sourceBranch=12.0.0&targetBranch=11.0.0
|
|
153
171
|
[11.0.0]: https://stash.grupa.onet/projects/ns/repos/ras-eslint-config/compare/diff?sourceBranch=11.0.0&targetBranch=10.0.1
|
|
154
172
|
[10.0.1]: https://stash.grupa.onet/projects/ns/repos/ras-eslint-config/compare/diff?sourceBranch=10.0.1&targetBranch=10.0.0
|
package/README.md
CHANGED
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',
|
|
@@ -75,7 +76,7 @@ module.exports = {
|
|
|
75
76
|
'error',
|
|
76
77
|
{ blankLine: 'always', prev: ['block', 'block-like', 'class', 'directive'], next: '*' },
|
|
77
78
|
{ blankLine: 'always', prev: '*', next: ['block', 'block-like', 'class'] },
|
|
78
|
-
{ blankLine: 'never', prev: 'case', next: 'case' }
|
|
79
|
+
{ blankLine: 'never', prev: 'case', next: ['case', 'default'] }
|
|
79
80
|
],
|
|
80
81
|
'prefer-arrow-callback': 'error',
|
|
81
82
|
'prefer-const': 'error',
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ringieraxelspringer/eslint-config",
|
|
3
|
-
"version": "
|
|
4
|
-
"description": "Ringier Axel Springer ESLint configuration",
|
|
3
|
+
"version": "15.0.0",
|
|
4
|
+
"description": "Common Ringier Axel Springer ESLint configuration",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {},
|
|
7
7
|
"main": "lib/index.js",
|
|
8
8
|
"engines": {
|
|
9
|
-
"node": "^12||^14"
|
|
9
|
+
"node": "^12.22||^14.17||^16"
|
|
10
10
|
},
|
|
11
11
|
"scripts": {
|
|
12
12
|
"lint": "npm run lint:js",
|
|
@@ -16,9 +16,9 @@
|
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"@babel/core": "^7.0.0",
|
|
18
18
|
"@babel/eslint-parser": "^7.0.0",
|
|
19
|
-
"@typescript-eslint/eslint-plugin": "^
|
|
20
|
-
"@typescript-eslint/parser": "^
|
|
21
|
-
"eslint": "^
|
|
19
|
+
"@typescript-eslint/eslint-plugin": "^5.0.0",
|
|
20
|
+
"@typescript-eslint/parser": "^5.0.0",
|
|
21
|
+
"eslint": "^8.0.0",
|
|
22
22
|
"eslint-bamboo-formatter": "^0.1.0",
|
|
23
23
|
"eslint-plugin-import": "^2.0.0",
|
|
24
24
|
"eslint-plugin-node": "^11.0.0",
|