eslint-config-gits 3.1.0 → 3.1.2
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 +14 -0
- package/index.js +12 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
## [3.1.2](https://gitlab.com/geenen-it-systeme/eslint-preset/compare/v3.1.1...v3.1.2) (2023-11-27)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* Organize rules in "all" and "disabled for tests" ([2c7478a](https://gitlab.com/geenen-it-systeme/eslint-preset/commit/2c7478a738204ce4f5338cdc701251a7197c62f9))
|
|
7
|
+
|
|
8
|
+
## [3.1.1](https://gitlab.com/geenen-it-systeme/eslint-preset/compare/v3.1.0...v3.1.1) (2023-11-27)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* ignore typedef for test and story files ([21152d9](https://gitlab.com/geenen-it-systeme/eslint-preset/commit/21152d9d82f352989257bafef04987d48952d456))
|
|
14
|
+
|
|
1
15
|
# [3.1.0](https://gitlab.com/geenen-it-systeme/eslint-preset/compare/v3.0.2...v3.1.0) (2023-11-17)
|
|
2
16
|
|
|
3
17
|
|
package/index.js
CHANGED
|
@@ -51,10 +51,9 @@ module.exports = {
|
|
|
51
51
|
overrides: [
|
|
52
52
|
{
|
|
53
53
|
files: ['*.ts', '*.tsx'],
|
|
54
|
-
excludedFiles: ['*.test.ts', '*.test.tsx'],
|
|
55
54
|
rules: {
|
|
56
55
|
'@typescript-eslint/explicit-function-return-type': ['error'],
|
|
57
|
-
'react/jsx-curly-brace-presence': ['error', {
|
|
56
|
+
'react/jsx-curly-brace-presence': ['error', {props: "never", children: "never"}],
|
|
58
57
|
'arrow-body-style': ['error', 'as-needed']
|
|
59
58
|
},
|
|
60
59
|
},
|
|
@@ -70,5 +69,16 @@ module.exports = {
|
|
|
70
69
|
'import/no-anonymous-default-export': 'off',
|
|
71
70
|
},
|
|
72
71
|
},
|
|
72
|
+
{
|
|
73
|
+
files: ['*.test.ts', '*.test.tsx', '*.stories.*'],
|
|
74
|
+
rules: {
|
|
75
|
+
'@typescript-eslint/typedef': [
|
|
76
|
+
'off'
|
|
77
|
+
],
|
|
78
|
+
'@typescript-eslint/explicit-function-return-type': [
|
|
79
|
+
'off'
|
|
80
|
+
],
|
|
81
|
+
}
|
|
82
|
+
}
|
|
73
83
|
],
|
|
74
84
|
};
|