eslint-config-gits 5.0.24 → 5.0.26

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 CHANGED
@@ -1,3 +1,17 @@
1
+ ## [5.0.26](https://gitlab.com/geenen-it-systeme/eslint-preset/compare/v5.0.25...v5.0.26) (2024-08-22)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * Don't enforce return type on functions ([e06aa54](https://gitlab.com/geenen-it-systeme/eslint-preset/commit/e06aa54704b4a7d8c96149d3ebc1e2192b15ebc0))
7
+
8
+ ## [5.0.25](https://gitlab.com/geenen-it-systeme/eslint-preset/compare/v5.0.24...v5.0.25) (2024-08-22)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * Allow any in tests ([5067901](https://gitlab.com/geenen-it-systeme/eslint-preset/commit/5067901112c9fe84a3ba094adf4f563ee32b38fb))
14
+
1
15
  ## [5.0.24](https://gitlab.com/geenen-it-systeme/eslint-preset/compare/v5.0.23...v5.0.24) (2024-08-22)
2
16
 
3
17
 
package/index.mjs CHANGED
@@ -75,6 +75,7 @@ const plugin = {
75
75
  {
76
76
  files: ['**/*.ts', '**/*.tsx'],
77
77
  rules: {
78
+ // Enforce typings on all variables, including arrow functions
78
79
  "@typescript-eslint/typedef": [
79
80
  "error",
80
81
  {
@@ -83,7 +84,8 @@ const plugin = {
83
84
  "memberVariableDeclaration": true
84
85
  }
85
86
  ],
86
- '@typescript-eslint/explicit-function-return-type': 'error',
87
+ // Already checked via arrow functions and variable definition
88
+ '@typescript-eslint/explicit-function-return-type': ['off'],
87
89
  'react/jsx-curly-brace-presence': ['error', {props: "never", children: "never"}],
88
90
  'arrow-body-style': ['error', 'as-needed']
89
91
  },
@@ -104,9 +106,10 @@ const plugin = {
104
106
  {
105
107
  files: ['**/*.test.ts', '**/*.test.tsx', '**/*.stories.*'],
106
108
  rules: {
109
+ '@typescript-eslint/no-explicit-any': ['off'],
107
110
  '@typescript-eslint/typedef': ['off'],
108
111
  '@typescript-eslint/explicit-function-return-type': ['off'],
109
- 'no-undefined': ['off']
112
+ 'no-undefined': ['off'],
110
113
  }
111
114
  }
112
115
  ]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eslint-config-gits",
3
- "version": "5.0.24",
3
+ "version": "5.0.26",
4
4
  "description": "EsLint preset for Geenen IT-Systeme",
5
5
  "repository": "https://gitlab.com/geenen-it-systeme/eslint-preset",
6
6
  "main": "index.mjs",