eslint-config-gits 3.0.2 → 3.1.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.
Files changed (3) hide show
  1. package/CHANGELOG.md +15 -0
  2. package/index.js +10 -0
  3. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -1,3 +1,18 @@
1
+ ## [3.1.1](https://gitlab.com/geenen-it-systeme/eslint-preset/compare/v3.1.0...v3.1.1) (2023-11-27)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * ignore typedef for test and story files ([21152d9](https://gitlab.com/geenen-it-systeme/eslint-preset/commit/21152d9d82f352989257bafef04987d48952d456))
7
+
8
+ # [3.1.0](https://gitlab.com/geenen-it-systeme/eslint-preset/compare/v3.0.2...v3.1.0) (2023-11-17)
9
+
10
+
11
+ ### Features
12
+
13
+ * Disallow unnecessary JSX expressions when literals alone are sufficient ([5d34de0](https://gitlab.com/geenen-it-systeme/eslint-preset/commit/5d34de0b0ff31ab8e1311a7ed2568dda5332c51a))
14
+ * Require braces around arrow function bodies only when needed ([4217e80](https://gitlab.com/geenen-it-systeme/eslint-preset/commit/4217e80227ee9e08a617a26aacae70b79b6da3e2))
15
+
1
16
  ## [3.0.2](https://gitlab.com/geenen-it-systeme/eslint-preset/compare/v3.0.1...v3.0.2) (2023-09-19)
2
17
 
3
18
 
package/index.js CHANGED
@@ -54,6 +54,8 @@ module.exports = {
54
54
  excludedFiles: ['*.test.ts', '*.test.tsx'],
55
55
  rules: {
56
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']
57
59
  },
58
60
  },
59
61
  {
@@ -68,5 +70,13 @@ module.exports = {
68
70
  'import/no-anonymous-default-export': 'off',
69
71
  },
70
72
  },
73
+ {
74
+ "files": ["*.test.ts", "*.test.tsx", "*.stories.*"],
75
+ "rules": {
76
+ "@typescript-eslint/typedef": [
77
+ "off"
78
+ ]
79
+ }
80
+ }
71
81
  ],
72
82
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eslint-config-gits",
3
- "version": "3.0.2",
3
+ "version": "3.1.1",
4
4
  "description": "EsLint preset for Geenen IT-Systeme",
5
5
  "repository": "https://gitlab.com/geenen-it-systeme/eslint-preset",
6
6
  "main": "index.js",