mirror of
https://github.com/ivuorinen/gh-action-readme.git
synced 2026-03-01 18:55:31 +00:00
chore: even more linting, test fixes (#24)
* chore(lint): funcorder * chore(lint): yamlfmt, ignored broken test yaml files * chore(tests): tests do not output garbage, add coverage * chore(lint): fix editorconfig violations * chore(lint): move from eclint to editorconfig-checker * chore(lint): add pre-commit, run and fix * chore(ci): we use renovate to manage updates
This commit is contained in:
18
.yamlfmt.yml
Normal file
18
.yamlfmt.yml
Normal file
@@ -0,0 +1,18 @@
|
||||
---
|
||||
# yaml-language-server: $schema=https://raw.githubusercontent.com/google/yamlfmt/main/schema.json
|
||||
doublestar: true
|
||||
formatter:
|
||||
type: basic
|
||||
include_document_start: true
|
||||
retain_line_breaks: true
|
||||
retain_line_breaks_single: true
|
||||
trim_trailing_whitespace: true
|
||||
eof_newline: true
|
||||
max_line_length: 300
|
||||
gitignore_excludes: true
|
||||
exclude:
|
||||
- testdata/yaml-fixtures/validation/invalid-yaml.yml
|
||||
- testdata/yaml-fixtures/validation/missing-*
|
||||
- testdata/yaml-fixtures/actions/invalid/*
|
||||
- testdata/yaml-fixtures/invalid-action.yml
|
||||
- testdata/yaml-fixtures/*-template.yml
|
||||
Reference in New Issue
Block a user