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.

More documentation on conflicting fixes

See original GitHub issue

The developer documentation about rules (docs/developer-guide/working-with-rules.md) doesn’t contain enough information about rules. This is a followup to eslint/website#791.

The following questions should be answered:

  1. Q: When do fixes conflict? A: “Conflicting fixes are fixes that would be applied to the same part of a string. So if two fixes want to modify characters 0 through 5, only one will be applied.”
  2. Q: If fixes conflict which one will be applied? A: Fixes are not guaranteed to be applied. ESLint may choose to apply or not to apply any fix.
  3. Q: Can the (rule) developer affect which one of the conflicting fixes is applied? A: No.

Are you willing to submit a pull request to implement this change? No. I’m not good at writing technical documentation.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:2
  • Comments:9 (7 by maintainers)

github_iconTop GitHub Comments

2reactions
mdjermanoviccommented, Nov 2, 2020

Reopening, as it seems useful to clarify this in the docs.

1reaction
btmillscommented, Dec 29, 2021

The additional changes as currently described sound reasonable to me. Like others, I’d prefer to leave 2 as undefined behavior to avoid committing ourselves to a particular implementation.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Troubleshoot common coauthoring errors - Microsoft Support
How to fix it: To view the conflicting edits as tracked changes, select the Review Changes button in the error bar.
Read more >
The ultimate guide to fix & prevent WordPress plugin conflicts
Recognizing conflicts: What do conflict errors look like? Since plugin conflicts can happen due to a number of reasons, the errors they trigger...
Read more >
6 Resolving Patch Conflicts
Patch Conflict Detection and Resolution​​ OPatch detects and reports any conflicts encountered when applying an interim patch with a previously applied patch. ...
Read more >
Resolve conflicts | IntelliJ IDEA Documentation - JetBrains
If these changes do not overlap (that is, changes were made to different lines of code), the conflicting files are merged automatically.
Read more >
Document versioning and conflicts FAQ - IBM Cloud Docs
You don't know. Sometimes you request a document that has a conflict. At those times, IBM Cloudant returns the document normally, as though...
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