[eslint config] [base] [deps] update eslint

This commit is contained in:
Jordan Harband
2017-01-08 14:55:09 -08:00
parent 097047202e
commit 7e865a4e8a
2 changed files with 12 additions and 2 deletions

View File

@@ -49,7 +49,7 @@
"babel-preset-airbnb": "^2.1.1",
"babel-tape-runner": "^2.0.1",
"editorconfig-tools": "^0.1.1",
"eslint": "^3.12.2",
"eslint": "^3.13.0",
"eslint-find-rules": "^1.14.3",
"eslint-plugin-import": "^2.2.0",
"in-publish": "^2.0.0",
@@ -57,7 +57,7 @@
"tape": "^4.6.3"
},
"peerDependencies": {
"eslint": "^3.12.2",
"eslint": "^3.13.0",
"eslint-plugin-import": "^2.2.0"
},
"engines": {

View File

@@ -108,6 +108,16 @@ module.exports = {
ignoreReadBeforeAssign: true,
}],
// Prefer destructuring from arrays and objects
// http://eslint.org/docs/rules/prefer-destructuring
// TODO: enable
'prefer-destructuring': ['off', {
array: true,
object: true,
}, {
enforceForRenamedProperties: false,
}],
// disallow parseInt() in favor of binary, octal, and hexadecimal literals
// http://eslint.org/docs/rules/prefer-numeric-literals
'prefer-numeric-literals': 'error',