Skip to content
This repository was archived by the owner on May 1, 2025. It is now read-only.

eslint: Disable duplicate eslint rule for indentation#345

Merged
tzhelyazkova merged 2 commits into
masterfrom
disable_duplicate_no_indent
Jan 7, 2021
Merged

eslint: Disable duplicate eslint rule for indentation#345
tzhelyazkova merged 2 commits into
masterfrom
disable_duplicate_no_indent

Conversation

@tzhelyazkova
Copy link
Copy Markdown
Contributor

The eslint rules @typescript-eslint/indent and indent are the same.
This commit turns off @typescript-eslint/indent.

@tzhelyazkova tzhelyazkova requested a review from a team January 5, 2021 13:32
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Jan 5, 2021

Comment thread vue-components/.eslintrc.js Outdated
'@typescript-eslint/no-var-requires': 'off',

// duplicate with eslint's indent
'@typescript-eslint/indent': 'off',
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Wait, but shouldn't we turn off indent instead? At least that is how I understand typescript-eslint/indent.md. Or are we affected by the issue mentioned there?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I overlooked this, you're right.

@tzhelyazkova tzhelyazkova force-pushed the disable_duplicate_no_indent branch from 35c9073 to d3cb951 Compare January 7, 2021 14:32
Copy link
Copy Markdown
Collaborator

@micgro42 micgro42 left a comment

Choose a reason for hiding this comment

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

The visual change is probably just a missing rebase or something like that.

@tzhelyazkova tzhelyazkova merged commit 1b065e8 into master Jan 7, 2021
@tzhelyazkova tzhelyazkova deleted the disable_duplicate_no_indent branch January 7, 2021 15:59
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants