From 7ea02a9be232597323cde28f909de64b54bc8a8a Mon Sep 17 00:00:00 2001 From: Jacks-London Date: Mon, 20 Jun 2016 23:48:28 -0700 Subject: [PATCH] [eslint config] [base] [breaking] re-disable `import/extensions` rule ref https://github.com/benmosher/eslint-plugin-import/issues/390 --- packages/eslint-config-airbnb-base/rules/imports.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/eslint-config-airbnb-base/rules/imports.js b/packages/eslint-config-airbnb-base/rules/imports.js index 1d643b4..beb18b0 100644 --- a/packages/eslint-config-airbnb-base/rules/imports.js +++ b/packages/eslint-config-airbnb-base/rules/imports.js @@ -96,7 +96,8 @@ module.exports = { // Ensure consistent use of file extension within the import path // https://github.com/benmosher/eslint-plugin-import/blob/master/docs/rules/extensions.md - 'import/extensions': [2, 'never'], + // TODO: enable when https://github.com/benmosher/eslint-plugin-import/issues/390 is resolved + 'import/extensions': [0, 'never'], // Enforce a convention in module import order // https://github.com/benmosher/eslint-plugin-import/blob/master/docs/rules/order.md