diff --git a/README.md b/README.md index 71f64533..d86b4c4e 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,7 @@ autoformatting your code. | Rules | Total | Enabled | | --------------------------------------------------------------------------------------------------------- | ----: | ------: | -| [ESLint](https://eslint.org/docs/rules/) | 258 | **179** | +| [ESLint](https://eslint.org/docs/rules/) | 260 | **181** | | [eslint-plugin-prettier](https://github.com/prettier/eslint-plugin-prettier) | 82 | **82** | | [eslint-plugin-unicorn](https://github.com/sindresorhus/eslint-plugin-unicorn) | 53 | **42** | | [eslint-plugin-import](https://github.com/benmosher/eslint-plugin-import) | 40 | **32** | @@ -30,12 +30,12 @@ autoformatting your code. | [eslint-plugin-optimize-regex](https://github.com/BrainMaestro/eslint-plugin-optimize-regex) | 1 | **1** | | [eslint-plugin-ext](https://github.com/jiangfengming/eslint-plugin-ext) | 1 | **1** | | [eslint-plugin-json](https://github.com/azeemba/eslint-plugin-json)¹ | 1 | **1** | -| **Total: `hardcore`** | 506 | **399** | +| **Total: `hardcore`** | 508 | **401** | | [eslint-plugin-fp](https://github.com/jfmengels/eslint-plugin-fp) | 17 | **14** | | [eslint-plugin-ramda](https://github.com/ramda/eslint-plugin-ramda) | 26 | **24** | -| **Total: `hardcore` + `hardcore/fp`** | 549 | **438** | +| **Total: `hardcore` + `hardcore/fp`** | 551 | **440** | | [eslint-plugin-node](https://github.com/mysticatea/eslint-plugin-node) | 37 | **35** | -| **Total: `hardcore` + `hardcore/fp` + `hardcore/node`** | 586 | **473** | +| **Total: `hardcore` + `hardcore/fp` + `hardcore/node`** | 588 | **475** | ¹ eslint-plugin-json actually includes 19 rules, but I consider them as one "no-invalid-json" rule. diff --git a/base.json b/base.json index 10996822..5ecd86db 100644 --- a/base.json +++ b/base.json @@ -193,6 +193,8 @@ "default-case-last": "error", "no-useless-backreference": "error", "no-loss-of-precision": "error", + "no-promise-executor-return": "error", + "no-unreachable-loop": "error", "no-magic-numbers": ["error", { "ignore": [0, 1], "enforceConst": true }], "complexity": ["error", { "max": 10 }],