Add eslint rule for consistent type imports
This commit is contained in:
parent
894cfba0e0
commit
93a65b6289
|
@ -94,6 +94,15 @@ export default [
|
|||
allowImportExportEverywhere: true,
|
||||
},
|
||||
},
|
||||
|
||||
plugins: {
|
||||
...config.plugins,
|
||||
"@typescript-eslint": tseslint.plugin,
|
||||
},
|
||||
rules: {
|
||||
...config.rules,
|
||||
"@typescript-eslint/consistent-type-imports": "error",
|
||||
},
|
||||
})),
|
||||
...tseslint.configs.strict.map(config => ({
|
||||
...config,
|
||||
|
|
Loading…
Reference in New Issue