Sfoglia il codice sorgente

Adds type import consistency rule

main
Eric Amodio 1 anno fa
parent
commit
17f8d45341
1 ha cambiato i file con 2 aggiunte e 1 eliminazioni
  1. +2
    -1
      .eslintrc.base.json

+ 2
- 1
.eslintrc.base.json Vedi 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"] }],

Caricamento…
Annulla
Salva