After this upgrade you can face an issues with your Code Editor and Prettier. The reason is that Prettier dropped support for Node@10.
If you have Prettier installed globally, your Code Editor plugin might use that global installation which relies on default system Node version (at least it is true for Sublime Text). If you use nvm
it can cause confusion as node -v
in the command line will show you one version (let's say Node@12) but Code Editor Prettier plugin will complain that Prettier require Node > v10.x (if your default system Node version still older).
-
[deps] update:
[email protected]
,[email protected]
,[email protected]
,[email protected]
,[email protected]
,[email protected]
-
[deps] update instructions and support:
[email protected]
,[email protected]
,[email protected]
,[email protected]
-
[config] eslint - ecmaVersion: 2021
-
[config] eslint - enable react hooks
-
[config] prettier - define
"arrowParens": "avoid"
as default value changed -
[config] prettier - new config
"embeddedLanguageFormatting": "auto"
-
[new rule] default-case-last
-
[new rule] no-loss-of-precision
-
[new rule] no-promise-executor-return
-
[new rule] no-unreachable-loop
-
[new rule] no-unsafe-optional-chaining
-
[new rule] import/no-relative-packages
-
[new rule] import/no-import-module-exports
-
[new rule] react/sort-prop-types
-
[new rule] react/jsx-sort-props
-
[new rule] react/no-unstable-nested-components
-
[new rule] react/jsx-no-constructed-context-values
-
[new rule] react/function-component-definition
-
[new option] react/jsx-no-target-blank: { forms: true, warnOnSpreadAttributes: true }
-
[new option] react/jsx-filename-extension: { allow: 'as-needed' }
-
[configuration] react/sort-comp sorting extended with new pattern '/^handle.+$/'
-
[chore] initiate CHANGELOG