Skip to content

Commit ae06441

Browse files
committed
.coafile: Update .coafile to new format
Closes #148
1 parent 25dd9e4 commit ae06441

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

.coafile

+9-9
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,25 @@
1-
[Default]
1+
[all]
22
files = *.py, coalahtml/**/*.py, tests/*.py
33

4-
[js]
4+
[all.js]
55
files = coalahtml/_coalahtml/app/**/*.js, tests/specs/**/*.js
66
bears = LineLengthBear, SpaceConsistencyBear, JSHintBear
77
jshint_config = ./.jshintrc
88
use_spaces = true
99
max_line_length = 90
1010

11-
[css]
11+
[all.css]
1212
files = coalahtml/_coalahtml/app/styles/*.css
1313
bears = LineLengthBear, SpaceConsistencyBear
1414
use_spaces = true
1515

16-
[html]
16+
[all.html]
1717
files = coalahtml/_coalahtml/index.html, coalahtml/_coalahtml/app/views/*.html
1818
bears = LineLengthBear, SpaceConsistencyBear
1919
use_spaces = true
2020
max_line_length = 100
2121

22-
[python]
22+
[all.python]
2323
# Patches may conflict with autopep8 so putting them in own section so they
2424
# will be executed sequentially; also we need the LineLengthBear to double
2525
# check the line length because PEP8Bear sometimes isn't able to correct the
@@ -28,20 +28,20 @@ bears = PyUnusedCodeBear
2828
default_actions =
2929
PyUnusedCodeBear: ApplyPatchAction
3030

31-
[commit]
31+
[all.commit]
3232
bears = GitCommitBear
3333
shortlog_trailing_period = false
3434
shortlog_regex = ([^:]*|[^:]+: [A-Z].*)
3535

36-
[autopep8]
36+
[all.autopep8]
3737
bears = PEP8Bear
3838
default_actions = PEP8Bear: ApplyPatchAction
3939

40-
[json]
40+
[all.json]
4141
bears = JSONFormatBear
4242
files = data/*.json
4343
default_actions = JSONFormatBear: ApplyPatchAction
4444

45-
[yaml]
45+
[all.yaml]
4646
bears = YAMLLintBear
4747
files = *.yml

0 commit comments

Comments
 (0)