Quellcode durchsuchen

Adds type import consistency rule

main
Eric Amodio vor 1 Jahr
Ursprung
Commit
17f8d45341
1 geänderte Dateien mit 2 neuen und 1 gelöschten Zeilen
  1. +2
    -1
      .eslintrc.base.json

+ 2
- 1
.eslintrc.base.json Datei anzeigen

@ -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"] }],

Laden…
Abbrechen
Speichern