Skip to content

Commit a2fab21

Browse files
author
Arkadiy Tetelman
committed
Sync filters.js with the cpplint filters
1 parent cdda438 commit a2fab21

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

lib/filters.js

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ var extend = require('./extend.js');
99
var defaults = {
1010
'build': {
1111
'class': true,
12+
'c++11': true,
1213
'deprecated': true,
1314
'endif_comment': true,
1415
'explicit_make_pair': true,
@@ -27,6 +28,7 @@ var defaults = {
2728
'copyright': true
2829
},
2930
'readability': {
31+
'alt_tokens': true,
3032
'braces': true,
3133
'casting': true,
3234
'check': true,
@@ -36,6 +38,7 @@ var defaults = {
3638
'multiline_comment': true,
3739
'multiline_string': true,
3840
'nolint': true,
41+
'nul': true,
3942
'streams': true,
4043
'todo': true,
4144
'utf8': true
@@ -53,21 +56,20 @@ var defaults = {
5356
'printf': true,
5457
'printf_format': true,
5558
'references': true,
56-
'rtti': true,
57-
'sizeof': true,
5859
'string': true,
5960
'threadsafe_fn': true,
60-
'virtual': true
61+
'vlog': true
6162
},
6263
'whitespace': {
6364
'blank_line': true,
6465
'braces': true,
6566
'comma': true,
6667
'comments': true,
68+
'empty_conditional_body': true,
69+
'empty_loop_body': true,
6770
'end_of_line': true,
6871
'ending_newline': true,
6972
'indent': true,
70-
'labels': true,
7173
'line_length': true,
7274
'newline': true,
7375
'operators': true,
@@ -113,7 +115,6 @@ function parse(str) {
113115
return result;
114116
}
115117

116-
117118
module.exports = {
118119
'defaults': defaults,
119120
'parse': parse

0 commit comments

Comments
 (0)