Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use recommended eslint-plugin-import rule sets #184

Merged
merged 3 commits into from
May 31, 2021

Conversation

rekmarks
Copy link
Member

@rekmarks rekmarks commented May 31, 2021

Extends the recommended eslint-plugin-import rule sets per their readme (scroll up for recommended JavaScript config).

Additionally, disables the core ESLint rule no-duplicate-imports, since it appears to be a subset of import/no-duplicates .

@rekmarks rekmarks requested a review from a team as a code owner May 31, 2021 02:59
@rekmarks rekmarks marked this pull request as draft May 31, 2021 03:01
@@ -66,6 +66,7 @@
"constructor-super": "off",
"default-param-last": "off",
"getter-return": "off",
"import/named": "off",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👀 This doesn't seem right

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

extends: [
'eslint:recommended',
'plugin:prettier/recommended',
'plugin:import/recommended',
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This adds the import plugin.

@rekmarks rekmarks marked this pull request as ready for review May 31, 2021 15:32
Copy link
Member

@Gudahtt Gudahtt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@rekmarks rekmarks merged commit 0656572 into main May 31, 2021
@rekmarks rekmarks deleted the fix-duplicate-import-rules branch May 31, 2021 15:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants