diff --git a/.babelrc b/.babelrc index 49568cfd..0c352c97 100644 --- a/.babelrc +++ b/.babelrc @@ -1,8 +1,5 @@ { - "presets": [ - "react", - "env" - ], + "presets": ["react", "env"], "plugins": [ "lodash", "styled-components", @@ -15,9 +12,7 @@ ], "env": { "development": { - "presets": [ - "react-hmre" - ] + "presets": ["react-hmre"] } } -} \ No newline at end of file +} diff --git a/.eslintrc b/.eslintrc index 5c4b0e8f..d90ae86b 100644 --- a/.eslintrc +++ b/.eslintrc @@ -6,10 +6,7 @@ "plugin:import/warnings", "plugin:flowtype/recommended" ], - "plugins": [ - "prettier", - "flowtype" - ], + "plugins": ["prettier", "flowtype"], "rules": { "eqeqeq": 2, "no-unused-vars": 2, @@ -22,9 +19,7 @@ "import/no-unresolved": [ "error", { - "ignore": [ - "slate-drop-or-paste-images" - ] + "ignore": ["slate-drop-or-paste-images"] } ], // Flow @@ -35,14 +30,8 @@ "annotationStyle": "line" } ], - "flowtype/space-after-type-colon": [ - 2, - "always" - ], - "flowtype/space-before-type-colon": [ - 2, - "never" - ], + "flowtype/space-after-type-colon": [2, "always"], + "flowtype/space-before-type-colon": [2, "never"], // Enforce that code is formatted with prettier. "prettier/prettier": [ "error", @@ -56,10 +45,7 @@ "settings": { "import/resolver": { "node": { - "paths": [ - "app", - "." - ] + "paths": ["app", "."] } }, "flowtype": { @@ -78,4 +64,4 @@ "afterAll": true, "Bugsnag": true } -} \ No newline at end of file +}