diff --git a/.eslintrc.json b/.eslintrc.json index 684eacb0fd..fbb39318c1 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -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", { diff --git a/static/js/portico/integrations.js b/static/js/portico/integrations.js index 6c6a7927d0..868932e26d 100644 --- a/static/js/portico/integrations.js +++ b/static/js/portico/integrations.js @@ -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";