-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add coala support and fix/lint files
Additional dependencies - puppet-lint, xmllint, rubocop Only very obvious changes have been made, ignoring class-name, line-length, string-literal related warnings Signed-off-by: Umesh Singla <[email protected]>
- Loading branch information
1 parent
178ec5b
commit 9152752
Showing
19 changed files
with
279 additions
and
156 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
[Default] | ||
ignore = .gitignore | ||
use_spaces = True | ||
|
||
[markdown] | ||
bears = MarkdownBear | ||
files = ./**/*.markdown, ./**/*.md | ||
default_actions = MarkdownBear: ApplyPatchAction | ||
|
||
[json] | ||
bears = JSONFormatBear | ||
files = ./**/*.json | ||
default_actions = JSONFormatBear: ApplyPatchAction | ||
|
||
[ruby] | ||
bears = RuboCopBear | ||
files = ./**/*.rb | ||
|
||
[puppet] | ||
bears = PuppetLintBear | ||
files = ./**/*.pp | ||
|
||
[xml] | ||
bears = XMLBear | ||
files = ./**/*.xml | ||
|
||
[yaml] | ||
bears = YAMLLintBear | ||
yamllint_config = .yamllint | ||
files = ./**/*.yaml, ./**/*.yml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
--- | ||
fixtures: | ||
repositories: | ||
stdlib: "https://github.com/puppetlabs/puppetlabs-stdlib.git" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,17 +18,17 @@ env: | |
- PUPPET_VERSION="~> 4.3.0" | ||
matrix: | ||
exclude: | ||
- rvm: 2.2.3 | ||
env: PUPPET_VERSION="~> 3.4.0" | ||
- rvm: 2.2.3 | ||
env: PUPPET_VERSION="~> 3.5.0" | ||
- rvm: 2.2.3 | ||
env: PUPPET_VERSION="~> 3.6.0" | ||
- rvm: 2.2.3 | ||
env: PUPPET_VERSION="~> 3.7.0" | ||
- rvm: 2.2.3 | ||
env: PUPPET_VERSION="~> 3.4.0" | ||
- rvm: 2.2.3 | ||
env: PUPPET_VERSION="~> 3.5.0" | ||
- rvm: 2.2.3 | ||
env: PUPPET_VERSION="~> 3.6.0" | ||
- rvm: 2.2.3 | ||
env: PUPPET_VERSION="~> 3.7.0" | ||
notifications: | ||
email: | ||
recipients: | ||
- [email protected] | ||
on_success: change | ||
on_failure: change | ||
email: | ||
recipients: | ||
- [email protected] | ||
on_success: change | ||
on_failure: change |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
--- | ||
rules: | ||
braces: | ||
min-spaces-inside: 0 | ||
max-spaces-inside: 0 | ||
brackets: | ||
min-spaces-inside: 0 | ||
max-spaces-inside: 0 | ||
colons: | ||
max-spaces-before: 0 | ||
max-spaces-after: 1 | ||
commas: | ||
max-spaces-before: 0 | ||
min-spaces-after: 1 | ||
max-spaces-after: 1 | ||
comments: | ||
level: warning | ||
require-starting-space: true | ||
min-spaces-from-content: 2 | ||
comments-indentation: | ||
level: warning | ||
document-end: disable | ||
document-start: | ||
level: warning | ||
present: true | ||
empty-lines: | ||
max: 2 | ||
max-start: 0 | ||
max-end: 0 | ||
hyphens: | ||
max-spaces-after: 1 | ||
indentation: | ||
spaces: consistent | ||
indent-sequences: true | ||
check-multi-line-strings: false | ||
key-duplicates: enable | ||
line-length: | ||
max: 80 | ||
allow-non-breakable-words: true | ||
allow-non-breakable-inline-mappings: true | ||
new-line-at-end-of-file: enable | ||
new-lines: | ||
type: unix | ||
trailing-spaces: enable | ||
truthy: disable |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.