From 5f0a0faaa23fceb7166868ae5e4d33475db87562 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C3=ABl=20Zasso?= Date: Fri, 21 Oct 2016 09:40:18 +0200 Subject: [PATCH] tools: enable ES2016 syntax support in ESLint This allows us to use the exponentiation operator. PR-URL: https://github.com/nodejs/node/pull/9218 Ref: https://github.com/nodejs/node/pull/9208#issuecomment-255309920 Reviewed-By: Teddy Katz Reviewed-By: Colin Ihrig Reviewed-By: James M Snell Reviewed-By: Luigi Pinca Reviewed-By: Sakthipriyan Vairamani --- .eslintrc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.eslintrc b/.eslintrc index 262717980f3a48..fdfdaf0833045d 100644 --- a/.eslintrc +++ b/.eslintrc @@ -2,6 +2,9 @@ env: node: true es6: true +parserOptions: + ecmaVersion: 2016 + rules: # Possible Errors # http://eslint.org/docs/rules/#possible-errors