@ringieraxelspringer/eslint-config 19.0.0 → 20.0.1
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 +12 -1
- 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
|
+
## [20.0.1] - 2023-03-27
|
|
6
|
+
### Fixed
|
|
7
|
+
- [@mkasprzyk]: Added `PascalCase` to `naming-convention` rule values.
|
|
8
|
+
|
|
9
|
+
## [20.0.0] - 2023-02-09
|
|
10
|
+
### Added
|
|
11
|
+
- [@mwoloszyn]: Added [camelcase](https://eslint.org/docs/latest/rules/camelcase) rule.
|
|
12
|
+
- [@mwoloszyn]: Added [@typescript-eslint/naming-convention](https://typescript-eslint.io/rules/naming-convention) rule.
|
|
13
|
+
|
|
5
14
|
## [19.0.0] - 2023-01-14
|
|
6
15
|
### Added
|
|
7
16
|
- [@mdulawa]: Added [dot-location](https://eslint.org/docs/latest/rules/dot-location) rule.
|
|
@@ -17,7 +26,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/), and this
|
|
|
17
26
|
|
|
18
27
|
## [17.0.0] - 2022-07-14
|
|
19
28
|
### Added
|
|
20
|
-
- [@mkuranda]: Added [@typescript-eslint/space-infix-ops](https://
|
|
29
|
+
- [@mkuranda]: Added [@typescript-eslint/space-infix-ops](https://typescript-eslint.io/rules/space-infix-ops) rule.
|
|
21
30
|
|
|
22
31
|
## [16.0.0] - 2022-06-09
|
|
23
32
|
### Added
|
|
@@ -185,6 +194,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/), and this
|
|
|
185
194
|
### Added
|
|
186
195
|
- [@mdulawa]: Initial version.
|
|
187
196
|
|
|
197
|
+
[20.0.1]: https://stash.grupa.onet/projects/ns/repos/ras-eslint-config/compare/diff?sourceBranch=20.0.1&targetBranch=20.0.0
|
|
198
|
+
[20.0.0]: https://stash.grupa.onet/projects/ns/repos/ras-eslint-config/compare/diff?sourceBranch=20.0.0&targetBranch=19.0.0
|
|
188
199
|
[19.0.0]: https://stash.grupa.onet/projects/ns/repos/ras-eslint-config/compare/diff?sourceBranch=19.0.0&targetBranch=18.0.0
|
|
189
200
|
[18.0.0]: https://stash.grupa.onet/projects/ns/repos/ras-eslint-config/compare/diff?sourceBranch=18.0.0&targetBranch=17.1.0
|
|
190
201
|
[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', 'PascalCase'] }],
|
|
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',
|