Ignore objective-c header lint
This commit is contained in:
parent
b632cdd37d
commit
48515d9ecc
2 changed files with 4 additions and 4 deletions
|
@ -11,7 +11,6 @@
|
|||
#include "atom/browser/window_list.h"
|
||||
#include "atom/common/color_util.h"
|
||||
#include "atom/common/draggable_region.h"
|
||||
#include "atom/common/native_mate_converters/image_converter.h"
|
||||
#include "atom/common/options_switches.h"
|
||||
#include "base/mac/mac_util.h"
|
||||
#include "base/mac/scoped_cftyperef.h"
|
||||
|
@ -396,7 +395,7 @@ bool ScopedDisableResize::disable_resize_ = false;
|
|||
|
||||
// NSWindow overrides.
|
||||
|
||||
- (void)swipeWithEvent:(NSEvent*)event {
|
||||
- (void)swipeWithEvent:(NSEvent *)event {
|
||||
if (event.deltaY == 1.0) {
|
||||
shell_->NotifyWindowSwipe("up");
|
||||
} else if (event.deltaX == -1.0) {
|
||||
|
|
5
script/cpplint.py
vendored
5
script/cpplint.py
vendored
|
@ -9,10 +9,11 @@ from lib.util import execute
|
|||
IGNORE_FILES = [
|
||||
os.path.join('atom', 'browser', 'mac', 'atom_application.h'),
|
||||
os.path.join('atom', 'browser', 'mac', 'atom_application_delegate.h'),
|
||||
os.path.join('atom', 'browser', 'ui', 'cocoa',
|
||||
'touch_bar_forward_declarations.h'),
|
||||
os.path.join('atom', 'browser', 'resources', 'win', 'resource.h'),
|
||||
os.path.join('atom', 'browser', 'ui', 'cocoa', 'atom_menu_controller.h'),
|
||||
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', 'common', 'api', 'api_messages.h'),
|
||||
os.path.join('atom', 'common', 'common_message_generator.cc'),
|
||||
os.path.join('atom', 'common', 'common_message_generator.h'),
|
||||
|
|
Loading…
Reference in a new issue