Add --fix option for no-mixed-spaces-and-tabs
See original GitHub issueIt would be really useful to add a --fix
option for the no-mixed-spaces-and-tabs rule.
Issue Analytics
- State:
- Created 7 years ago
- Reactions:6
- Comments:6 (4 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
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"' {} \;
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.