Sha256: d485915f149333ef020df406fa88a3502f1b3fae6c731dfda14ec00d5b471a32

Contents?: true

Size: 453 Bytes

Versions: 1

Compression:

Stored size: 453 Bytes

Contents

# danger-proselint

A description of danger-proselint.

## Installation

    $ gem install danger-proselint

## Usage

Add it to your Dangerfile

``` ruby
# Look through all changed Markdown files
markdown_files = (modified_files + added_files).select do |line|
  line.start_with?("_posts") && (line.end_with?(".markdown") || line.end_with?(".md"))
end

# will check any .markdown files in this PR with proselint
proselint.lint_files markdown_files
```

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
danger-prose-1.0.0 README.md