Skip to content

Commit

Permalink
Merge pull request #798 from realm/fix-custom_rules-examples-in-readme
Browse files Browse the repository at this point in the history
Change `included` of `custom_rules` to  regular expression in README.md
  • Loading branch information
jpsim authored Sep 1, 2016
2 parents 36b7955 + 2013e09 commit 38a7cc5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ following syntax:
```yaml
custom_rules:
pirates_beat_ninjas: # rule identifier
include: "*.swift" # regex that defines paths to include during linting. optional.
included: ".*.swift" # regex that defines paths to include during linting. optional.
name: "Pirates Beat Ninjas" # rule name. optional.
regex: "([n,N]inja)" # matching pattern
match_kinds: # SyntaxKinds to match. optional.
Expand Down

0 comments on commit 38a7cc5

Please sign in to comment.