From 6e5585ca7e2aee441f086e81fef3d17725da3943 Mon Sep 17 00:00:00 2001 From: splincode Date: Sun, 19 Nov 2023 19:12:18 +0300 Subject: [PATCH] feat(eslint-plugin-experience): add `prefer-default-last` --- projects/eslint-plugin-experience/all.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/projects/eslint-plugin-experience/all.js b/projects/eslint-plugin-experience/all.js index 0628cb95..84b4b236 100644 --- a/projects/eslint-plugin-experience/all.js +++ b/projects/eslint-plugin-experience/all.js @@ -624,6 +624,7 @@ module.exports = { 'rxjs/no-connectable': 'error', 'rxjs/no-cyclic-action': 'error', 'rxjs/no-ignored-observable': 'error', + 'rxjs/no-ignored-takewhile-value': 'error', 'rxjs/no-topromise': 'error', 'rxjs/no-unsafe-catch': 'error', 'rxjs/no-unsafe-first': 'error', @@ -632,6 +633,7 @@ module.exports = { 'simple-import-sort/exports': 'error', 'simple-import-sort/imports': 'error', 'sonar/for-in': 'error', + 'sonar/prefer-default-last': 'error', 'sonarjs/no-identical-functions': 'error', 'sonarjs/no-inverted-boolean-check': 'error', 'spaced-comment': [ @@ -907,10 +909,8 @@ module.exports = { 'promise/no-nesting': 'off', quotes: 'off', 'require-await': 'off', - 'rxjs/no-ignored-takewhile-value': 'off', 'sonar/function-name': 'off', 'sonar/max-union-size': 'off', - 'sonar/prefer-default-last': 'off', 'sonarjs/cognitive-complexity': 'off', 'sonarjs/max-switch-cases': 'off', 'sonarjs/no-duplicate-string': 'off',