Skip to content

Commit

Permalink
Merge pull request #14 from AndersDJohnson/patch-1
Browse files Browse the repository at this point in the history
docs: fix config file name, note arrays for ignore
  • Loading branch information
rasshofer committed Mar 4, 2018
2 parents 5f25c05 + 4383d92 commit 9a306b3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ yamllint test.yaml

YAML Lint is configured using the following options via a configuration file, environment variables, and/or command-line arguments.

First of all, YAML Lint looks for a JSON file called `yaml-lint.json` within the current working directory.
First of all, YAML Lint looks for a JSON file called `.yaml-lint.json` within the current working directory.

```json
{
Expand Down Expand Up @@ -72,7 +72,7 @@ yamllint --schema=CORE_SCHEMA --ignore=dir/*.yaml
- `CORE_SCHEMA` Same as `JSON_SCHEMA` ([http://www.yaml.org/spec/1.2/spec.html#id2804923](http://www.yaml.org/spec/1.2/spec.html#id2804923))
- `DEFAULT_SAFE_SCHEMA` All supported YAML types, without unsafe ones (`!!js/undefined`, `!!js/regexp`, and `!!js/function`) ([http://yaml.org/type/](http://yaml.org/type/))

### `ignore` (string)
### `ignore` (string or array of strings)

> Specifies one or multiple glob patterns to ignore
Expand Down

0 comments on commit 9a306b3

Please sign in to comment.