Skip to content

Commit

Permalink
Add @typescript-eslint/explicit-module-boundary-types rule disabled
Browse files Browse the repository at this point in the history
  • Loading branch information
sindresorhus committed Jan 21, 2020
1 parent 55b5eac commit 7f7a4c3
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,17 @@ module.exports = {
allowTypedFunctionExpressions: true
}
],

// Disabled for now as it has too many false-positives.
// '@typescript-eslint/explicit-module-boundary-types': [
// 'error',
// {
// allowTypedFunctionExpressions: true,
// allowHigherOrderFunctions: true,
// allowDirectConstAssertionInArrowFunctions: true
// }
// ],

'func-call-spacing': 'off',
'@typescript-eslint/func-call-spacing': [
'error',
Expand Down Expand Up @@ -292,7 +303,6 @@ module.exports = {
'@typescript-eslint/no-unnecessary-qualifier': 'error',
'@typescript-eslint/no-unnecessary-type-arguments': 'error',
'@typescript-eslint/no-unnecessary-type-assertion': 'error',
'@typescript-eslint/no-untyped-public-signature': 'error',
'no-unused-expressions': 'off',
'@typescript-eslint/no-unused-expressions': 'error',
'no-unused-vars': 'off',
Expand Down

0 comments on commit 7f7a4c3

Please sign in to comment.