Skip to content
This repository was archived by the owner on Mar 7, 2019. It is now read-only.

Commit 612a8fb

Browse files
Properly configure linter for Node.js
1 parent 3005374 commit 612a8fb

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

.eslintrc.js

+9-1
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,13 @@ module.exports = {
66
'./environments/nodejs/best-practices.js',
77
'./environments/nodejs/optional.js',
88
'./coding-styles/base.js'
9-
]
9+
],
10+
11+
parserOptions: {
12+
ecmaVersion: 6
13+
},
14+
15+
env: {
16+
node: true
17+
}
1018
}

0 commit comments

Comments
 (0)