@ringieraxelspringer/eslint-config 20.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 +5 -0
- package/lib/index.js +1 -1
- 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
|
+
## [20.0.1] - 2023-03-27
|
|
6
|
+
### Fixed
|
|
7
|
+
- [@mkasprzyk]: Added `PascalCase` to `naming-convention` rule values.
|
|
8
|
+
|
|
5
9
|
## [20.0.0] - 2023-02-09
|
|
6
10
|
### Added
|
|
7
11
|
- [@mwoloszyn]: Added [camelcase](https://eslint.org/docs/latest/rules/camelcase) rule.
|
|
@@ -190,6 +194,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/), and this
|
|
|
190
194
|
### Added
|
|
191
195
|
- [@mdulawa]: Initial version.
|
|
192
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
|
|
193
198
|
[20.0.0]: https://stash.grupa.onet/projects/ns/repos/ras-eslint-config/compare/diff?sourceBranch=20.0.0&targetBranch=19.0.0
|
|
194
199
|
[19.0.0]: https://stash.grupa.onet/projects/ns/repos/ras-eslint-config/compare/diff?sourceBranch=19.0.0&targetBranch=18.0.0
|
|
195
200
|
[18.0.0]: https://stash.grupa.onet/projects/ns/repos/ras-eslint-config/compare/diff?sourceBranch=18.0.0&targetBranch=17.1.0
|
package/lib/index.js
CHANGED
|
@@ -133,7 +133,7 @@ module.exports = {
|
|
|
133
133
|
multilineDetection: 'brackets'
|
|
134
134
|
}
|
|
135
135
|
],
|
|
136
|
-
'@typescript-eslint/naming-convention': ['error', { selector: 'variableLike', format: ['camelCase', 'UPPER_CASE'] }],
|
|
136
|
+
'@typescript-eslint/naming-convention': ['error', { selector: 'variableLike', format: ['camelCase', 'UPPER_CASE', 'PascalCase'] }],
|
|
137
137
|
'@typescript-eslint/prefer-optional-chain': 'error',
|
|
138
138
|
'@typescript-eslint/prefer-ts-expect-error': 'error',
|
|
139
139
|
'@typescript-eslint/semi': ['error', 'always'],
|