Open
Conversation
Pull Request Test Coverage Report for Build 8290966844Details
💛 - Coveralls |
added 3 commits
March 14, 2024 22:51
Collaborator
|
included in CI pipeline (shown in failing lint checks - Run standard) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
xo is a configurable ESLint wrapper. That means its a linter and style enforcer. It includes plugins for ESLint like unicorn, import, ava, n and more. It also caches results to improve performance, which is important for a large codebase like Nodebb. No configurations are needed to begin using it.
xo run partial output:
xo-output.txt
Screenshot of xo run:

xo takes a lot longer than ESLint due to the fact that it does what ESLint does plus more. However, due to xo being highly customizable, run time can be reduced simply by excluding unnecessary/unhelpful rules (like 8 indents instead of 4). This also means we can also add plugins we think are helpful without much effort, as well as custom rules. The auto fixer is also extremely useful, reducing 127414 to 17779 (86% improvement).
xo can simply replace ESLint since everything done by ESLint is done by xo.