lib/goodcheck/commands/init.rb in goodcheck-1.4.1 vs lib/goodcheck/commands/init.rb in goodcheck-1.5.0
- old
+ new
@@ -4,18 +4,21 @@
CONFIG = <<-EOC
rules:
- id: com.example.1
pattern: Github
message: Do you want to write GitHub?
- glob:
+ glob:
- "**/*.rb"
- - "**/*.yaml"
- - "**/*.yml"
- - "**/*.html"
+ - "**/*.{yaml,yml}"
+ - "public/**/*.html"
fail:
- Signup via Github
pass:
- Signup via GitHub
+
+exclude:
+ - node_modules
+ - vendor
EOC
attr_reader :stdout
attr_reader :stderr
attr_reader :path