mirror of https://github.com/nodejs/node.git
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
|
@ -0,0 +1,3 @@
|
|||
set noparent
|
||||
filter=-build/include_alpha,-build/include_subdir,-build/include_what_you_use,-legal/copyright,-readability/nolint
|
||||
linelength=80
|
|
@ -17,6 +17,7 @@
|
|||
!.nycrc
|
||||
!.travis.yml
|
||||
!.eslintrc.yaml
|
||||
!.cpplint
|
||||
|
||||
core
|
||||
vgcore.*
|
||||
|
|
|
@ -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