mirror of
https://github.com/funamitech/mastodon
synced 2024-11-27 14:29:03 +09:00
Disable consistent-return
eslint rule for Typescript files (#30675)
This commit is contained in:
parent
bf56e982a9
commit
7ad5a3a2b7
@ -349,6 +349,9 @@ module.exports = defineConfig({
|
|||||||
// Disable formatting rules that have been enabled in the base config
|
// Disable formatting rules that have been enabled in the base config
|
||||||
'indent': 'off',
|
'indent': 'off',
|
||||||
|
|
||||||
|
// This is not needed as we use noImplicitReturns, which handles this in addition to understanding types
|
||||||
|
'consistent-return': 'off',
|
||||||
|
|
||||||
'import/consistent-type-specifier-style': ['error', 'prefer-top-level'],
|
'import/consistent-type-specifier-style': ['error', 'prefer-top-level'],
|
||||||
|
|
||||||
'@typescript-eslint/consistent-type-definitions': ['warn', 'interface'],
|
'@typescript-eslint/consistent-type-definitions': ['warn', 'interface'],
|
||||||
|
Loading…
Reference in New Issue
Block a user