From 9028379f872b175b085e78ac67e5a4c81f50c4d5 Mon Sep 17 00:00:00 2001 From: Jordan Harband 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 1d643b4d60..beb18b0c4d 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