@ringieraxelspringer/eslint-config 17.0.0 → 18.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 +10 -0
- package/lib/index.js +1 -0
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,14 @@
|
|
|
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
|
+
## [18.0.0] - 2022-11-18
|
|
6
|
+
### Added
|
|
7
|
+
- [@mdulawa]: Added [no-implicit-coercion](https://eslint.org/docs/latest/rules/no-implicit-coercion) rule.
|
|
8
|
+
|
|
9
|
+
## [17.1.0] - 2022-10-26
|
|
10
|
+
### Added
|
|
11
|
+
- [@pbizon]: Added support for Node v18.
|
|
12
|
+
|
|
5
13
|
## [17.0.0] - 2022-07-14
|
|
6
14
|
### Added
|
|
7
15
|
- [@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.
|
|
@@ -172,6 +180,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/), and this
|
|
|
172
180
|
### Added
|
|
173
181
|
- [@mdulawa]: Initial version.
|
|
174
182
|
|
|
183
|
+
[18.0.0]: https://stash.grupa.onet/projects/ns/repos/ras-eslint-config/compare/diff?sourceBranch=18.0.0&targetBranch=17.1.0
|
|
184
|
+
[17.1.0]: https://stash.grupa.onet/projects/ns/repos/ras-eslint-config/compare/diff?sourceBranch=17.1.0&targetBranch=17.0.0
|
|
175
185
|
[17.0.0]: https://stash.grupa.onet/projects/ns/repos/ras-eslint-config/compare/diff?sourceBranch=17.0.0&targetBranch=16.0.0
|
|
176
186
|
[16.0.0]: https://stash.grupa.onet/projects/ns/repos/ras-eslint-config/compare/diff?sourceBranch=16.0.0&targetBranch=15.0.0
|
|
177
187
|
[15.0.0]: https://stash.grupa.onet/projects/ns/repos/ras-eslint-config/compare/diff?sourceBranch=15.0.0&targetBranch=14.0.0
|
package/lib/index.js
CHANGED
|
@@ -60,6 +60,7 @@ module.exports = {
|
|
|
60
60
|
'no-empty': 'error',
|
|
61
61
|
'no-empty-function': 'error',
|
|
62
62
|
'no-extra-semi': 'error',
|
|
63
|
+
'no-implicit-coercion': ['error', { boolean: true, disallowTemplateShorthand: true, number: true, string: true }],
|
|
63
64
|
'no-lonely-if': 'error',
|
|
64
65
|
'no-loop-func': 'error',
|
|
65
66
|
'no-magic-numbers': 'off',
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ringieraxelspringer/eslint-config",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "18.0.0",
|
|
4
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.22||^14.17||^16"
|
|
9
|
+
"node": "^12.22||^14.17||^16||^18"
|
|
10
10
|
},
|
|
11
11
|
"scripts": {
|
|
12
12
|
"lint": "npm run lint:js",
|