@ringieraxelspringer/eslint-config 11.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 +34 -13
- package/README.md +2 -2
- package/lib/index.js +2 -1
- package/package.json +6 -6
package/CHANGELOG.md
CHANGED
|
@@ -2,9 +2,27 @@
|
|
|
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
|
-
## [
|
|
5
|
+
## [14.0.0] - 2022-05-20
|
|
6
6
|
### Fixed
|
|
7
|
-
- [@
|
|
7
|
+
- [@mdulawa]: Rule `padding-line-between-statements`: Don't need blank line before `default` in `switch` construction.
|
|
8
|
+
|
|
9
|
+
## [13.0.0] - 2022-02-22
|
|
10
|
+
### Added
|
|
11
|
+
- [@mdulawa]: Added support for Node v16.
|
|
12
|
+
|
|
13
|
+
### Changed
|
|
14
|
+
- [@mdulawa]: Bumped version of `eslint` and `@typescript-eslint`.
|
|
15
|
+
|
|
16
|
+
## [12.0.0] - 2021-12-06
|
|
17
|
+
### Added
|
|
18
|
+
- [@mdulawa]: Added `semi-spacing` rule.
|
|
19
|
+
|
|
20
|
+
### Removed
|
|
21
|
+
- [@mdulawa]: Dropped support for Node v10.
|
|
22
|
+
|
|
23
|
+
## [11.0.0] - 2021-11-12
|
|
24
|
+
### Added
|
|
25
|
+
- [@pniewiejski]: Added `@typescript-eslint/semi` rule.
|
|
8
26
|
|
|
9
27
|
## [10.0.1] - 2021-09-01
|
|
10
28
|
### Fixed
|
|
@@ -12,17 +30,17 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/), and this
|
|
|
12
30
|
|
|
13
31
|
## [10.0.0] - 2021-08-24
|
|
14
32
|
### Added
|
|
15
|
-
- [@tzachara]:
|
|
16
|
-
- [@tzachara]:
|
|
33
|
+
- [@tzachara]: Added `@typescript-eslint/member-delimiter-style` rule.
|
|
34
|
+
- [@tzachara]: Added `@typescript-eslint/type-annotation-spacing` rule.
|
|
17
35
|
|
|
18
36
|
## [9.0.0] - 2021-06-25
|
|
19
37
|
### Added
|
|
20
|
-
- [@pbizon]:
|
|
21
|
-
- [@pbizon]:
|
|
38
|
+
- [@pbizon]: Added `multiline-ternary` rule.
|
|
39
|
+
- [@pbizon]: Added `operator-linebreak` rule.
|
|
22
40
|
|
|
23
41
|
## [8.0.0] - 2021-06-24
|
|
24
42
|
### Added
|
|
25
|
-
- [@mdulawa]:
|
|
43
|
+
- [@mdulawa]: Added `padded-blocks` rule.
|
|
26
44
|
|
|
27
45
|
## [7.0.1] - 2021-06-18
|
|
28
46
|
### Fixed
|
|
@@ -31,12 +49,12 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/), and this
|
|
|
31
49
|
|
|
32
50
|
## [7.0.0] - 2021-06-16
|
|
33
51
|
### Added
|
|
34
|
-
- [@jbienkowski2]:
|
|
35
|
-
- [@jbienkowski2]:
|
|
36
|
-
- [@jbienkowski2]:
|
|
37
|
-
- [@jbienkowski2]:
|
|
38
|
-
- [@jbienkowski2]:
|
|
39
|
-
- [@jbienkowski2]:
|
|
52
|
+
- [@jbienkowski2]: Added `@typescript-eslint/explicit-function-return-type` rule.
|
|
53
|
+
- [@jbienkowski2]: Added `@typescript-eslint/explicit-member-accessibility` rule.
|
|
54
|
+
- [@jbienkowski2]: Added `@typescript-eslint/prefer-nullish-coalescing` rule.
|
|
55
|
+
- [@jbienkowski2]: Added `@typescript-eslint/prefer-optional-chain` rule.
|
|
56
|
+
- [@jbienkowski2]: Added `@typescript-eslint/prefer-readonly` rule.
|
|
57
|
+
- [@jbienkowski2]: Added `@typescript-eslint/prefer-ts-expect-error` rule.
|
|
40
58
|
|
|
41
59
|
## [6.0.2] - 2021-06-14
|
|
42
60
|
### Fixed
|
|
@@ -142,6 +160,9 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/), and this
|
|
|
142
160
|
### Added
|
|
143
161
|
- [@mdulawa]: Initial version.
|
|
144
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
|
|
164
|
+
[13.0.0]: https://stash.grupa.onet/projects/ns/repos/ras-eslint-config/compare/diff?sourceBranch=13.0.0&targetBranch=12.0.0
|
|
165
|
+
[12.0.0]: https://stash.grupa.onet/projects/ns/repos/ras-eslint-config/compare/diff?sourceBranch=12.0.0&targetBranch=11.0.0
|
|
145
166
|
[11.0.0]: https://stash.grupa.onet/projects/ns/repos/ras-eslint-config/compare/diff?sourceBranch=11.0.0&targetBranch=10.0.1
|
|
146
167
|
[10.0.1]: https://stash.grupa.onet/projects/ns/repos/ras-eslint-config/compare/diff?sourceBranch=10.0.1&targetBranch=10.0.0
|
|
147
168
|
[10.0.0]: https://stash.grupa.onet/projects/ns/repos/ras-eslint-config/compare/diff?sourceBranch=10.0.0&targetBranch=9.0.0
|
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# @ringieraxelspringer/eslint-config
|
|
2
2
|
|
|
3
|
-
Common Ringier Axel Springer
|
|
3
|
+
Common Ringier Axel Springer ESLint configuration.
|
|
4
4
|
|
|
5
5
|
## Requirements
|
|
6
6
|
|
|
@@ -11,7 +11,7 @@ If you use earlier version of TypeScript, you will have to use older version of
|
|
|
11
11
|
|
|
12
12
|
## Installation
|
|
13
13
|
|
|
14
|
-
```shell
|
|
14
|
+
```shell
|
|
15
15
|
npm install --save-dev @ringieraxelspringer/eslint-config
|
|
16
16
|
```
|
|
17
17
|
|
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',
|
|
@@ -86,6 +86,7 @@ module.exports = {
|
|
|
86
86
|
'require-atomic-updates': 'error',
|
|
87
87
|
'require-await': 'error',
|
|
88
88
|
'semi': ['error', 'always'],
|
|
89
|
+
'semi-spacing': ['error', { after: true, before: false }],
|
|
89
90
|
'space-before-blocks': 'error',
|
|
90
91
|
'space-before-function-paren': ['error', { anonymous: 'never', asyncArrow: 'always', named: 'never' }],
|
|
91
92
|
'space-infix-ops': '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": "14.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": "^
|
|
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",
|