Skip to content

Commit

Permalink
Ignore warning on empty <select>
Browse files Browse the repository at this point in the history
  • Loading branch information
codebeige committed Jan 2, 2015
1 parent 036ca81 commit 51fa174
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
9 changes: 5 additions & 4 deletions plugin/angular.vim
Original file line number Diff line number Diff line change
Expand Up @@ -16,17 +16,18 @@ if !exists('g:syntastic_html_tidy_ignore_errors')
let g:syntastic_html_tidy_ignore_errors = []
endif

let g:syntastic_html_tidy_ignore_errors = g:syntastic_html_tidy_ignore_errors + [
let g:syntastic_html_tidy_ignore_errors += [
\ ' proprietary attribute "ng-',
\ ' proprietary attribute "ui-',
\ '<div> proprietary attribute "src'
\ '<div> proprietary attribute "src',
\ 'trimming empty <select>'
\ ]

if !exists('g:syntastic_html_tidy_blocklevel_tags')
let g:syntastic_html_tidy_blocklevel_tags = []
endif

let g:syntastic_html_tidy_blocklevel_tags = g:syntastic_html_tidy_blocklevel_tags + [
let g:syntastic_html_tidy_blocklevel_tags += [
\ 'ng-include',
\ 'ng-form'
\ ]
Expand All @@ -35,7 +36,7 @@ if !exists('g:angular_find_ignore')
let g:angular_find_ignore = []
endif

let g:angular_find_ignore = g:angular_find_ignore + [
let g:angular_find_ignore += [
\ 'coverage/',
\ 'build/',
\ 'dist/',
Expand Down
3 changes: 2 additions & 1 deletion spec/runspec_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
value_of_variable.should include(
' proprietary attribute "ng-',
' proprietary attribute "ui-',
'<div> proprietary attribute "src'
'<div> proprietary attribute "src',
'trimming empty <select>'
)
end

Expand Down

0 comments on commit 51fa174

Please sign in to comment.