eslint-config-heck 9.4.0 → 9.4.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/biomeJsTs.json CHANGED
@@ -167,7 +167,7 @@
167
167
  "noInlineStyles": "warn",
168
168
  "noJsxPropsBind": "off",
169
169
  "noLeakedRender": "error",
170
- "noMisleadingReturnType": "info",
170
+ "noMisleadingReturnType": "off",
171
171
  "noMisusedPromises": "error",
172
172
  "noMultiAssign": "error",
173
173
  "noMultiStr": "error",
@@ -219,7 +219,7 @@
219
219
  "useExhaustiveSwitchCases": "error",
220
220
  "useExpect": "error",
221
221
  "useExplicitReturnType": {
222
- "level": "error",
222
+ "level": "off",
223
223
  "options": {
224
224
  "allowExpressions": true,
225
225
  "allowIifes": true
package/nodeWithBiome.js CHANGED
@@ -760,7 +760,16 @@ export default [
760
760
  "@typescript-eslint/default-param-last": "off",
761
761
  "dot-notation": "off",
762
762
  "@typescript-eslint/dot-notation": "off",
763
- "@typescript-eslint/explicit-function-return-type": "off",
763
+ "@typescript-eslint/explicit-function-return-type": [
764
+ "error",
765
+ {
766
+ allowExpressions: true,
767
+ allowTypedFunctionExpressions: true,
768
+ allowHigherOrderFunctions: true,
769
+ allowDirectConstAssertionInArrowFunctions: true,
770
+ allowConciseArrowFunctionExpressionsStartingWithVoid: false,
771
+ },
772
+ ],
764
773
  "@typescript-eslint/explicit-member-accessibility": "off",
765
774
  "@typescript-eslint/explicit-module-boundary-types": "off",
766
775
  "init-declarations": "off",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eslint-config-heck",
3
- "version": "9.4.0",
3
+ "version": "9.4.2",
4
4
  "description": "Contains an ESLint configuration for ES2015+, TypeScript, and React.",
5
5
  "type": "module",
6
6
  "main": "index.js",