mirror of
https://github.com/airbnb/javascript.git
synced 2026-01-13 22:08:08 -05:00
[eslint config] [*] [deps] update eslint-plugin-import
This commit is contained in:
@@ -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"
|
||||
|
||||
@@ -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',
|
||||
},
|
||||
};
|
||||
|
||||
@@ -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"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user