Skip to content

Commit

Permalink
Update .eslintrc.json
Browse files Browse the repository at this point in the history
  • Loading branch information
jauhari-i authored Jan 2, 2021
1 parent 5952b7e commit 1fb7fdd
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
"extends": ["eslint:recommended", "plugin:prettier/recommended"],
"env": {
"node": true,
"commonjs": true
"commonjs": true,
"es6": true
},
"rules": {
"no-unused-vars": "warn",
Expand All @@ -12,10 +13,11 @@
},
"parser": "babel-eslint",
"parserOptions": {
"ecmaVersion": 6,
"ecmaVersion": 9,
"sourceType": "module",
"ecmaFeatures": {
"jsx": true,
"modules": true
}
}
}
}

0 comments on commit 1fb7fdd

Please sign in to comment.