Fix cpplint warning

This commit is contained in:
Cheng Zhao 2017-11-28 15:36:45 +09:00
parent a4905b3c95
commit edede7f33f
2 changed files with 4 additions and 2 deletions

View file

@ -13,8 +13,8 @@
@interface NSColor(Hex)
+ (NSColor*) colorWithWebColorString:(NSString*)color;
+ (NSColor*) colorWithHexColorString:(NSString*)hex;
+ (NSColor*)colorWithWebColorString:(NSString*)color;
+ (NSColor*)colorWithHexColorString:(NSString*)hex;
@end

2
script/cpplint.py vendored
View file

@ -14,6 +14,8 @@ IGNORE_FILES = [
os.path.join('atom', 'browser', 'ui', 'cocoa', 'atom_touch_bar.h'),
os.path.join('atom', 'browser', 'ui', 'cocoa',
'touch_bar_forward_declarations.h'),
os.path.join('atom', 'browser', 'ui', 'cocoa', 'NSColor+Hex.h'),
os.path.join('atom', 'browser', 'ui', 'cocoa', 'NSString+ANSI.h'),
os.path.join('atom', 'common', 'api', 'api_messages.h'),
os.path.join('atom', 'common', 'common_message_generator.cc'),
os.path.join('atom', 'common', 'common_message_generator.h'),