[eslint config] [*] [deps] update eslint-plugin-import

This commit is contained in:
Jordan Harband
2017-10-20 15:48:09 -07:00
parent 3c6d40ccca
commit 94c47734e8
3 changed files with 9 additions and 4 deletions

View File

@@ -53,14 +53,14 @@
"editorconfig-tools": "^0.1.1",
"eslint": "^4.9.0",
"eslint-find-rules": "^3.1.1",
"eslint-plugin-import": "^2.7.0",
"eslint-plugin-import": "^2.8.0",
"in-publish": "^2.0.0",
"safe-publish-latest": "^1.1.1",
"tape": "^4.8.0"
},
"peerDependencies": {
"eslint": "^4.9.0",
"eslint-plugin-import": "^2.7.0"
"eslint-plugin-import": "^2.8.0"
},
"engines": {
"node": ">= 4"

View File

@@ -204,5 +204,10 @@ module.exports = {
allowLiteral: false,
allowObject: false,
}],
// This rule enforces that all exports are declared at the bottom of the file.
// https://github.com/benmosher/eslint-plugin-import/blob/98acd6afd04dcb6920b81330114e146dc8532ea4/docs/rules/exports-last.md
// TODO: enable?
'import/exports-last': 'off',
},
};

View File

@@ -56,7 +56,7 @@
"editorconfig-tools": "^0.1.1",
"eslint": "^4.9.0",
"eslint-find-rules": "^3.1.1",
"eslint-plugin-import": "^2.7.0",
"eslint-plugin-import": "^2.8.0",
"eslint-plugin-jsx-a11y": "^6.0.2",
"eslint-plugin-react": "^7.4.0",
"in-publish": "^2.0.0",
@@ -66,7 +66,7 @@
},
"peerDependencies": {
"eslint": "^4.9.0",
"eslint-plugin-import": "^2.7.0",
"eslint-plugin-import": "^2.8.0",
"eslint-plugin-jsx-a11y": "^6.0.2",
"eslint-plugin-react": "^7.4.0"
},