Skip to content
This repository has been archived by the owner on Nov 18, 2021. It is now read-only.

Commit

Permalink
[typescript-eslint] Enable explicit-module-boundary-types
Browse files Browse the repository at this point in the history
  • Loading branch information
tetsuharuohzeki committed Jan 21, 2020
1 parent a60dada commit 1bda440
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions config/eslintrc_typescript.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,13 @@ module.exports = {
},
}],

// TODO: #301
'@typescript-eslint/explicit-module-boundary-types': 'off',
// Function's in/out are one of the important place to ensure type safety.
'@typescript-eslint/explicit-module-boundary-types': ['warn', {
'allowTypedFunctionExpressions': true,
'allowHigherOrderFunctions': false,
'allowDirectConstAssertionInArrowFunctions': false,
'allowedNames': [],
}],

// * We accept the style for T , TA , TAbc , TA1Bca , T1 , T2.
// * You seem this style is similar to C# or typescript compiler.
Expand Down

0 comments on commit 1bda440

Please sign in to comment.