Skip to content

Commit

Permalink
Fixed jsx parsing error (#961)
Browse files Browse the repository at this point in the history
* Fixed jsx parsing error

refs eslint/eslint#11018

* Fixed parsing error in eslint@5.

* Changed the definition of JOB.
  • Loading branch information
ota-meshi authored and kazupon committed Sep 18, 2019
1 parent 1d12b93 commit e59eb09
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .circleci/config.yml
Expand Up @@ -58,17 +58,17 @@ 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: |
# 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
- save_cache:
key: v2-npm-lock-{{ .Branch }}-{{ .Environment.CIRCLE_JOB }}-{{ checksum "package.json" }}
paths:
- node_modules
1 change: 1 addition & 0 deletions package.json
Expand Up @@ -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",
Expand Down

0 comments on commit e59eb09

Please sign in to comment.