Skip to content

Commit

Permalink
feat: Make file extensions mandatory in imports
Browse files Browse the repository at this point in the history
Fixes #19

BREAKING CHANGE:
- "import/extensions": ["error", "ignorePackages"],
  • Loading branch information
jhnns committed Mar 31, 2018
1 parent 92031d2 commit 6ea3964
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions base.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,11 +79,7 @@ module.exports = {
"import/default": "error", // https://github.com/benmosher/eslint-plugin-import/blob/master/docs/rules/default.md
"import/export": "error", // https://github.com/benmosher/eslint-plugin-import/blob/master/docs/rules/export.md
"import/exports-last": "off", // https://github.com/benmosher/eslint-plugin-import/blob/HEAD/docs/rules/exports-last.md
"import/extensions": ["error", "always", {
"js": "never",
"json": "never",
"jsx": "never"
}], // https://github.com/benmosher/eslint-plugin-import/blob/master/docs/rules/extensions.md
"import/extensions": ["error", "ignorePackages"], // https://github.com/benmosher/eslint-plugin-import/blob/master/docs/rules/extensions.md
"import/first": ["error", "absolute-first"], // https://github.com/benmosher/eslint-plugin-import/blob/master/docs/rules/first.md
"import/group-exports": "off", // https://github.com/benmosher/eslint-plugin-import/blob/HEAD/docs/rules/group-exports.md
// Using more than 15 dependencies in one module is a sign that this module is doing too much.
Expand Down

0 comments on commit 6ea3964

Please sign in to comment.