question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add --fix option for no-mixed-spaces-and-tabs

See original GitHub issue

It would be really useful to add a --fix option for the no-mixed-spaces-and-tabs rule.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:6
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

5reactions
ratbeardcommented, Feb 22, 2017

This one worked for me on osx

find src -name '*.js' ! -type d -exec bash -c 'expand -t 4 "$0" > /tmp/e && mv /tmp/e "$0"' {} \;

2reactions
nzakascommented, Sep 1, 2016

Unfortunately, it looks like consensus couldn’t be reached on this issue and so I’m closing it. While we wish we’d be able to accommodate everyone’s requests, we do need to prioritize. We’ve found that issues failing to reach consensus after 21 days tend never to reach consensus, and as such, we close those issues. This doesn’t mean the idea isn’t interesting, just that it’s not something the team can commit to.

Read more comments on GitHub >

github_iconTop Results From Across the Web

no-mixed-spaces-and-tabs - Pluggable JavaScript Linter
A pluggable and configurable linter tool for identifying and reporting on patterns in JavaScript. Maintain your code quality with ease.
Read more >
How to supress error: Mixed spaces and tabs? - Stack Overflow
Go to view option then go to indentation and you will find indent using space .
Read more >
no-mixed-spaces-and-tabs - Rules - ESLint - GitHub Pages
This rule disallows mixed spaces and tabs for indentation. Examples of incorrect code for this rule: /*eslint no-mixed-spaces-and-tabs: "error"*/ ...
Read more >
No-mixed-spaces-and-tabs - ESLint - W3cubDocs
This rule disallows mixed spaces and tabs for indentation. Examples of incorrect code for this rule: /*eslint no-mixed-spaces-and-tabs: "error"*/ ...
Read more >
462980 – [eslint] Provide rule for mixed tabs and spaces - Bugs
I would add the no-mixed-spaces-and-tabs option in the Settings>Javascript validation page under the code style section.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found