Ignore the ng_on_watch error from eslint
Based on the discussion at https://github.com/Gillespie59/eslint-plugin-angular/issues/114 it seems that the rule is only applicable when the watches are assigned on the $rootScope. This rule is also not a part of the JP style guide. Change-Id: Ic8c218c7d46229a4a2e7d9dcd951433aedd9d1ca Partially-Implements: blueprint jscs-cleanup
This commit is contained in:
parent
a385be24f5
commit
9b21076650
|
@ -805,6 +805,10 @@ rules:
|
||||||
# http://eslint.org/docs/rules/no-plusplus
|
# http://eslint.org/docs/rules/no-plusplus
|
||||||
no-plusplus: 0
|
no-plusplus: 0
|
||||||
|
|
||||||
|
# Disable check for the watch on scope
|
||||||
|
# This rule is not part of John Papa's ruleset
|
||||||
|
# https://github.com/Gillespie59/eslint-plugin-angular/issues/114
|
||||||
|
angular/ng_on_watch: 0
|
||||||
|
|
||||||
# We only support ECMA5, disable everything else.
|
# We only support ECMA5, disable everything else.
|
||||||
ecmaFeatures:
|
ecmaFeatures:
|
||||||
|
|
Loading…
Reference in New Issue