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

New: no-tabs rule (fixes #6079) #6772

Merged
merged 1 commit into from
Jul 29, 2016
Merged

New: no-tabs rule (fixes #6079) #6772

merged 1 commit into from
Jul 29, 2016

Conversation

gyandeeps
Copy link
Member

@gyandeeps gyandeeps commented Jul 26, 2016

What issue does this pull request address?
New rule named no-tabs

What changes did you make? (Give an overview)
created a new rule.

Is there anything you'd like reviewers to focus on?
nothing specific

Need suggestions on:

  1. Error message
  2. Should we activate this rule for eslint project

@mention-bot
Copy link

@gyandeeps, thanks for your PR! By analyzing the annotation information on this pull request, we identified @nzakas, @alberto and @kaicataldo to be potential reviewers

@eslintbot
Copy link

LGTM

@gyandeeps gyandeeps added the do not merge This pull request should not be merged yet label Jul 26, 2016
@mysticatea
Copy link
Member

  1. "Unexpected tab character."?
  2. Adding to our .eslintrc sounds good to me.

@@ -0,0 +1,37 @@
# Disallow tabs in file (no-tabs)

Some people prefer whitespaces instead of tab characters in a file. So they would want to disallow tab anywhere inside a file including comments.
Copy link
Member

Choose a reason for hiding this comment

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

Tabs are also whitespace. Better to say that some style guides don't allow the use of tab characters anywhere.

@nzakas
Copy link
Member

nzakas commented Jul 27, 2016

I'm 👍 fit adding to our config. Dogfood all the things!

column: match.index + 1
},
"Line has tabs."
);
Copy link
Member

Choose a reason for hiding this comment

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

"Unexpected tab character."?

@eslintbot
Copy link

LGTM

@gyandeeps gyandeeps removed the do not merge This pull request should not be merged yet label Jul 27, 2016
@gyandeeps
Copy link
Member Author

All the changes have been made.

@eslintbot
Copy link

LGTM

@nzakas
Copy link
Member

nzakas commented Jul 29, 2016

Lgtm

@nzakas nzakas merged commit b22eb5c into master Jul 29, 2016
@gyandeeps gyandeeps deleted the issue6079 branch July 29, 2016 18:19
@eslint-deprecated eslint-deprecated bot locked and limited conversation to collaborators Feb 6, 2018
@eslint-deprecated eslint-deprecated bot added the archived due to age This issue has been archived; please open a new issue for any further discussion label Feb 6, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
archived due to age This issue has been archived; please open a new issue for any further discussion
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants