0.0.9 • Published 9 years ago

gulp-ng-template-validate v0.0.9

Weekly downloads
6
License
Apache 2.0
Repository
github
Last release
9 years ago

gulp-ng-template-validate

Gulp plugin for validating AngularJS templates for best practices and common issues.

Rules

prefer-ng-href

This rule specifies that Angular expressions should not be used within href attributes and ng-href should be used instead. For more information on this see the documentation for ngHref: https://docs.angularjs.org/api/ng/directive/ngHref.

prefer-ng-src

This rule specifies that Angular expressions should not be used within src attributes and ng-src should be used instead. For more information on this see the documentation for ngSrc: https://docs.angularjs.org/api/ng/directive/ngSrc.

prefer-ng-style

This rule specifies that Angular expressions should not be used within style attributes and ng-stlye should be used instead. For more information on this see the documentation for ngSrc: https://docs.angularjs.org/api/ng/directive/ngStyle.

ng-model-dot

This rule specifies that ng-model attributes should always have a . as a part of the value. For more information, see this video: http://www.youtube.com/watch?v=ZhfUv0spHCY&feature=youtu.be&t=32m51s and the documentation on how inheritance works with Angular scopes: https://github.com/angular/angular.js/wiki/Understanding-Scopes.

0.0.9

9 years ago

0.0.7

9 years ago

0.0.6

9 years ago

0.0.5

9 years ago

0.0.4

9 years ago

0.0.3

9 years ago

0.0.2

9 years ago

0.0.1

9 years ago