More documentation on conflicting fixes
See original GitHub issueThe 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:
- 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.”
- 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.
- 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:
- Created 3 years ago
- Reactions:2
- Comments:9 (7 by maintainers)
Top 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 >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
Reopening, as it seems useful to clarify this in the docs.
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.