-
Notifications
You must be signed in to change notification settings - Fork 40
/
.coafile
47 lines (39 loc) · 1.19 KB
/
.coafile
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
[all]
files = *.py, coalahtml/**/*.py, tests/*.py
[all.js]
files = coalahtml/_coalahtml/app/**/*.js, tests/specs/**/*.js
bears = LineLengthBear, SpaceConsistencyBear, JSHintBear
jshint_config = ./.jshintrc
use_spaces = true
max_line_length = 90
[all.css]
files = coalahtml/_coalahtml/app/styles/*.css
bears = LineLengthBear, SpaceConsistencyBear
use_spaces = true
[all.html]
files = coalahtml/_coalahtml/index.html, coalahtml/_coalahtml/app/views/*.html
bears = LineLengthBear, SpaceConsistencyBear
use_spaces = true
max_line_length = 100
[all.python]
# Patches may conflict with autopep8 so putting them in own section so they
# will be executed sequentially; also we need the LineLengthBear to double
# check the line length because PEP8Bear sometimes isn't able to correct the
# linelength.
bears = PyUnusedCodeBear
default_actions =
PyUnusedCodeBear: ApplyPatchAction
[all.commit]
bears = GitCommitBear
shortlog_trailing_period = false
shortlog_regex = ([^:]*|[^:]+: [A-Z].*)
[all.autopep8]
bears = PEP8Bear
default_actions = PEP8Bear: ApplyPatchAction
[all.json]
bears = JSONFormatBear
files = data/*.json
default_actions = JSONFormatBear: ApplyPatchAction
[all.yaml]
bears = YAMLLintBear
files = *.yml