mirror of
https://github.com/inaturalist/iNaturalistReactNative.git
synced 2025-12-23 22:18:36 -05:00
more strict type import style (#3265)
* MOB-1058 add consistent-type-specifier-style lint for even more consistency * MOB-1058 apply consistent-type-specifier-style lint autofix
This commit is contained in:
@@ -146,7 +146,8 @@ module.exports = {
|
||||
"@typescript-eslint/no-unsafe-function-type": 1,
|
||||
"@typescript-eslint/consistent-type-imports": ["error", {
|
||||
fixStyle: "separate-type-imports"
|
||||
}]
|
||||
}],
|
||||
"import/consistent-type-specifier-style": ["error", "prefer-top-level"]
|
||||
},
|
||||
ignorePatterns: ["!.detoxrc.js", "/coverage/*", "/vendor/*", "**/flow-typed"],
|
||||
settings: {
|
||||
@@ -165,7 +166,8 @@ module.exports = {
|
||||
"@typescript-eslint/no-unsafe-function-type": "off",
|
||||
"@typescript-eslint/no-wrapper-object-types": "off",
|
||||
"@typescript-eslint/no-require-imports": "off",
|
||||
"@typescript-eslint/consistent-type-imports": "off"
|
||||
"@typescript-eslint/consistent-type-imports": "off",
|
||||
"import/consistent-type-specifier-style": "off"
|
||||
}
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user