forked from yugabyte/yugabyte-db
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.arclint
75 lines (75 loc) · 2.32 KB
/
.arclint
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
{
"exclude": [
"(\\.l$)",
"(Makefile$)",
"(src/yb/common/ql_type.h$)",
"(\\.sql$)",
"(\\.txt$)",
"(^src/postgres/.*$)",
"(^[.]gitmodules$)",
"(^managed/src/main/resources/v1.routes$)",
"(^managed/build.sbt$)",
"(^managed/src/main/resources/aws_pricing/.*$)"
],
"linters": {
"text": {
"type": "text",
"text.max-line-length": 100,
"exclude": [
"(^managed/ui/)",
"(^thirdparty/thirdparty_src_checksums[.]txt$)",
"(^java/yb-client/src/test/java/org/yb/client/TestYBClient[.]java$)",
"(^cmake_modules/cotire[.]cmake$)",
"(^cmake_modules/FindBoost[.]cmake$)",
"(^README[.]md$)",
"(^java/pom[.]xml$)",
"(^.*[.]patch$)",
"(java/yb-cdc/pom.xml)",
"(java/yb-cdc/README.md)",
"(^docs/.*[.]md$)"
]
},
"pycodestyle": {
"type": "pep8",
"include": "(\\.py$)",
"exclude": "(^thirdparty/|^[.]ycm_extra_conf[.]py$)",
"bin": "pycodestyle",
"flags": ["--max-line-length=100"]
},
"googlecpplint": {
"type": "googlecpplint",
"exclude": [
"(^src/yb/yql/cql/ql/kwlist[.]h$)",
"(^src/yb/yql/pggate/if_macros_undef[.]h$)",
"(^src/yb/yql/pggate/if_macros_cxx_decl[.]h$)",
"(^src/yb/yql/pggate/if_macros_common[.]h$)",
"(^src/yb/yql/pggate/if_macros_c_wrapper_common[.]h$)",
"(^src/yb/yql/pggate/if_macros_c_wrapper_decl[.]h$)",
"(^src/yb/yql/pggate/if_macros_c_wrapper_impl[.]h$)",
"(^src/yb/yql/pggate/if_macros_c_pg_wrapper_inl[.]h$)",
"(^src/yb/yql/pggate/pg_api_example_if[.]h$)",
"(^src/yb/yql/pggate/pg_txn_manager_if[.]h$)",
"(^src/yb/yql/pggate/pggate_if[.]h$)"
],
"include": [
"(\\.cpp$)",
"(\\.cc$)",
"(\\.c$)",
"(\\.hpp$)",
"(\\.h$)"
],
"cpplint.header_guard_root_dir": "src",
"cpplint.max_line_length": 100,
"severity.rules": {
"(^readability/inheritance$)": "disabled",
"(^readability/todo$)": "disabled",
"(^runtime/string$)": "disabled",
"(^whitespace/parens$)": "disabled",
"(^whitespace/blank_line$)": "disabled",
"(^build/include_what_you_use$)": "disabled",
"(^build/c[+][+]11$)": "disabled",
"(.*)": "error"
}
}
}
}