diff --git a/.coafile b/.coafile index 71316e7..3dfeb6a 100644 --- a/.coafile +++ b/.coafile @@ -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 @@ -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