mirror of
https://github.com/nodejs/node.git
synced 2024-11-21 10:59:27 +00:00
tools: move cpplint configuration to .cpplint
PR-URL: https://github.com/nodejs/node/pull/27098 Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
This commit is contained in:
parent
cd2987f83f
commit
0a25ace9c3
3
.cpplint
Normal file
3
.cpplint
Normal file
@ -0,0 +1,3 @@
|
||||
set noparent
|
||||
filter=-build/include_alpha,-build/include_subdir,-build/include_what_you_use,-legal/copyright,-readability/nolint
|
||||
linelength=80
|
1
.gitignore
vendored
1
.gitignore
vendored
@ -17,6 +17,7 @@
|
||||
!.nycrc
|
||||
!.travis.yml
|
||||
!.eslintrc.yaml
|
||||
!.cpplint
|
||||
|
||||
core
|
||||
vgcore.*
|
||||
|
2
tools/cpplint.py
vendored
2
tools/cpplint.py
vendored
@ -6285,7 +6285,7 @@ def ProcessConfigOverrides(filename):
|
||||
if not base_name:
|
||||
break # Reached the root directory.
|
||||
|
||||
cfg_file = os.path.join(abs_path, "CPPLINT.cfg")
|
||||
cfg_file = os.path.join(abs_path, ".cpplint")
|
||||
abs_filename = abs_path
|
||||
if not os.path.isfile(cfg_file):
|
||||
continue
|
||||
|
Loading…
Reference in New Issue
Block a user