@newsteam/eslint-config 0.0.237 → 0.0.239
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.
|
@@ -153,7 +153,15 @@ var rules = {
|
|
|
153
153
|
*
|
|
154
154
|
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/explicit-function-return-type.mdx
|
|
155
155
|
*/
|
|
156
|
-
"@typescript-eslint/explicit-function-return-type":
|
|
156
|
+
"@typescript-eslint/explicit-function-return-type": [
|
|
157
|
+
"error",
|
|
158
|
+
{
|
|
159
|
+
allowConciseArrowFunctionExpressionsStartingWithVoid: true,
|
|
160
|
+
allowExpressions: true,
|
|
161
|
+
allowHigherOrderFunctions: true,
|
|
162
|
+
allowTypedFunctionExpressions: true,
|
|
163
|
+
}
|
|
164
|
+
],
|
|
157
165
|
/*
|
|
158
166
|
* Require explicit accessibility modifiers on class properties and methods
|
|
159
167
|
*
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@newsteam/eslint-config",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.239",
|
|
4
4
|
"description": "Shared config for eslint",
|
|
5
5
|
"main": "./dist/cjs/index.js",
|
|
6
6
|
"types": "./dist/cjs/index.d.ts",
|
|
@@ -55,11 +55,11 @@
|
|
|
55
55
|
},
|
|
56
56
|
"devDependencies": {
|
|
57
57
|
"@stylistic/eslint-plugin": "1.7.2",
|
|
58
|
-
"@types/eslint": "8.56.
|
|
58
|
+
"@types/eslint": "8.56.10",
|
|
59
59
|
"@types/jasmine": "5.1.4",
|
|
60
60
|
"@types/node": "20.12.7",
|
|
61
|
-
"@typescript-eslint/eslint-plugin": "7.7.
|
|
62
|
-
"@typescript-eslint/parser": "7.7.
|
|
61
|
+
"@typescript-eslint/eslint-plugin": "7.7.1",
|
|
62
|
+
"@typescript-eslint/parser": "7.7.1",
|
|
63
63
|
"eslint": "8.57.0",
|
|
64
64
|
"eslint-find-rules": "4.1.0",
|
|
65
65
|
"eslint-plugin-array-func": "4.0.0",
|
|
@@ -94,8 +94,8 @@
|
|
|
94
94
|
},
|
|
95
95
|
"peerDependencies": {
|
|
96
96
|
"@stylistic/eslint-plugin": "1.7.2",
|
|
97
|
-
"@typescript-eslint/eslint-plugin": "7.7.
|
|
98
|
-
"@typescript-eslint/parser": "7.7.
|
|
97
|
+
"@typescript-eslint/eslint-plugin": "7.7.1",
|
|
98
|
+
"@typescript-eslint/parser": "7.7.1",
|
|
99
99
|
"eslint": "8.57.0",
|
|
100
100
|
"eslint-plugin-array-func": "4.0.0",
|
|
101
101
|
"eslint-plugin-css-modules": "2.12.0",
|