4.0.0 (2020-12-11)
This new major release adds support for Prettier out of the box!
Prettier
We're using prettier in most projects that require this config so here is how to upgrade. The .eslintrc config should look like this:
"extends": [
"amo",
"prettier"
]Now amo loads the prettier plugin/config automatically so the config could be updated to something like this:
"extends": [
"amo"
]There is no need to require the prettier plugin either. In most cases, the .eslintrc file shouldn't contain any plugins.
Jest
Similar to prettier, although the jest config was already a dependency of this config, we don't need the plugin:jest/recommended entry in extends anymore.
Before:
"extends": [
"amo",
"plugin:jest/recommended"
]After:
"extends": [
"amo"
]There is no need to require the jest plugin either. In most cases, the .eslintrc file shouldn't contain any plugins.
TL;DR
Most projects should only have to extend amo (and prettier/@typescript-eslint for TS-based projects) in their .eslintrc files. There is no need to configure jest and/or prettier "plugins" anymore either.