Skip to content
This repository is currently being migrated. It's locked while the migration is in progress.

Commit 11ac09b

Browse files
author
sider[bot]
authored
Configure Sider
Welcome to [Sider](https://sider.review/)! 🎉 This is an onboarding PR to help you understand and configure Sider. You can edit the `sider.yml` file in this PR to fix analysis failures. Of course, you can close this PR when Sider works well without this `sider.yml`. If you have any questions, our [documentation](https://help.sider.review/getting-started/custom-configuration) could help you. 📃
1 parent b9284bd commit 11ac09b

File tree

1 file changed

+93
-0
lines changed

1 file changed

+93
-0
lines changed

sider.yml

+93
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,93 @@
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+
# # Flake8 example. See https://help.sider.review/tools/python/flake8
49+
# flake8:
50+
# root_dir: project/
51+
# dependencies:
52+
# - flake8-bugbear
53+
# - flake8-builtins==1.4.1
54+
# - git+https://github.com/PyCQA/flake8-import-order.git@51e16f33065512afa1a85a20b2c2d3be768f78ea
55+
# - { name: "flake8-docstrings", version: "==1.6.0" }
56+
# target: src/
57+
# config: config/.flake8
58+
# parallel: false
59+
60+
# # Misspell example. See https://help.sider.review/tools/others/misspell
61+
# misspell:
62+
# root_dir: project/
63+
# target: [src/, test/]
64+
# exclude: ["**/*.min.*"]
65+
# locale: UK
66+
# ignore: [center, behavior]
67+
68+
# # ShellCheck example. See https://help.sider.review/tools/shellscript/shellcheck
69+
# shellcheck:
70+
# root_dir: project/
71+
# target:
72+
# - "**/*.{sh,bash}"
73+
# - shebang: true
74+
# include: [SC2104, SC2105]
75+
# exclude: [SC1000, SC1118]
76+
# enable: all
77+
# shell: bash
78+
# severity: error
79+
# norc: true
80+
81+
# Ignore specific files. Example:
82+
# ignore:
83+
# - "*.pdf"
84+
# - "*.mp4"
85+
# - "*.min.*"
86+
# - "images/**"
87+
88+
# Exclude specific branches. Example:
89+
# branches:
90+
# exclude:
91+
# - master
92+
# - development
93+
# - /^release-.*$/

0 commit comments

Comments
 (0)