Skip to content

Commit 5dabc67

Browse files
authored
Update JS dependencies and add new eslint rules (#30279)
- Run `make update-js` - Added new eslint rules - Tested webpack build and swagger ui
1 parent 9550404 commit 5dabc67

File tree

3 files changed

+396
-266
lines changed

3 files changed

+396
-266
lines changed

.eslintrc.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -537,7 +537,7 @@ rules:
537537
no-underscore-dangle: [0]
538538
no-unexpected-multiline: [2]
539539
no-unmodified-loop-condition: [2]
540-
no-unneeded-ternary: [0]
540+
no-unneeded-ternary: [2]
541541
no-unreachable-loop: [2]
542542
no-unreachable: [2]
543543
no-unsafe-finally: [2]
@@ -716,12 +716,14 @@ rules:
716716
unicorn/import-style: [0]
717717
unicorn/new-for-builtins: [2]
718718
unicorn/no-abusive-eslint-disable: [0]
719+
unicorn/no-anonymous-default-export: [0]
719720
unicorn/no-array-callback-reference: [0]
720721
unicorn/no-array-for-each: [2]
721722
unicorn/no-array-method-this-argument: [2]
722723
unicorn/no-array-push-push: [2]
723724
unicorn/no-array-reduce: [2]
724725
unicorn/no-await-expression-member: [0]
726+
unicorn/no-await-in-promise-methods: [2]
725727
unicorn/no-console-spaces: [0]
726728
unicorn/no-document-cookie: [2]
727729
unicorn/no-empty-file: [2]
@@ -738,6 +740,7 @@ rules:
738740
unicorn/no-null: [0]
739741
unicorn/no-object-as-default-parameter: [0]
740742
unicorn/no-process-exit: [0]
743+
unicorn/no-single-promise-in-promise-methods: [2]
741744
unicorn/no-static-only-class: [2]
742745
unicorn/no-thenable: [2]
743746
unicorn/no-this-assignment: [2]

0 commit comments

Comments
 (0)