From 62d1970f778e09b75cf34fe11eeedea2b4c79a60 Mon Sep 17 00:00:00 2001 From: "greenkeeper[bot]" Date: Sat, 14 Jan 2017 15:04:10 +0100 Subject: [PATCH] =?UTF-8?q?Update=20eslint-config-babel=20to=20the=20lates?= =?UTF-8?q?t=20version=20=F0=9F=9A=80=20(#293)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * chore(package): update eslint-config-babel to version 5.0.0 https://greenkeeper.io/ * fix lint warnings --- package.json | 2 +- src/util/identifier.js | 2 ++ yarn.lock | 6 +++--- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index bde32a2da9..6fa4ff868a 100644 --- a/package.json +++ b/package.json @@ -25,7 +25,7 @@ "codecov": "^1.0.1", "cross-env": "^2.0.0", "eslint": "^3.7.1", - "eslint-config-babel": "^4.0.1", + "eslint-config-babel": "^5.0.0", "eslint-plugin-flowtype": "^2.20.0", "flow-bin": "^0.37.0", "nyc": "^10.0.0", diff --git a/src/util/identifier.js b/src/util/identifier.js index 4c3bcf87f9..d8a9c83c49 100644 --- a/src/util/identifier.js +++ b/src/util/identifier.js @@ -49,7 +49,9 @@ nonASCIIidentifierStartChars = nonASCIIidentifierChars = null; // offset starts at 0x10000, and each pair of numbers represents an // offset to the next range, and then a size of the range. They were // generated by `bin/generate-identifier-regex.js`. +// eslint-disable-next-line comma-spacing const astralIdentifierStartCodes = [0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,17,26,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,157,310,10,21,11,7,153,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,26,45,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,785,52,76,44,33,24,27,35,42,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,85,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,54,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,86,25,391,63,32,0,449,56,264,8,2,36,18,0,50,29,881,921,103,110,18,195,2749,1070,4050,582,8634,568,8,30,114,29,19,47,17,3,32,20,6,18,881,68,12,0,67,12,65,0,32,6124,20,754,9486,1,3071,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,4149,196,60,67,1213,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42710,42,4148,12,221,3,5761,10591,541]; +// eslint-disable-next-line comma-spacing const astralIdentifierCodes = [509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,1306,2,54,14,32,9,16,3,46,10,54,9,7,2,37,13,2,9,52,0,13,2,49,13,10,2,4,9,83,11,7,0,161,11,6,9,7,3,57,0,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,87,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,423,9,838,7,2,7,17,9,57,21,2,13,19882,9,135,4,60,6,26,9,1016,45,17,3,19723,1,5319,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,2214,6,110,6,6,9,792487,239]; // This has a complexity linear to the value of the code. The diff --git a/yarn.lock b/yarn.lock index 99d193746b..80175b8da2 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1549,9 +1549,9 @@ escope@^3.6.0: esrecurse "^4.1.0" estraverse "^4.1.1" -eslint-config-babel@^4.0.1: - version "4.0.1" - resolved "https://registry.yarnpkg.com/eslint-config-babel/-/eslint-config-babel-4.0.1.tgz#79647e62d82aff64872e5013d6b24f8cfe9b503b" +eslint-config-babel@^5.0.0: + version "5.0.0" + resolved "https://registry.yarnpkg.com/eslint-config-babel/-/eslint-config-babel-5.0.0.tgz#2f1ac1d58104fc0b50a2964ddb08f8901bbbbd8a" eslint-plugin-flowtype@^2.20.0: version "2.29.2"