@@ -690,6 +690,8 @@ const unicornRules = {
690690 // No need
691691 // "unicorn/consistent-function-scoping": "off",
692692
693+ "unicorn/consistent-template-literal-escape" : "error" ,
694+
693695 // No need
694696 // "unicorn/custom-error-definition": "off",
695697
@@ -706,7 +708,7 @@ const unicornRules = {
706708 // No need
707709 // "unicorn/explicit-length-check": "off",
708710
709- // TODO
711+ // TODO enable in future?
710712 "unicorn/filename-case" : [
711713 "off" ,
712714 {
@@ -834,7 +836,7 @@ const unicornRules = {
834836 // No need
835837 // "unicorn/no-this-assignment": "off",
836838
837- // TODO - enable in future?
839+ // TODO enable in future? Need to check performance
838840 // "unicorn/no-typeof-undefined": "off",
839841
840842 "unicorn/no-unnecessary-array-flat-depth" : "error" ,
@@ -862,6 +864,8 @@ const unicornRules = {
862864
863865 "unicorn/no-useless-fallback-in-spread" : "error" ,
864866
867+ "unicorn/no-useless-iterator-to-array" : "error" ,
868+
865869 "unicorn/no-useless-length-check" : "error" ,
866870
867871 "unicorn/no-useless-promise-resolve-reject" : "error" ,
@@ -993,6 +997,9 @@ const unicornRules = {
993997 // No need
994998 // "unicorn/prefer-set-size": "off",
995999
1000+ // TODO enable in the next major release
1001+ // "unicorn/prefer-simple-condition-first": "error",
1002+
9961003 // No need
9971004 // "unicorn/prefer-single-call": "off",
9981005
@@ -1045,6 +1052,10 @@ const unicornRules = {
10451052 // No need
10461053 // "unicorn/switch-case-braces": "off",
10471054
1055+ // TODO maybe?
1056+ // No need
1057+ // "unicorn/switch-case-break-position": "off",
1058+
10481059 // No need
10491060 // "unicorn/template-indent": "off",
10501061
0 commit comments