Skip to content

Commit

Permalink
[tests] re-enable eslint rule prefer-destructuring internally
Browse files Browse the repository at this point in the history
  • Loading branch information
1pete authored and ljharb committed Oct 5, 2019
1 parent 5a32c33 commit 8f78e1f
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 6 deletions.
2 changes: 0 additions & 2 deletions packages/eslint-config-airbnb-base/.eslintrc
Expand Up @@ -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,
},
}
2 changes: 1 addition & 1 deletion packages/eslint-config-airbnb-base/whitespace.js
@@ -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('.');

Expand Down
2 changes: 0 additions & 2 deletions packages/eslint-config-airbnb/.eslintrc
Expand Up @@ -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,
},
}
2 changes: 1 addition & 1 deletion packages/eslint-config-airbnb/whitespace.js
@@ -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('.');

Expand Down

0 comments on commit 8f78e1f

Please sign in to comment.