Skip to content

Commit

Permalink
Update schema to add some of the missing rules (#3274)
Browse files Browse the repository at this point in the history
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Ajinkya Udgirkar <ajinkyaudgirkar@gmail.com>
  • Loading branch information
3 people committed Apr 13, 2023
1 parent 6da0313 commit e14c33b
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 2 deletions.
18 changes: 17 additions & 1 deletion src/ansiblelint/schemas/ansible-lint-config.json
Expand Up @@ -135,29 +135,39 @@
"fqcn[action-core]",
"fqcn[action]",
"fqcn[canonical]",
"fqcn[keyword]",
"galaxy",
"galaxy[no-changelog]",
"galaxy[no-runtime]",
"galaxy[tags]",
"galaxy[version-incorrect]",
"galaxy[version-missing]",
"ignore-errors",
"inline-env-var",
"internal-error",
"jinja",
"jinja[invalid]",
"jinja[spacing]",
"key-order",
"latest",
"literal-compare",
"load-failure",
"loop-var-prefix",
"loop-var-prefix[missing]",
"loop-var-prefix[wrong]",
"meta-incorrect",
"meta-no-tags",
"meta-runtime",
"meta-video-links",
"name",
"name[casing]",
"name[play]",
"name[prefix]",
"name[template]",
"no-changed-when",
"no-handler",
"no-jinja-when",
"no-log-password",
"loop-var-prefix",
"no-prompting",
"no-relative-paths",
"no-same-owner",
Expand All @@ -171,6 +181,12 @@
"risky-octal",
"risky-shell-pipe",
"role-name",
"run-once",
"run-once[play]",
"run-once[task]",
"sanity",
"sanity[bad-ignore]",
"sanity[cannot-ignore]",
"schema",
"syntax-check",
"var-naming",
Expand Down
18 changes: 17 additions & 1 deletion test/schemas/negative_test/.ansible-lint.md
Expand Up @@ -18,29 +18,39 @@
"fqcn[action-core]",
"fqcn[action]",
"fqcn[canonical]",
"fqcn[keyword]",
"galaxy",
"galaxy[no-changelog]",
"galaxy[no-runtime]",
"galaxy[tags]",
"galaxy[version-incorrect]",
"galaxy[version-missing]",
"ignore-errors",
"inline-env-var",
"internal-error",
"jinja",
"jinja[invalid]",
"jinja[spacing]",
"key-order",
"latest",
"literal-compare",
"load-failure",
"loop-var-prefix",
"loop-var-prefix[missing]",
"loop-var-prefix[wrong]",
"meta-incorrect",
"meta-no-tags",
"meta-runtime",
"meta-video-links",
"name",
"name[casing]",
"name[play]",
"name[prefix]",
"name[template]",
"no-changed-when",
"no-handler",
"no-jinja-when",
"no-log-password",
"loop-var-prefix",
"no-prompting",
"no-relative-paths",
"no-same-owner",
Expand All @@ -54,6 +64,12 @@
"risky-octal",
"risky-shell-pipe",
"role-name",
"run-once",
"run-once[play]",
"run-once[task]",
"sanity",
"sanity[bad-ignore]",
"sanity[cannot-ignore]",
"schema",
"syntax-check",
"var-naming",
Expand Down

0 comments on commit e14c33b

Please sign in to comment.