From d4b3c0c50dc60b28f22f03f54f6a77b12c50490d Mon Sep 17 00:00:00 2001 From: yosuke ota Date: Tue, 17 Sep 2019 16:54:57 +0900 Subject: [PATCH 1/3] Fixed jsx parsing error refs https://github.com/eslint/eslint/issues/11018 --- package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/package.json b/package.json index 3f6573ea6..8246a88b8 100755 --- a/package.json +++ b/package.json @@ -51,6 +51,7 @@ "devDependencies": { "@types/node": "^4.2.16", "@typescript-eslint/parser": "^1.11.0", + "acorn": "^7.0.0", "babel-eslint": "^10.0.2", "chai": "^4.1.0", "eslint": "^6.0.0", From 19e7752145a5e862ac538d109c5d0e211268e419 Mon Sep 17 00:00:00 2001 From: ota Date: Tue, 17 Sep 2019 17:07:15 +0900 Subject: [PATCH 2/3] Fixed parsing error in eslint@5. --- .circleci/config.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 2da27550d..a96c74f5a 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -63,8 +63,8 @@ jobs: command: | # We need to execute this command twice because of npm's bug. # See also: https://npm.community/t/error-node-modules-staging-eslint-e7cf6846-node-modules-eslint - npm install eslint@5.0.0 --no-save - npm install eslint@5.0.0 --no-save + npm install eslint@5.0.0 acorn@6.0.7 --no-save + npm install eslint@5.0.0 acorn@6.0.7 --no-save - run: name: Test command: npm test From cc2d705ddc623c261a2fd4a8dfc5b1def2f6fa7b Mon Sep 17 00:00:00 2001 From: ota Date: Tue, 17 Sep 2019 20:48:42 +0900 Subject: [PATCH 3/3] Changed the definition of JOB. --- .circleci/config.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index a96c74f5a..c60601bce 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -58,6 +58,10 @@ jobs: - run: name: Install dependencies command: npm install + - save_cache: + key: v2-npm-lock-{{ .Branch }}-{{ .Environment.CIRCLE_JOB }}-{{ checksum "package.json" }} + paths: + - node_modules - run: name: Install eslint 5 command: | @@ -68,7 +72,3 @@ jobs: - run: name: Test command: npm test - - save_cache: - key: v2-npm-lock-{{ .Branch }}-{{ .Environment.CIRCLE_JOB }}-{{ checksum "package.json" }} - paths: - - node_modules