@ringieraxelspringer/eslint-config 18.0.0 → 20.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 +13 -1
- package/lib/index.js +5 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,16 @@
|
|
|
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
|
+
## [20.0.0] - 2023-02-09
|
|
6
|
+
### Added
|
|
7
|
+
- [@mwoloszyn]: Added [camelcase](https://eslint.org/docs/latest/rules/camelcase) rule.
|
|
8
|
+
- [@mwoloszyn]: Added [@typescript-eslint/naming-convention](https://typescript-eslint.io/rules/naming-convention) rule.
|
|
9
|
+
|
|
10
|
+
## [19.0.0] - 2023-01-14
|
|
11
|
+
### Added
|
|
12
|
+
- [@mdulawa]: Added [dot-location](https://eslint.org/docs/latest/rules/dot-location) rule.
|
|
13
|
+
- [@mdulawa]: Added [dot-notation](https://eslint.org/docs/latest/rules/dot-notation) rule.
|
|
14
|
+
|
|
5
15
|
## [18.0.0] - 2022-11-18
|
|
6
16
|
### Added
|
|
7
17
|
- [@mdulawa]: Added [no-implicit-coercion](https://eslint.org/docs/latest/rules/no-implicit-coercion) rule.
|
|
@@ -12,7 +22,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/), and this
|
|
|
12
22
|
|
|
13
23
|
## [17.0.0] - 2022-07-14
|
|
14
24
|
### Added
|
|
15
|
-
- [@mkuranda]: Added [@typescript-eslint/space-infix-ops](https://
|
|
25
|
+
- [@mkuranda]: Added [@typescript-eslint/space-infix-ops](https://typescript-eslint.io/rules/space-infix-ops) rule.
|
|
16
26
|
|
|
17
27
|
## [16.0.0] - 2022-06-09
|
|
18
28
|
### Added
|
|
@@ -180,6 +190,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/), and this
|
|
|
180
190
|
### Added
|
|
181
191
|
- [@mdulawa]: Initial version.
|
|
182
192
|
|
|
193
|
+
[20.0.0]: https://stash.grupa.onet/projects/ns/repos/ras-eslint-config/compare/diff?sourceBranch=20.0.0&targetBranch=19.0.0
|
|
194
|
+
[19.0.0]: https://stash.grupa.onet/projects/ns/repos/ras-eslint-config/compare/diff?sourceBranch=19.0.0&targetBranch=18.0.0
|
|
183
195
|
[18.0.0]: https://stash.grupa.onet/projects/ns/repos/ras-eslint-config/compare/diff?sourceBranch=18.0.0&targetBranch=17.1.0
|
|
184
196
|
[17.1.0]: https://stash.grupa.onet/projects/ns/repos/ras-eslint-config/compare/diff?sourceBranch=17.1.0&targetBranch=17.0.0
|
|
185
197
|
[17.0.0]: https://stash.grupa.onet/projects/ns/repos/ras-eslint-config/compare/diff?sourceBranch=17.0.0&targetBranch=16.0.0
|
package/lib/index.js
CHANGED
|
@@ -34,9 +34,12 @@ module.exports = {
|
|
|
34
34
|
'array-element-newline': ['error', 'consistent'],
|
|
35
35
|
'arrow-spacing': 'error',
|
|
36
36
|
'brace-style': 'error',
|
|
37
|
+
'camelcase': ['error', { ignoreDestructuring: true, properties: 'never' }],
|
|
37
38
|
'comma-dangle': ['error', 'never'],
|
|
38
39
|
'comma-spacing': ['error', { before: false, after: true }],
|
|
39
40
|
'curly': 'error',
|
|
41
|
+
'dot-location': ['error', 'property'],
|
|
42
|
+
'dot-notation': 'error',
|
|
40
43
|
'eol-last': ['error', 'always'],
|
|
41
44
|
'eqeqeq': ['error', 'always'],
|
|
42
45
|
'func-call-spacing': ['error', 'never'],
|
|
@@ -130,11 +133,13 @@ module.exports = {
|
|
|
130
133
|
multilineDetection: 'brackets'
|
|
131
134
|
}
|
|
132
135
|
],
|
|
136
|
+
'@typescript-eslint/naming-convention': ['error', { selector: 'variableLike', format: ['camelCase', 'UPPER_CASE'] }],
|
|
133
137
|
'@typescript-eslint/prefer-optional-chain': 'error',
|
|
134
138
|
'@typescript-eslint/prefer-ts-expect-error': 'error',
|
|
135
139
|
'@typescript-eslint/semi': ['error', 'always'],
|
|
136
140
|
'@typescript-eslint/space-infix-ops': ['error', { int32Hint: false }],
|
|
137
141
|
'@typescript-eslint/type-annotation-spacing': ['error', { before: false, after: true, overrides: { arrow: { before: true, after: true } } }],
|
|
142
|
+
'camelcase': 'off',
|
|
138
143
|
'node/no-missing-import': ['error', { tryExtensions: ['.js', '.json', '.jsx', '.ts', '.tsx'] }],
|
|
139
144
|
'node/no-unsupported-features/es-builtins': 'off',
|
|
140
145
|
'node/no-unsupported-features/es-syntax': 'off',
|