From e45b7ffb1ec8c944e5ff7af3efc961d0624b867e Mon Sep 17 00:00:00 2001 From: Henry Zhu Date: Wed, 30 Sep 2015 18:38:56 -0700 Subject: [PATCH] update lint packages, fix lint errors MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Summary: @​cesarandreu pointed out running eslint on react-native resulted in `t.isReferencedIdentifier is not a function` issues on the babel #linting channel on slack. - update eslint, babel-eslint, eslint-plugin-react - fix eslint errors: `Error - t.isReferencedIdentifier is not a function` - fix lint npm script I see there's also https://github.com/facebook/react-native/pull/1736 from @ide which would fix it tooCloses https://github.com/facebook/react-native/pull/1874 Reviewed By: @vjeux Differential Revision: D2495878 Pulled By: @frantic --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index dd748d9d5..155f8af8e 100644 --- a/package.json +++ b/package.json @@ -38,7 +38,7 @@ ], "scripts": { "test": "NODE_ENV=test jest", - "lint": "node linter.js Examples/ Libraries/", + "lint": "eslint Examples/ Libraries/", "start": "./packager/packager.sh || true" }, "bin": {