mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
New rule to prevent nested function declaration that causes an issue with strict mode
This commit is contained in:
@@ -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"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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"
|
||||
]
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user