@ringieraxelspringer/eslint-config 20.0.0 → 21.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 +10 -0
- package/lib/index.js +2 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,14 @@
|
|
|
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
|
+
## [21.0.0] - 2023-04-25
|
|
6
|
+
### Added
|
|
7
|
+
- [@mkuranda]: Added [jsx-tag-spacing](https://github.com/jsx-eslint/eslint-plugin-react/blob/master/docs/rules/jsx-tag-spacing.md) rule.
|
|
8
|
+
|
|
9
|
+
## [20.0.1] - 2023-03-27
|
|
10
|
+
### Fixed
|
|
11
|
+
- [@mkasprzyk]: Added `PascalCase` to `naming-convention` rule values.
|
|
12
|
+
|
|
5
13
|
## [20.0.0] - 2023-02-09
|
|
6
14
|
### Added
|
|
7
15
|
- [@mwoloszyn]: Added [camelcase](https://eslint.org/docs/latest/rules/camelcase) rule.
|
|
@@ -190,6 +198,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/), and this
|
|
|
190
198
|
### Added
|
|
191
199
|
- [@mdulawa]: Initial version.
|
|
192
200
|
|
|
201
|
+
[21.0.0]: https://stash.grupa.onet/projects/ns/repos/ras-eslint-config/compare/diff?sourceBranch=21.0.0&targetBranch=20.0.1
|
|
202
|
+
[20.0.1]: https://stash.grupa.onet/projects/ns/repos/ras-eslint-config/compare/diff?sourceBranch=20.0.1&targetBranch=20.0.0
|
|
193
203
|
[20.0.0]: https://stash.grupa.onet/projects/ns/repos/ras-eslint-config/compare/diff?sourceBranch=20.0.0&targetBranch=19.0.0
|
|
194
204
|
[19.0.0]: https://stash.grupa.onet/projects/ns/repos/ras-eslint-config/compare/diff?sourceBranch=19.0.0&targetBranch=18.0.0
|
|
195
205
|
[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
|
@@ -109,6 +109,7 @@ module.exports = {
|
|
|
109
109
|
'react/jsx-closing-bracket-location': ['error', 'line-aligned'],
|
|
110
110
|
'react/jsx-curly-spacing': ['error', 'never', { allowMultiline: false }],
|
|
111
111
|
'react/jsx-max-props-per-line': ['error', { maximum: 3 }],
|
|
112
|
+
'react/jsx-tag-spacing': ['error', { beforeSelfClosing: 'always' }],
|
|
112
113
|
'react/self-closing-comp': 'error',
|
|
113
114
|
'react/sort-comp': 'error'
|
|
114
115
|
},
|
|
@@ -133,7 +134,7 @@ module.exports = {
|
|
|
133
134
|
multilineDetection: 'brackets'
|
|
134
135
|
}
|
|
135
136
|
],
|
|
136
|
-
'@typescript-eslint/naming-convention': ['error', { selector: 'variableLike', format: ['camelCase', 'UPPER_CASE'] }],
|
|
137
|
+
'@typescript-eslint/naming-convention': ['error', { selector: 'variableLike', format: ['camelCase', 'UPPER_CASE', 'PascalCase'] }],
|
|
137
138
|
'@typescript-eslint/prefer-optional-chain': 'error',
|
|
138
139
|
'@typescript-eslint/prefer-ts-expect-error': 'error',
|
|
139
140
|
'@typescript-eslint/semi': ['error', 'always'],
|