summaryrefslogtreecommitdiffstats
path: root/.codeclimate.yml
diff options
context:
space:
mode:
authorAustin S. Hemmelgarn <austin@netdata.cloud>2021-09-27 10:16:39 -0400
committerGitHub <noreply@github.com>2021-09-27 10:16:39 -0400
commitf183dc8aead7d2e64eb97e169b89d6cc90d78aa5 (patch)
tree69f76cc7565502bcd0d1b1e5ac277e49e9fce2d0 /.codeclimate.yml
parent07946d9f0a8826c841db5754cfa6a59871ea1ef7 (diff)
Clean up YAML files in the repository. (#11570)
* Assorted yamllint config updates. * Extended line length limit to 150. This is still a reasonable limit but cuts down on warnings a bit. * Added explicit ignore directives for external repo paths. This makes using yamllint locally nicer. * Enabled the rule to require null values to be explicit. This rule helps prevent accidental bogus mapping problems resulting from implicit null values combined with incorrect indentation. This only results in new errors in a couple of GHA workflows, which will be fixed in the next commit. * Fix all yamllint warnings in yaml file sin the repo. Most are indentation or spurious empty lines. * Fix invalid null value.
Diffstat (limited to '.codeclimate.yml')
-rw-r--r--.codeclimate.yml11
1 files changed, 5 insertions, 6 deletions
diff --git a/.codeclimate.yml b/.codeclimate.yml
index 8a11c84a6c..59fb3e7958 100644
--- a/.codeclimate.yml
+++ b/.codeclimate.yml
@@ -43,11 +43,11 @@ plugins:
enabled: false
config:
languages:
- - javascript:
- mass_threshold: 100
- - python:
- python_version: 3
- mass_threshold: 100
+ - javascript:
+ mass_threshold: 100
+ - python:
+ python_version: 3
+ mass_threshold: 100
checks:
Similar code:
enabled: false
@@ -96,4 +96,3 @@ exclude_patterns:
- "collectors/node.d.plugin/node_modules/extend.js"
- "collectors/node.d.plugin/node_modules/pixl-xml.js"
- "collectors/node.d.plugin/node_modules/net-snmp.js"
-