mirror of
https://github.com/airbnb/javascript.git
synced 2026-04-25 03:00:19 -04:00
[tests] re-enable eslint rule prefer-destructuring internally
This commit is contained in:
@@ -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,
|
||||
},
|
||||
}
|
||||
|
||||
@@ -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('.');
|
||||
|
||||
|
||||
@@ -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,
|
||||
},
|
||||
}
|
||||
|
||||
@@ -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('.');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user