A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/antfu/eslint-config/commit/6a4cfec below:

allow `Function` type for `ts/ban-types` · antfu/eslint-config@6a4cfec · GitHub

File tree Expand file treeCollapse file tree 1 file changed

+1

-0

lines changed

Filter options

Expand file treeCollapse file tree 1 file changed

+1

-0

lines changed Original file line number Diff line number Diff line change

@@ -92,6 +92,7 @@ export function typescript(

92 92

'no-use-before-define': OFF,

93 93

'no-useless-constructor': OFF,

94 94

'ts/ban-ts-comment': ['error', { 'ts-ignore': 'allow-with-description' }],

95 +

'ts/ban-types': ['error', { types: { Function: false } }],

95 96

'ts/consistent-type-definitions': ['error', 'interface'],

96 97

'ts/consistent-type-imports': ['error', { disallowTypeAnnotations: false, prefer: 'type-imports' }],

97 98

'ts/no-dupe-class-members': 'error',

You can’t perform that action at this time.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4