[tests] re-enable eslint rule prefer-destructuring internally

This commit is contained in:
Pirasis
2019-10-05 08:01:44 +07:00
committed by Jordan Harband
parent 5a32c33bf2
commit 8f78e1f44b
4 changed files with 2 additions and 6 deletions

View File

@@ -4,7 +4,5 @@
// disable requiring trailing commas because it might be nice to revert to
// being JSON at some point, and I don't want to make big changes now.
"comma-dangle": 0,
// we support node 4
"prefer-destructuring": 0,
},
}

View File

@@ -1,6 +1,6 @@
const assign = require('object.assign');
const entries = require('object.entries');
const CLIEngine = require('eslint').CLIEngine;
const { CLIEngine } = require('eslint');
const baseConfig = require('.');

View File

@@ -4,7 +4,5 @@
// disable requiring trailing commas because it might be nice to revert to
// being JSON at some point, and I don't want to make big changes now.
"comma-dangle": 0,
// we support node 4
"prefer-destructuring": 0,
},
}

View File

@@ -1,6 +1,6 @@
const assign = require('object.assign');
const entries = require('object.entries');
const CLIEngine = require('eslint').CLIEngine;
const { CLIEngine } = require('eslint');
const baseConfig = require('.');