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.

feature request: --fix-hard option

See original GitHub issue

The version of ESLint you are using.

4.19.1

The problem you want to solve. It would be good to have two separate options:

  • --fix - which I can use when saving a file in my IDE
  • --fix-hard - which I can use before commit (this could fix e.g. no-unused-vars)

Your take on the correct solution to problem.

Are you willing to submit a pull request to implement this change?

Yes

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:9 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
coderaisercommented, Feb 7, 2019

@piotr-s-brainhub , you can use putout to fix rules that can’t be fixed by eslint. For example it can:

  • remove unused variables
  • remove console calls
  • remove debugger statements

All rules are configurable and can be turned on or off.

0reactions
piotr-s-brainhubcommented, Jan 31, 2019

@platinumazure

thanks for explanation

Read more comments on GitHub >

github_iconTop Results From Across the Web

7 Useful Tips to Manage Feature Requests - Craft.io
Feature requests can provide product managers with great ideas for product improvement, but they must be managed correctly. Here are our top tips....
Read more >
How to say no to product feature requests - Canny Blog
Figuring out how to say “no” to a customer is never easy. It's especially hard to say no to product feature requests. Many...
Read more >
Feature request tracking: 3 strategies to do it better
Option 1: Track feature requests manually · Try setting aside a time slot every day to deal with feature requests. · If the...
Read more >
5 Best Practices For Managing Feature Requests - FeedBear
Handling feature requests is a delicate matter - read the best practices to respond to and manage requests effectively.
Read more >
Feature request response email templates - LiveAgent
Be helpful by offering a workaround, if possible (a different feature that serves a similar function), or an alternative solution (e.g. an integration...
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