Enable XML linting
[integration/packaging.git] / .coafile
1 [default]
2 ignore = .tox/**, .git/**, .gitignore, .gitreview, .gitmodules,
3     **/provisioning/roles/**, node_modules/**, **.sw?, **.orig,
4     ansible/ansible-opendaylight/**, puppet/puppet-opendaylight/**,
5     docs/conf.py, **/.vagrant/**, **.box, **postman_collection**,
6     **packer_cache**, **.tar.gz, **.rpm, **.pyc, deb/templates/rules_template
7
8 [spacing]
9 bears = SpaceConsistencyBear
10 use_spaces = True
11 enforce_newline_at_EOF = False
12 files = **
13 default_actions = SpaceConsistencyBear: ApplyPatchAction
14
15 [linelength]
16 bears = LineLengthBear
17 enabled = False
18 max_line_length = 100
19
20 [rest]
21 bears = RSTcheckBear, reSTLintBear
22 files = **.rst
23
24 [markdown]
25 bears = MarkdownBear
26 files = **.markdown, **.md
27 default_actions = MarkdownBear: ApplyPatchAction
28
29 [dockerfile]
30 bears = DockerfileLintBear
31 enabled = False
32 files = **Dockerfile
33
34 [json]
35 bears = JSONFormatBear
36 files = **.json
37 default_actions = JSONFormatBear: ApplyPatchAction
38
39 [shell]
40 bears = ShellCheckBear
41 files = **.sh
42
43 [python]
44 bears = PEP8Bear, PyUnusedCodeBear, PyImportSortBear
45 files = **.py
46 default_actions = PyUnusedCodeBear: ApplyPatchAction,
47     PyImportSortBear: ApplyPatchAction
48
49 [python-hard]
50 bears = PyLintBear, PyFlakesBear
51 enabled = False
52 files = **.py
53
54 [yaml]
55 bears = YAMLLintBear
56 yamllint_config = .yamllint
57 files = **.yaml, **.yml
58
59 [ruby]
60 bears = RubySyntaxBear, RubySmellBear, RuboCopBear
61 files = **.rb
62 enabled = False
63
64 [puppet]
65 bears = PuppetLintBear
66 enabled = False
67
68 [jinja]
69 bears = Jinja2Bear
70 files = rpm/specs/opendaylight.spec, deb/templates/**_template**
71
72 [git]
73 bears = GitCommitBear
74 ignore_length_regex = Signed-off-by,
75     Also-by,
76     Co-authored-by,
77
78 [xml]
79 bears = XMLBear
80 files = **.xml