Skip to content

Commit fef81a5

Browse files
Merge pull request #4 from PolymorphEngine/sider/configure
Configure Sider
2 parents 94b999f + 53eb714 commit fef81a5

File tree

1 file changed

+81
-0
lines changed

1 file changed

+81
-0
lines changed

sider.yml

Lines changed: 81 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,81 @@
1+
# This is a configuration file to customize code analysis by Sider.
2+
#
3+
# For more information, see the documentation:
4+
# https://help.sider.review/getting-started/custom-configuration
5+
6+
# Customize each tool. If analyses fail, try adjusting each option referencing the following example.
7+
linter:
8+
9+
# # Clang-Tidy example. See https://help.sider.review/tools/cplusplus/clang-tidy
10+
# clang_tidy:
11+
# root_dir: project/
12+
# dependencies:
13+
# - libgdbm-dev
14+
# - libfastjson-dev=0.99.8-2
15+
# include-path:
16+
# - myinclude
17+
# - foo/include
18+
# - /usr/include/libfastjson
19+
20+
# # Cppcheck example. See https://help.sider.review/tools/cplusplus/cppcheck
21+
# cppcheck:
22+
# root_dir: project/
23+
# include-path:
24+
# - include/
25+
# target: src/
26+
# ignore: vendor/
27+
# enable: all
28+
# std: c99
29+
# project: my_project.sln
30+
# language: c++
31+
# addon: [cert, misra]
32+
# bug-hunting: true
33+
# parallel: false
34+
# suppressions-list: suppressions.txt
35+
36+
# # cpplint example. See https://help.sider.review/tools/cplusplus/cpplint
37+
# cpplint:
38+
# root_dir: project/
39+
# target: [src/, lib/]
40+
# extensions: c,cc
41+
# headers: hpp,hxx
42+
# filter: "-whitespace,+whitespace/braces"
43+
# linelength: 100
44+
# exclude:
45+
# - src/*.cpp
46+
# - lib/*.cpp
47+
48+
# # Misspell example. See https://help.sider.review/tools/others/misspell
49+
# misspell:
50+
# root_dir: project/
51+
# target: [src/, test/]
52+
# exclude: ["**/*.min.*"]
53+
# locale: UK
54+
# ignore: [center, behavior]
55+
56+
# # ShellCheck example. See https://help.sider.review/tools/shellscript/shellcheck
57+
# shellcheck:
58+
# root_dir: project/
59+
# target:
60+
# - "**/*.{sh,bash}"
61+
# - shebang: true
62+
# include: [SC2104, SC2105]
63+
# exclude: [SC1000, SC1118]
64+
# enable: all
65+
# shell: bash
66+
# severity: error
67+
# norc: true
68+
69+
# Ignore specific files. Example:
70+
# ignore:
71+
# - "*.pdf"
72+
# - "*.mp4"
73+
# - "*.min.*"
74+
# - "images/**"
75+
76+
# Exclude specific branches. Example:
77+
# branches:
78+
# exclude:
79+
# - master
80+
# - development
81+
# - /^release-.*$/

0 commit comments

Comments
 (0)