Skip to content

Commit fe6a649

Browse files
authored
Remove redundant no-label-var rule
no-labels bans all labels, so it's not necessary to enable no-label-var (which lints how labels are used). Additionally, our settings for no-labels are equivalent to the defaults.
1 parent f7d50e0 commit fe6a649

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

eslintrc.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,8 +97,7 @@
9797
"no-invalid-regexp": "error",
9898
"no-irregular-whitespace": "error",
9999
"no-iterator": "error",
100-
"no-label-var": "error",
101-
"no-labels": ["error", { "allowLoop": false, "allowSwitch": false }],
100+
"no-labels": "error",
102101
"no-lone-blocks": "error",
103102
"no-mixed-operators": ["error", {
104103
"groups": [

0 commit comments

Comments
 (0)