Skip to content

Commit

Permalink
Merge pull request #1729 from DZozulya/master
Browse files Browse the repository at this point in the history
Fixed Readme custom rule included/excluded regexp
  • Loading branch information
jpsim authored Jul 31, 2017
2 parents 21c1241 + b990448 commit f0f746f
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 @@ -315,8 +315,8 @@ following syntax:
```yaml
custom_rules:
pirates_beat_ninjas: # rule identifier
included: ".*.swift" # regex that defines paths to include during linting. optional.
excluded: ".*Test.swift" # regex that defines paths to exclude during linting. optional
included: ".*\\.swift" # regex that defines paths to include during linting. optional.
excluded: ".*Test\\.swift" # regex that defines paths to exclude 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 f0f746f

Please sign in to comment.