Browse Source

tools: enable ES2017 syntax support in ESLint

This allows us to use async functions.

PR-URL: https://github.com/nodejs/node/pull/11210
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Evan Lucas <evanlucas@me.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Timothy Gu <timothygu99@gmail.com>
v6
Michaël Zasso 8 years ago
committed by James M Snell
parent
commit
615789b723
  1. 2
      .eslintrc.yaml

2
.eslintrc.yaml

@ -3,7 +3,7 @@ env:
es6: true
parserOptions:
ecmaVersion: 2016
ecmaVersion: 2017
rules:
# Possible Errors

Loading…
Cancel
Save