@ringieraxelspringer/eslint-config 17.1.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 +5 -0
- package/lib/index.js +1 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,10 @@
|
|
|
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
|
+
|
|
5
9
|
## [17.1.0] - 2022-10-26
|
|
6
10
|
### Added
|
|
7
11
|
- [@pbizon]: Added support for Node v18.
|
|
@@ -176,6 +180,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/), and this
|
|
|
176
180
|
### Added
|
|
177
181
|
- [@mdulawa]: Initial version.
|
|
178
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
|
|
179
184
|
[17.1.0]: https://stash.grupa.onet/projects/ns/repos/ras-eslint-config/compare/diff?sourceBranch=17.1.0&targetBranch=17.0.0
|
|
180
185
|
[17.0.0]: https://stash.grupa.onet/projects/ns/repos/ras-eslint-config/compare/diff?sourceBranch=17.0.0&targetBranch=16.0.0
|
|
181
186
|
[16.0.0]: https://stash.grupa.onet/projects/ns/repos/ras-eslint-config/compare/diff?sourceBranch=16.0.0&targetBranch=15.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',
|