-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsider.yml
More file actions
105 lines (96 loc) · 2.64 KB
/
sider.yml
File metadata and controls
105 lines (96 loc) · 2.64 KB
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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
# 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:
pmd_cpd:
minimum-tokens: 70
language: python
encoding: UTF-8
skip-duplicate-files: true
non-recursive: true
skip-lexical-errors: true
pylint:
target:
- "./onebarangay_psql"
rcfile: ./.pylintrc
errors-only: true
# Flake8 example. See https://help.sider.review/tools/python/flake8
flake8:
dependencies:
- flake8-bugbear
- flake8-builtins
- flake8-import-order
- flake8-docstrings
- flake8-typing-imports
- flake8-bugbear
- flake8-comprehensions
- flake8-print
- flake8-simplify
- flake8-django
- flake8-isort
config: setup.cfg
parallel: true
# ShellCheck example. See https://help.sider.review/tools/shellscript/shellcheck
shellcheck:
target:
- "**/*.{bash,bats,dash,ksh,sh}"
- shebang: true
exclude: [SC1000, SC1118]
enable: all
shell: bash
severity: error
norc: true
# stylelint example. See https://help.sider.review/tools/css/stylelint
stylelint:
npm_install: false
# config: frontend/.stylelintrc.json
ignore-path: .gitignore
ignore-disables: true
report-needless-disables: true
quiet: true
target: "**/*.{css,less,sass,scss,sss}"
# Ignore specific files. Example:
ignore:
- "*.pdf"
- "*.mp4"
- "*.min.*"
- "images/**"
# Exclude specific branches. Example:
branches:
exclude:
- master
- /^release-.*$/
# ESLint example. See https://help.sider.review/tools/javascript/eslint
# eslint:
# target: frontend/src/scripts/
# npm_install: false
# dependencies:
# - eslint-plugin-vue
# ext: [.js, .jsx, .es6]
# ignore-path: .gitignore
# config: frontend/.eslintrc
# ignore-pattern: "**/assets/vendor/*"
# no-ignore: true
# # Misspell example. See https://help.sider.review/tools/others/misspell
# misspell:
# root_dir: project/
# target: [src/, test/]
# exclude: ["**/*.min.*"]
# locale: UK
# ignore: [center, behavior]
# # remark-lint example. See https://help.sider.review/tools/markdown/remark-lint
# remark_lint:
# root_dir: project/
# dependencies:
# - my-remark-plugin@2
# npm_install: false
# target: [docs/]
# ext: "md,markdown"
# rc-path: config/.remarkrc
# ignore-path: config/.remarkignore
# use:
# - remark-lint-file-extension
# - remark-lint-no-heading-punctuation