From c320dd1868f1f038fa24929ba5d56b3778f4fefe Mon Sep 17 00:00:00 2001 From: "sider[bot]" <41898208+sider[bot]@users.noreply.github.com> Date: Tue, 2 Feb 2021 10:58:12 +0000 Subject: [PATCH] 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 customize the analysis for your source code by Sider. If you have any questions, our [document](https://help.sider.review/getting-started/custom-configuration) could help you. --- sider.yml | 74 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 74 insertions(+) create mode 100644 sider.yml diff --git a/sider.yml b/sider.yml new file mode 100644 index 00000000000..dcd1bbee809 --- /dev/null +++ b/sider.yml @@ -0,0 +1,74 @@ +# linter: +# # https://help.sider.review/getting-started/custom-configuration + +# # https://help.sider.review/tools/python/flake8 +# flake8: +# plugins: +# - flake8-bandit +# - flake8-builtins==1.4.1 +# - flake8-mypy>=17.3.3 + +# # https://help.sider.review/tools/css/stylelint +# stylelint: +# npm_install: false +# config: my_stylelintrc.yaml +# syntax: sugarss +# ignore-path: .gitignore +# ignore-disables: true +# report-needless-disables: true +# quiet: true +# glob: "**/*.{css,scss}" + +# # https://help.sider.review/tools/others/misspell +# misspell: +# exclude: +# - vendor +# - "**/*.min.js" +# - exclude_file.rb +# targets: +# - target_directory +# - another_target_directory/foo.rb +# - bar.rb +# locale: UK +# ignore: center,behavior + +# # https://help.sider.review/tools/cplusplus/cppcheck +# cppcheck: +# target: "src" +# ignore: "vendor" +# enable: "all" +# std: "c99" +# project: "your_project.sln" +# language: "c++" + +# # https://help.sider.review/tools/shellscript/shellcheck +# shellcheck: +# target: "src/**/*.{sh,bash}" +# include: "SC2104,SC2105" +# exclude: "SC1000,SC1118" +# enable: "all" +# shell: "bash" +# severity: "error" +# norc: true + +# # https://help.sider.review/tools/cplusplus/cpplint +# cpplint: +# target: "src" +# extensions: "c,cc" +# headers: "hpp,hxx" +# filter: "-whitespace,+whitespace/braces,-legal/copyright" +# linelength: 100 +# exclude: "test/*.c" + +# # https://help.sider.review/getting-started/custom-configuration#ignore +# ignore: +# - "*.pdf" +# - "*.mp4" +# - "images/**" + +# # https://help.sider.review/getting-started/custom-configuration#branchesexclude +# branches: +# exclude: +# - master +# - development +# - /^release-.*$/