@ringieraxelspringer/eslint-config 19.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 +7 -1
- package/lib/index.js +3 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,11 @@
|
|
|
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
|
+
|
|
5
10
|
## [19.0.0] - 2023-01-14
|
|
6
11
|
### Added
|
|
7
12
|
- [@mdulawa]: Added [dot-location](https://eslint.org/docs/latest/rules/dot-location) rule.
|
|
@@ -17,7 +22,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/), and this
|
|
|
17
22
|
|
|
18
23
|
## [17.0.0] - 2022-07-14
|
|
19
24
|
### Added
|
|
20
|
-
- [@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.
|
|
21
26
|
|
|
22
27
|
## [16.0.0] - 2022-06-09
|
|
23
28
|
### Added
|
|
@@ -185,6 +190,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/), and this
|
|
|
185
190
|
### Added
|
|
186
191
|
- [@mdulawa]: Initial version.
|
|
187
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
|
|
188
194
|
[19.0.0]: https://stash.grupa.onet/projects/ns/repos/ras-eslint-config/compare/diff?sourceBranch=19.0.0&targetBranch=18.0.0
|
|
189
195
|
[18.0.0]: https://stash.grupa.onet/projects/ns/repos/ras-eslint-config/compare/diff?sourceBranch=18.0.0&targetBranch=17.1.0
|
|
190
196
|
[17.1.0]: https://stash.grupa.onet/projects/ns/repos/ras-eslint-config/compare/diff?sourceBranch=17.1.0&targetBranch=17.0.0
|
package/lib/index.js
CHANGED
|
@@ -34,6 +34,7 @@ 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',
|
|
@@ -132,11 +133,13 @@ module.exports = {
|
|
|
132
133
|
multilineDetection: 'brackets'
|
|
133
134
|
}
|
|
134
135
|
],
|
|
136
|
+
'@typescript-eslint/naming-convention': ['error', { selector: 'variableLike', format: ['camelCase', 'UPPER_CASE'] }],
|
|
135
137
|
'@typescript-eslint/prefer-optional-chain': 'error',
|
|
136
138
|
'@typescript-eslint/prefer-ts-expect-error': 'error',
|
|
137
139
|
'@typescript-eslint/semi': ['error', 'always'],
|
|
138
140
|
'@typescript-eslint/space-infix-ops': ['error', { int32Hint: false }],
|
|
139
141
|
'@typescript-eslint/type-annotation-spacing': ['error', { before: false, after: true, overrides: { arrow: { before: true, after: true } } }],
|
|
142
|
+
'camelcase': 'off',
|
|
140
143
|
'node/no-missing-import': ['error', { tryExtensions: ['.js', '.json', '.jsx', '.ts', '.tsx'] }],
|
|
141
144
|
'node/no-unsupported-features/es-builtins': 'off',
|
|
142
145
|
'node/no-unsupported-features/es-syntax': 'off',
|