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. 📃
This commit is contained in:
sider[bot] 2021-04-09 23:04:43 +00:00 committed by GitHub
parent 133cbfc902
commit 746cfe3467
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 54 additions and 0 deletions

54
sider.yml Normal file
View File

@ -0,0 +1,54 @@
# This is a configuration file to customize code analysis by Sider.
#
# For more information, see the documentation:
# https://help.sider.review/getting-started/custom-configuration
# Customize each tool. If analyses fail, try adjusting each option referencing the following example.
linter:
# # Flake8 example. See https://help.sider.review/tools/python/flake8
# flake8:
# root_dir: project/
# dependencies:
# - flake8-bugbear
# - flake8-builtins==1.4.1
# - git+https://github.com/PyCQA/flake8-import-order.git@51e16f33065512afa1a85a20b2c2d3be768f78ea
# - { name: "flake8-docstrings", version: "==1.6.0" }
# target: src/
# config: config/.flake8
# parallel: false
# # Misspell example. See https://help.sider.review/tools/others/misspell
# misspell:
# root_dir: project/
# target: [src/, test/]
# exclude: ["**/*.min.*"]
# locale: UK
# ignore: [center, behavior]
# # ShellCheck example. See https://help.sider.review/tools/shellscript/shellcheck
# shellcheck:
# root_dir: project/
# target:
# - "**/*.{sh,bash}"
# - shebang: true
# include: [SC2104, SC2105]
# exclude: [SC1000, SC1118]
# enable: all
# shell: bash
# severity: error
# norc: true
# Ignore specific files. Example:
# ignore:
# - "*.pdf"
# - "*.mp4"
# - "*.min.*"
# - "images/**"
# Exclude specific branches. Example:
# branches:
# exclude:
# - master
# - development
# - /^release-.*$/