Skip to content

Commit df3fe0a

Browse files
author
Lucas Rebscher
committed
#253 Enable eslint to parse ES2020 features
* Use of optional chaining var?. is not directly support by eslint yet * Add babel-eslint as parser
1 parent fb4faa8 commit df3fe0a

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

webapp/.eslintrc.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ module.exports = {
22
extends: [
33
'airbnb',
44
],
5+
parser: 'babel-eslint',
56
rules: {
67
// Turn off some rules so that we can improve the code step by step
78
'class-methods-use-this': 0,

0 commit comments

Comments
 (0)