Browse Source

Adds type import consistency rule

main
Eric Amodio 1 year ago
parent
commit
17f8d45341
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      .eslintrc.base.json

+ 2
- 1
.eslintrc.base.json View File

@ -154,12 +154,13 @@
}
],
"yoda": "error",
"import/consistent-type-specifier-style": ["error", "prefer-top-level"],
"import/extensions": ["error", "never"],
"import/newline-after-import": "warn",
"import/no-absolute-path": "error",
"import/no-cycle": "off",
"import/no-default-export": "error",
"import/no-duplicates": "error",
"import/no-duplicates": ["error", { "prefer-inline": false }],
"import/no-dynamic-require": "error",
"import/no-self-import": "error",
"import/no-unresolved": ["warn", { "ignore": ["vscode", "@env"] }],

Loading…
Cancel
Save