Auto fix conflict (implicit-arrow-linebreak and max-len)
See original GitHub issueTell us about your environment
- ESLint Version: 5.3.0
- Node Version: 10.10.0
- npm Version: 6.4.1
What parser (default, Babel-ESLint, etc.) are you using? babel-eslint
Please show your full configuration:
Configuration
"eslintConfig": {
"parser": "babel-eslint",
"rules": {
"max-len": ["error", 100],
"implicit-arrow-linebreak": ["error", "beside"]
}
}
What did you do? Please include the actual source code causing the issue, as well as the command that you used to run ESLint.
const someIncrediblyRidiculousSuperLongFnName = (foo, bar) =>
someOtherIncrediblyRidiculousSuperLongFnName(foo, bar);
eslint --fix
What did you expect to happen?
const someIncrediblyRidiculousSuperLongFnName = (foo, bar) => (
someOtherIncrediblyRidiculousSuperLongFnName(foo, bar)
);
What actually happened? Please include the actual, raw output from ESLint.
// FIXME: Fixed implicit-arrow-linebreak, but broke max-len
const someIncrediblyRidiculousSuperLongFnName = (foo, bar) => someOtherIncrediblyRidiculousSuperLongFnName(foo, bar);
Are you willing to submit a pull request to fix this bug? Not in the near future, but would be willing to eventually.
Issue Analytics
- State:
- Created 5 years ago
- Comments:10 (8 by maintainers)
Top Results From Across the Web
How to Automatically Resolve Git Merge Conflicts in Favor ...
Read this tutorial and solve the problem of resolving git merge conflicts in favor of pulled changes. Get overall understanding of Git merge...
Read more >How to automatically resolve merge conflicts by selecting ...
Is there any way to specify to git to automatically resolve the conflicts for a pack of files by taking the remote version...
Read more >Git merge conflicts | Atlassian Git Tutorial
What is a git merge conflict? A merge conflict arises when Git cannot automatically resolve code differences between two commits. Learn more here....
Read more >How to Resolve Merge Conflicts in Git?
What is a Git Merge Conflict? A merge conflict is an event that takes place when Git is unable to automatically resolve differences...
Read more >How to Resolve Merge Conflicts in Git Tutorial
The `git merge` command's primary job is to combine two branches and automatically resolve the conflicts. However, from time to time conflicts surface...
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
Unfortunately, it looks like there wasn’t enough interest from the team or community to implement this change. 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 accepted status after 21 days tend to never be accepted, and as such, we close those issues. This doesn’t mean the idea isn’t interesting or useful, just that it’s not something the team can commit to.
Thanks for contributing to ESLint and we appreciate your understanding.
Was looking for this tonight. C’mon eslint bot, show us and them sweet arrow functions some love.