tools: move cpplint configuration to .cpplint · foxxyz/node@0a25ace (original) (raw)
3 files changed
lines changed
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
1 | +set noparent | |
2 | +filter=-build/include_alpha,-build/include_subdir,-build/include_what_you_use,-legal/copyright,-readability/nolint | |
3 | +linelength=80 |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -17,6 +17,7 @@ | ||
17 | 17 | !.nycrc |
18 | 18 | !.travis.yml |
19 | 19 | !.eslintrc.yaml |
20 | +!.cpplint | |
20 | 21 | |
21 | 22 | core |
22 | 23 | vgcore.* |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -6285,7 +6285,7 @@ def ProcessConfigOverrides(filename): | ||
6285 | 6285 | if not base_name: |
6286 | 6286 | break # Reached the root directory. |
6287 | 6287 | |
6288 | -cfg_file = os.path.join(abs_path, "CPPLINT.cfg") | |
6288 | +cfg_file = os.path.join(abs_path, ".cpplint") | |
6289 | 6289 | abs_filename = abs_path |
6290 | 6290 | if not os.path.isfile(cfg_file): |
6291 | 6291 | continue |