Last Updated: February 25, 2016
·
1.503K
· nxqd

How to ignore angular directive lint error with Vim and syntastic

In your vimrc :

let g:syntastic_html_tidy_ignore_errors=[" proprietary attribute \"ng-"]

And you should be aware of writing directive later to use ng- prefix otherwise remember to add more here.

Have a fresh tip? Share with Coderwall community!

Post
Post a tip
Did you know?

AngularJS pages are long-lived browser apps with the same script risk as a newer single-page app. Third-party code in the template can read forms and values rendered on the page.

Security insights from Cside