@ringieraxelspringer/eslint-config 10.0.1 → 13.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 +32 -11
- package/README.md +2 -2
- package/lib/index.js +4 -1
- package/package.json +6 -6
package/CHANGELOG.md
CHANGED
|
@@ -2,23 +2,41 @@
|
|
|
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
|
+
## [13.0.0] - 2022-02-22
|
|
6
|
+
### Added
|
|
7
|
+
- [@mdulawa]: Added support for Node v16.
|
|
8
|
+
|
|
9
|
+
### Changed
|
|
10
|
+
- [@mdulawa]: Bumped version of `eslint` and `@typescript-eslint`.
|
|
11
|
+
|
|
12
|
+
## [12.0.0] - 2021-12-06
|
|
13
|
+
### Added
|
|
14
|
+
- [@mdulawa]: Added `semi-spacing` rule.
|
|
15
|
+
|
|
16
|
+
### Removed
|
|
17
|
+
- [@mdulawa]: Dropped support for Node v10.
|
|
18
|
+
|
|
19
|
+
## [11.0.0] - 2021-11-12
|
|
20
|
+
### Added
|
|
21
|
+
- [@pniewiejski]: Added `@typescript-eslint/semi` rule.
|
|
22
|
+
|
|
5
23
|
## [10.0.1] - 2021-09-01
|
|
6
24
|
### Fixed
|
|
7
25
|
- [@tzachara]: Fixed override rule `@typescript-eslint/type-annotation-spacing` for arrow type definitions.
|
|
8
26
|
|
|
9
27
|
## [10.0.0] - 2021-08-24
|
|
10
28
|
### Added
|
|
11
|
-
- [@tzachara]:
|
|
12
|
-
- [@tzachara]:
|
|
29
|
+
- [@tzachara]: Added `@typescript-eslint/member-delimiter-style` rule.
|
|
30
|
+
- [@tzachara]: Added `@typescript-eslint/type-annotation-spacing` rule.
|
|
13
31
|
|
|
14
32
|
## [9.0.0] - 2021-06-25
|
|
15
33
|
### Added
|
|
16
|
-
- [@pbizon]:
|
|
17
|
-
- [@pbizon]:
|
|
34
|
+
- [@pbizon]: Added `multiline-ternary` rule.
|
|
35
|
+
- [@pbizon]: Added `operator-linebreak` rule.
|
|
18
36
|
|
|
19
37
|
## [8.0.0] - 2021-06-24
|
|
20
38
|
### Added
|
|
21
|
-
- [@mdulawa]:
|
|
39
|
+
- [@mdulawa]: Added `padded-blocks` rule.
|
|
22
40
|
|
|
23
41
|
## [7.0.1] - 2021-06-18
|
|
24
42
|
### Fixed
|
|
@@ -27,12 +45,12 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/), and this
|
|
|
27
45
|
|
|
28
46
|
## [7.0.0] - 2021-06-16
|
|
29
47
|
### Added
|
|
30
|
-
- [@jbienkowski2]:
|
|
31
|
-
- [@jbienkowski2]:
|
|
32
|
-
- [@jbienkowski2]:
|
|
33
|
-
- [@jbienkowski2]:
|
|
34
|
-
- [@jbienkowski2]:
|
|
35
|
-
- [@jbienkowski2]:
|
|
48
|
+
- [@jbienkowski2]: Added `@typescript-eslint/explicit-function-return-type` rule.
|
|
49
|
+
- [@jbienkowski2]: Added `@typescript-eslint/explicit-member-accessibility` rule.
|
|
50
|
+
- [@jbienkowski2]: Added `@typescript-eslint/prefer-nullish-coalescing` rule.
|
|
51
|
+
- [@jbienkowski2]: Added `@typescript-eslint/prefer-optional-chain` rule.
|
|
52
|
+
- [@jbienkowski2]: Added `@typescript-eslint/prefer-readonly` rule.
|
|
53
|
+
- [@jbienkowski2]: Added `@typescript-eslint/prefer-ts-expect-error` rule.
|
|
36
54
|
|
|
37
55
|
## [6.0.2] - 2021-06-14
|
|
38
56
|
### Fixed
|
|
@@ -138,6 +156,9 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/), and this
|
|
|
138
156
|
### Added
|
|
139
157
|
- [@mdulawa]: Initial version.
|
|
140
158
|
|
|
159
|
+
[13.0.0]: https://stash.grupa.onet/projects/ns/repos/ras-eslint-config/compare/diff?sourceBranch=13.0.0&targetBranch=12.0.0
|
|
160
|
+
[12.0.0]: https://stash.grupa.onet/projects/ns/repos/ras-eslint-config/compare/diff?sourceBranch=12.0.0&targetBranch=11.0.0
|
|
161
|
+
[11.0.0]: https://stash.grupa.onet/projects/ns/repos/ras-eslint-config/compare/diff?sourceBranch=11.0.0&targetBranch=10.0.1
|
|
141
162
|
[10.0.1]: https://stash.grupa.onet/projects/ns/repos/ras-eslint-config/compare/diff?sourceBranch=10.0.1&targetBranch=10.0.0
|
|
142
163
|
[10.0.0]: https://stash.grupa.onet/projects/ns/repos/ras-eslint-config/compare/diff?sourceBranch=10.0.0&targetBranch=9.0.0
|
|
143
164
|
[9.0.0]: https://stash.grupa.onet/projects/ns/repos/ras-eslint-config/compare/diff?sourceBranch=9.0.0&targetBranch=8.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
|
@@ -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',
|
|
@@ -128,10 +129,12 @@ module.exports = {
|
|
|
128
129
|
],
|
|
129
130
|
'@typescript-eslint/prefer-optional-chain': 'error',
|
|
130
131
|
'@typescript-eslint/prefer-ts-expect-error': 'error',
|
|
132
|
+
'@typescript-eslint/semi': ['error', 'always'],
|
|
131
133
|
'@typescript-eslint/type-annotation-spacing': ['error', { before: false, after: true, overrides: { arrow: { before: true, after: true } } }],
|
|
132
134
|
'node/no-missing-import': ['error', { tryExtensions: ['.js', '.json', '.jsx', '.ts', '.tsx'] }],
|
|
133
135
|
'node/no-unsupported-features/es-builtins': 'off',
|
|
134
|
-
'node/no-unsupported-features/es-syntax': 'off'
|
|
136
|
+
'node/no-unsupported-features/es-syntax': 'off',
|
|
137
|
+
'semi': 'off'
|
|
135
138
|
}
|
|
136
139
|
}
|
|
137
140
|
],
|
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": "13.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",
|