New rule to prevent nested function declaration that causes an issue with strict mode

This commit is contained in:
Justin Willis
2016-04-15 13:58:09 -05:00
parent dca6540098
commit fcfd9fe9d4
2 changed files with 7 additions and 1 deletions

View File

@@ -80,6 +80,7 @@
"systemjs": "0.19.6",
"through2": "^0.6.3",
"tslint": "^3.7.1",
"tslint-eslint-rules": "^1.2.0",
"typescript": "1.8.7",
"vinyl": "^0.4.6",
"webpack": "^1.12.2",
@@ -90,4 +91,4 @@
"path": "node_modules/ionic-cz-conventional-changelog"
}
}
}
}

View File

@@ -1,4 +1,5 @@
{
"rulesDirectory": "node_modules/tslint-eslint-rules/dist/rules",
"rules": {
"class-name": true,
"comment-format": [
@@ -52,6 +53,10 @@
"check-operator",
"check-separator",
"check-type"
],
"no-inner-declarations": [
true,
"functions"
]
}
}