Skip to content

Commit

Permalink
chore: Add YAML linting base configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
mdsanima committed Oct 21, 2024
1 parent 12acd92 commit f906ba5
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .yamllint.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Maintain a consistent coding style throughout the entire project codebase to
# ensure readability and maintainability. Consistent style not only improves
# collaboration but also makes the code easier to review and debug.

# Linter configuration for YAML files. This tool uses a predefined set of rules
# to check source files for issues such as line length, trailing spaces, and
# indentation. It is available as a Python based command line tool and can also
# integrate with your editor to display diagnostics like warnings or errors from
# the YAML language server. These diagnostics are based on the rules defined in
# this configuration file. For more information about, refer to the docs and
# source code, see here: https://github.com/adrienverge/yamllint

# The rules are still a work in progress and subject to change. I still need
# to think about this configuration, and for now this is a base template.

---
extends: default

rules:
line-length:
max: 80
level: warning
indentation: enable

0 comments on commit f906ba5

Please sign in to comment.