@ringieraxelspringer/eslint-config 17.1.0 → 19.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 +11 -0
- package/lib/index.js +3 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,15 @@
|
|
|
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
|
+
## [19.0.0] - 2023-01-14
|
|
6
|
+
### Added
|
|
7
|
+
- [@mdulawa]: Added [dot-location](https://eslint.org/docs/latest/rules/dot-location) rule.
|
|
8
|
+
- [@mdulawa]: Added [dot-notation](https://eslint.org/docs/latest/rules/dot-notation) rule.
|
|
9
|
+
|
|
10
|
+
## [18.0.0] - 2022-11-18
|
|
11
|
+
### Added
|
|
12
|
+
- [@mdulawa]: Added [no-implicit-coercion](https://eslint.org/docs/latest/rules/no-implicit-coercion) rule.
|
|
13
|
+
|
|
5
14
|
## [17.1.0] - 2022-10-26
|
|
6
15
|
### Added
|
|
7
16
|
- [@pbizon]: Added support for Node v18.
|
|
@@ -176,6 +185,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/), and this
|
|
|
176
185
|
### Added
|
|
177
186
|
- [@mdulawa]: Initial version.
|
|
178
187
|
|
|
188
|
+
[19.0.0]: https://stash.grupa.onet/projects/ns/repos/ras-eslint-config/compare/diff?sourceBranch=19.0.0&targetBranch=18.0.0
|
|
189
|
+
[18.0.0]: https://stash.grupa.onet/projects/ns/repos/ras-eslint-config/compare/diff?sourceBranch=18.0.0&targetBranch=17.1.0
|
|
179
190
|
[17.1.0]: https://stash.grupa.onet/projects/ns/repos/ras-eslint-config/compare/diff?sourceBranch=17.1.0&targetBranch=17.0.0
|
|
180
191
|
[17.0.0]: https://stash.grupa.onet/projects/ns/repos/ras-eslint-config/compare/diff?sourceBranch=17.0.0&targetBranch=16.0.0
|
|
181
192
|
[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
|
@@ -37,6 +37,8 @@ module.exports = {
|
|
|
37
37
|
'comma-dangle': ['error', 'never'],
|
|
38
38
|
'comma-spacing': ['error', { before: false, after: true }],
|
|
39
39
|
'curly': 'error',
|
|
40
|
+
'dot-location': ['error', 'property'],
|
|
41
|
+
'dot-notation': 'error',
|
|
40
42
|
'eol-last': ['error', 'always'],
|
|
41
43
|
'eqeqeq': ['error', 'always'],
|
|
42
44
|
'func-call-spacing': ['error', 'never'],
|
|
@@ -60,6 +62,7 @@ module.exports = {
|
|
|
60
62
|
'no-empty': 'error',
|
|
61
63
|
'no-empty-function': 'error',
|
|
62
64
|
'no-extra-semi': 'error',
|
|
65
|
+
'no-implicit-coercion': ['error', { boolean: true, disallowTemplateShorthand: true, number: true, string: true }],
|
|
63
66
|
'no-lonely-if': 'error',
|
|
64
67
|
'no-loop-func': 'error',
|
|
65
68
|
'no-magic-numbers': 'off',
|