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

Add a --fix flag to automatically fix lint errors #339

Open
tom-sherman opened this issue Mar 1, 2019 · 15 comments
Open

Add a --fix flag to automatically fix lint errors #339

tom-sherman opened this issue Mar 1, 2019 · 15 comments
Labels
feature request Functionality that introduces a new feature keep-unstale The issue will not be marked as stale by the stale-bot

Comments

@tom-sherman
Copy link

Is your feature request related to a problem? Please describe.
No way to automatically format a HTML file to obey the linting rules. This is especially problematic on large files.

Describe the solution you'd like
Support a --fix flag like other linters such as ESLint.

@Kristinita
Copy link

@tom-sherman , type:reply

No way to automatically format a HTML file to obey the linting rules

HTML Tidy -modify argument can fix HTML. Look at my .bat and .sh files for multiple files modifying example.

Thanks.

@xianshenglu
Copy link

@Kristinita Why not supporting --fix by using html tidy inside this package?

@stale

This comment was marked as outdated.

@stale stale bot added the bot:stale Issue marked as stale because there was no activity label May 14, 2020
@Kristinita
Copy link

The problem still exists.

Thanks.

@stale stale bot removed the bot:stale Issue marked as stale because there was no activity label May 14, 2020
@joseSignot
Copy link

Would be great!

@Shinigami92 Shinigami92 added the feature request Functionality that introduces a new feature label May 21, 2020
@stale

This comment was marked as duplicate.

@stale stale bot added the bot:stale Issue marked as stale because there was no activity label Jul 20, 2020
@Kristinita
Copy link

The problem still exists.

Thanks.

@stale stale bot removed the bot:stale Issue marked as stale because there was no activity label Jul 20, 2020
@tom-sherman
Copy link
Author

I'd just like to notify you all that eslint is currently discussing how to support languages other than JavaScript.

I believe that this would offer a much better platform for a more modern HTML/XML linter.

@joseSignot
Copy link

Thanks Tom lets get in there and push for this

@stale

This comment was marked as duplicate.

@stale stale bot added the bot:stale Issue marked as stale because there was no activity label Sep 18, 2020
@Kristinita
Copy link

The problem still exists.

Thanks.

@stale stale bot removed the bot:stale Issue marked as stale because there was no activity label Sep 19, 2020
@stale

This comment was marked as duplicate.

@stale stale bot added the bot:stale Issue marked as stale because there was no activity label Nov 18, 2020
@Kristinita
Copy link

The problem still exists.

Thanks.

@stale stale bot removed the bot:stale Issue marked as stale because there was no activity label Nov 18, 2020
@stale

This comment was marked as duplicate.

@stale stale bot added the bot:stale Issue marked as stale because there was no activity label Jan 17, 2021
@Kristinita
Copy link

The problem still exists.

Thanks.

@stale stale bot removed the bot:stale Issue marked as stale because there was no activity label Jan 17, 2021
@thedaviddias thedaviddias added the keep-unstale The issue will not be marked as stale by the stale-bot label Jan 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request Functionality that introduces a new feature keep-unstale The issue will not be marked as stale by the stale-bot
Projects
None yet
Development

No branches or pull requests

6 participants