Skip to content

Commit

Permalink
feat(import): disable import/prefer-default-export (#935)
Browse files Browse the repository at this point in the history
This rule is for a code style, which can change depending on the context.

https://github.com/benmosher/eslint-plugin-import/blob/v2.23.2/docs/rules/prefer-default-export.md
  • Loading branch information
ybiquitous authored May 19, 2021
1 parent ac3f10a commit 3c3c857
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rules/plugins/import.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ module.exports = {
"import/no-useless-path-segments": "error",
"import/no-webpack-loader-syntax": "error",
"import/order": ["error", { alphabetize: { order: "asc" } }],
"import/prefer-default-export": "error",
"import/prefer-default-export": "off",
"import/unambiguous": "off",
},

Expand Down

0 comments on commit 3c3c857

Please sign in to comment.