Skip to content

Commit 2e39843

Browse files
committed
Relax rule: Do not enforce camelcase style for global variables (camelcase)
Fixes: standard/standard#1474
1 parent fbc0891 commit 2e39843

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

eslintrc.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,9 @@
3535
"block-spacing": ["error", "always"],
3636
"brace-style": ["error", "1tbs", { "allowSingleLine": true }],
3737
"camelcase": ["error", {
38+
"allow": ["^UNSAFE_"],
3839
"properties": "never",
39-
"allow": ["^UNSAFE_"]
40+
"ignoreGlobals": true
4041
}],
4142
"comma-dangle": ["error", {
4243
"arrays": "never",

0 commit comments

Comments
 (0)