Skip to content

Commit

Permalink
.coafile: Update .coafile to new format
Browse files Browse the repository at this point in the history
Closes coala#148
  • Loading branch information
thegypsydev committed Nov 10, 2018
1 parent 25dd9e4 commit ae06441
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .coafile
Original file line number Diff line number Diff line change
@@ -1,25 +1,25 @@
[Default]
[all]
files = *.py, coalahtml/**/*.py, tests/*.py

[js]
[all.js]
files = coalahtml/_coalahtml/app/**/*.js, tests/specs/**/*.js
bears = LineLengthBear, SpaceConsistencyBear, JSHintBear
jshint_config = ./.jshintrc
use_spaces = true
max_line_length = 90

[css]
[all.css]
files = coalahtml/_coalahtml/app/styles/*.css
bears = LineLengthBear, SpaceConsistencyBear
use_spaces = true

[html]
[all.html]
files = coalahtml/_coalahtml/index.html, coalahtml/_coalahtml/app/views/*.html
bears = LineLengthBear, SpaceConsistencyBear
use_spaces = true
max_line_length = 100

[python]
[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
Expand All @@ -28,20 +28,20 @@ bears = PyUnusedCodeBear
default_actions =
PyUnusedCodeBear: ApplyPatchAction

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

[autopep8]
[all.autopep8]
bears = PEP8Bear
default_actions = PEP8Bear: ApplyPatchAction

[json]
[all.json]
bears = JSONFormatBear
files = data/*.json
default_actions = JSONFormatBear: ApplyPatchAction

[yaml]
[all.yaml]
bears = YAMLLintBear
files = *.yml

0 comments on commit ae06441

Please sign in to comment.