Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit daac9da

Browse files
authored
docs(eslint-plugin): [explicit-function-return-type] fixed default allowConciseArrowFunctionExpressionsStartingWithVoid option value (typescript-eslint#2638)
1 parent ef7dfb6 commit daac9da

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/eslint-plugin/docs/rules/explicit-function-return-type.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ const defaults = {
8080
allowTypedFunctionExpressions: true,
8181
allowHigherOrderFunctions: true,
8282
allowDirectConstAssertionInArrowFunctions: true,
83-
allowConciseArrowFunctionExpressionsStartingWithVoid: true,
83+
allowConciseArrowFunctionExpressionsStartingWithVoid: false,
8484
};
8585
```
8686

0 commit comments

Comments
 (0)