mirror of https://github.com/zulip/zulip.git
eslint: Forbid unnecessary path segments in imports.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
parent
6398bcbd2f
commit
c74b1b22c1
|
@ -23,6 +23,7 @@
|
|||
"import/first": "error",
|
||||
"import/newline-after-import": "error",
|
||||
"import/no-unresolved": "error",
|
||||
"import/no-useless-path-segments": "error",
|
||||
"import/order": [
|
||||
"error",
|
||||
{
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
import _ from "lodash";
|
||||
|
||||
import blueslip from "./../blueslip";
|
||||
import blueslip from "../blueslip";
|
||||
|
||||
import * as google_analytics from "./google-analytics";
|
||||
import {path_parts} from "./landing-page";
|
||||
|
||||
|
|
Loading…
Reference in New Issue