From 865890532ae544ba1d1cd1cb75287ac39a528917 Mon Sep 17 00:00:00 2001 From: Tim Raymond Date: Wed, 2 Nov 2016 13:26:26 -0400 Subject: [PATCH] Pin ESLint to 3.5.x In 3.9.x, ESLint changed how many spaces are expected on a trailing parens following a return. Previously it expected: ``` 01234567890 return (
); 01234567890 ^~~~~~~~ It previously expected 5 spaces here 01234567890 return (
); 01234567890 ^~~~~~~~~~ Now it wants 3 ``` Until we're ready to explicitly make that change, we're going to pin to 3.5.x (which expects 5 spaces in the example above. --- ui/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/package.json b/ui/package.json index e208e5fe72..410fad904b 100644 --- a/ui/package.json +++ b/ui/package.json @@ -43,7 +43,7 @@ "css-loader": "^0.23.1", "envify": "^3.4.0", "enzyme": "^2.4.1", - "eslint": "^3.5.0", + "eslint": "~3.5.0", "eslint-loader": "^1.5.0", "eslint-plugin-react": "^6.2.2", "extract-text-webpack-plugin": "^1.0.1",