Skip to content

Commit

Permalink
allow semicolon, use babel-eslint parser
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthias Damm committed Mar 8, 2020
1 parent ae67cf1 commit 0bf825d
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -5,7 +5,8 @@
},
"extends": "eslint:recommended",
"parserOptions": {
"sourceType": "module"
"ecmaVersion": 8,
"sourceType": "module"
},
"rules": {
"strict": ["error", "global"],
@@ -35,7 +36,6 @@
"space-before-function-paren": [2, "always"],
"space-before-blocks": [2, "always"],
"eqeqeq": 2,
"semi": [1, "never"],
"no-unused-vars": ["error", { "args": "none" }],
"space-in-parens": ["error", "never"]
}
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -39,7 +39,8 @@
"twilio": "^3.39.1"
},
"devDependencies": {
"eslint": "^5.15.3"
"babel-eslint": "^10.1.0",
"eslint": "^6.8.0"
},
"engines": {
"node": "10.x"

0 comments on commit 0bf825d

Please sign in to comment.