eslint-config-gits 3.0.1 → 3.1.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 +15 -0
- package/index.js +3 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,18 @@
|
|
|
1
|
+
# [3.1.0](https://gitlab.com/geenen-it-systeme/eslint-preset/compare/v3.0.2...v3.1.0) (2023-11-17)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Features
|
|
5
|
+
|
|
6
|
+
* Disallow unnecessary JSX expressions when literals alone are sufficient ([5d34de0](https://gitlab.com/geenen-it-systeme/eslint-preset/commit/5d34de0b0ff31ab8e1311a7ed2568dda5332c51a))
|
|
7
|
+
* Require braces around arrow function bodies only when needed ([4217e80](https://gitlab.com/geenen-it-systeme/eslint-preset/commit/4217e80227ee9e08a617a26aacae70b79b6da3e2))
|
|
8
|
+
|
|
9
|
+
## [3.0.2](https://gitlab.com/geenen-it-systeme/eslint-preset/compare/v3.0.1...v3.0.2) (2023-09-19)
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
### Bug Fixes
|
|
13
|
+
|
|
14
|
+
* Disable inferrable types ([433a2bf](https://gitlab.com/geenen-it-systeme/eslint-preset/commit/433a2bf89b53a2c1d92275d4ad01e0132f3fa3f9))
|
|
15
|
+
|
|
1
16
|
## [3.0.1](https://gitlab.com/geenen-it-systeme/eslint-preset/compare/v3.0.0...v3.0.1) (2023-09-12)
|
|
2
17
|
|
|
3
18
|
|
package/index.js
CHANGED
|
@@ -32,6 +32,7 @@ module.exports = {
|
|
|
32
32
|
},
|
|
33
33
|
],
|
|
34
34
|
'@typescript-eslint/explicit-function-return-type': 'off',
|
|
35
|
+
'@typescript-eslint/no-inferrable-types': 'off',
|
|
35
36
|
'@typescript-eslint/typedef': [
|
|
36
37
|
'error',
|
|
37
38
|
{
|
|
@@ -53,6 +54,8 @@ module.exports = {
|
|
|
53
54
|
excludedFiles: ['*.test.ts', '*.test.tsx'],
|
|
54
55
|
rules: {
|
|
55
56
|
'@typescript-eslint/explicit-function-return-type': ['error'],
|
|
57
|
+
'react/jsx-curly-brace-presence': ['error', { props: "never", children: "never" }],
|
|
58
|
+
'arrow-body-style': ['error', 'as-needed']
|
|
56
59
|
},
|
|
57
60
|
},
|
|
58
61
|
{
|