Skip to content

Latest commit

 

History

History
16 lines (9 loc) · 681 Bytes

typecheck-regexp.md

File metadata and controls

16 lines (9 loc) · 681 Bytes

typecheck-regexp - use angular.isRegexp instead of other comparisons

This rule is deprecated and will be removed in future versions. Explanation: angular.isRegexp is no built-in angular method.

You should use the angular.isRegexp method instead of the default JavaScript implementation (toString.call(/^A/) === "[object RegExp]").

Version

This rule was introduced in eslint-plugin-angular 0.1.0

Links