Skip to content
This repository has been archived by the owner on May 22, 2022. It is now read-only.

Commit

Permalink
allow expressions in @typescript-eslint/explicit-function-return-type
Browse files Browse the repository at this point in the history
  • Loading branch information
risenforces committed Jan 9, 2020
1 parent 80063b7 commit e1256da
Showing 1 changed file with 6 additions and 14 deletions.
20 changes: 6 additions & 14 deletions configs/typescript.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,20 +29,12 @@ module.exports = {
'@typescript-eslint/class-name-casing': 'error',
'@typescript-eslint/consistent-type-assertions': 'warn',
'@typescript-eslint/consistent-type-definitions': ['warn', 'interface'],
'@typescript-eslint/explicit-function-return-type': 'warn',
// '@typescript-eslint/member-delimiter-style': [
// 'warn',
// {
// multiline: {
// delimiter: 'semi',
// requireLast: true,
// },
// singleline: {
// delimiter: 'semi',
// requireLast: false,
// },
// },
// ],
'@typescript-eslint/explicit-function-return-type': [
'warn',
{
allowExpressions: true,
},
],
'no-array-constructor': 'off',
'@typescript-eslint/no-array-constructor': 'warn',
'@typescript-eslint/no-empty-interface': 'warn',
Expand Down

0 comments on commit e1256da

Please sign in to comment.