Add undef-init rule (with yo eslint:rule) and tests for it

This commit is contained in:
2018-08-20 10:16:03 +05:30
parent fe3ce48ec1
commit fedb5219d2
4 changed files with 203 additions and 0 deletions
+3
View File
@@ -0,0 +1,3 @@
module.exports = {
'undef-init': "Always initialize variables during declaration. Set it explicitly to undefined, if required.",
}