Skip to content

Make images smaller using best-in-class codecs, right in the browser.

JavaScript

Allow leading underscores on variable names

Surma56faf619d091
diff --git a/tslint.json b/tslint.json
index 241ce155..fc460d4f 100644
--- a/tslint.json
+++ b/tslint.json
@@ -8,7 +8,8 @@
"jsx-no-multiline-js": false,
"jsx-no-bind": true,
"jsx-no-lambda": true,
- "function-name": false
+ "function-name": false,
+ "variable-name": [true, "check-format", "allow-leading-underscore"]
},
"cliOptions": {
"exclude": [