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.
About the Contributor
This is a pull request that consists of changes from BBC (@Julusian ), modified and refactored by NRK.
Type of Contribution
This is a: Code improvement
New Behavior
This PR updates dependencies to the code-standard-preset library, updating the eslint and prettier to more modern versions.
As a consequence, this also affects a large part of the code base (with reformattings and other minor changes).
FOR CONTRIBUTORS
Here are instructions for how to apply this PR without getting thousands of merge conflicts:
chore: update code-preset and configs
onto your branch.chore: add reformatting script
onto your branch.node scripts/reformat.mjs
This will apply the new format rules on your code base and fix various common issues.
Commit this as
chore: apply reformatting
chore: apply various minor fixes after reformatting
onto your branch, and solve any merge conflicts.a.
yarn
b. 'yarn install-and-build'
c.
yarn lint
d.
yarn unit
e.
yarn start
f. (or run
yarn test-all
)Status