From 56266902986f1747034c5bb13d50d6fa7ace823e Mon Sep 17 00:00:00 2001 From: Philip Walton Date: Fri, 7 Jul 2017 23:08:24 -0700 Subject: [PATCH] Fix test failures --- index.js | 2 +- test/test.js | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/index.js b/index.js index c853f73..6995bbd 100644 --- a/index.js +++ b/index.js @@ -311,7 +311,7 @@ module.exports = { // 'no-duplicate-imports': 0, 'no-new-symbol': 2, // eslint:recommended // 'no-restricted-imports': 0, - 'no-this-before-super': 2, // eslint:recommended + 'no-this-before-super': 2, // eslint:recommended // 'no-useless-computed-key': 0, // 'no-useless-constructor': 0, // 'no-useless-rename': 0, diff --git a/test/test.js b/test/test.js index ef8b99e..e9a043e 100644 --- a/test/test.js +++ b/test/test.js @@ -28,8 +28,9 @@ const repoFiles = [ // Use the rules defined in this repo to test against. const eslintOpts = { - envs: ['node', 'es6'], useEslintrc: false, + envs: ['node', 'es6'], + parserOptions: {ecmaVersion: 2017}, rules: conf.rules, };