Skip to content

5.1.0 (2021-10-25)

Choose a tag to compare

@willdurand willdurand released this 25 Oct 07:23
· 273 commits to master since this release
ca9bbb2

Main changes

Split config into a base config and the (old) config, which includes base + airbnb (full) and React rules (#366). This change should be safe because the main configuration includes the base one.

For non-React projects, it is now possible to use amo/base instead of amo in the extends list:

diff --git a/.eslintrc b/.eslintrc
index dcabcd3..d8f02c1 100644
--- a/.eslintrc
+++ b/.eslintrc
@@ -1,3 +1,3 @@
 {
-	"extends": ["amo"]
+	"extends": ["amo/base"]
 }