We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a7a7cab commit dbaab91Copy full SHA for dbaab91
packages/eslint-config-airbnb-base/package.json
@@ -53,7 +53,7 @@
53
"editorconfig-tools": "^0.1.1",
54
"eslint": "^4.18.0",
55
"eslint-find-rules": "^3.2.0",
56
- "eslint-plugin-import": "^2.8.0",
+ "eslint-plugin-import": "^2.9.0",
57
"in-publish": "^2.0.0",
58
"safe-publish-latest": "^1.1.1",
59
"tape": "^4.9.0"
packages/eslint-config-airbnb-base/rules/imports.js
@@ -211,5 +211,7 @@ module.exports = {
211
// https://github.com/benmosher/eslint-plugin-import/blob/98acd6afd04dcb6920b81330114e146dc8532ea4/docs/rules/exports-last.md
212
// TODO: enable?
213
'import/exports-last': 'off',
214
+
215
+ 'import/no-useless-path-segments': 'error'
216
},
217
};
0 commit comments