Allow __ function for no-underscore-dangle eslint rule
This commit is contained in:
parent
d0bb0d6e47
commit
a7a504b018
|
@ -30,6 +30,7 @@
|
||||||
"filenames/match-regex": [2, "^[a-z0-9_]+$"],
|
"filenames/match-regex": [2, "^[a-z0-9_]+$"],
|
||||||
"import/no-commonjs": "error",
|
"import/no-commonjs": "error",
|
||||||
"no-multiple-empty-lines": ["error", { "max": 1 }],
|
"no-multiple-empty-lines": ["error", { "max": 1 }],
|
||||||
"promise/catch-or-return": "error"
|
"promise/catch-or-return": "error",
|
||||||
|
"no-underscore-dangle": ["error", { "allow": ["__"]}],
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue