Sha256: 90804ab72809eb543a9e0f906d048fc4c2d1526c5722d54bd802f96bc2361dea
Contents?: true
Size: 1.49 KB
Versions: 1
Compression:
Stored size: 1.49 KB
Contents
# danger-proselint A description of danger-proselint. ## Installation $ gem install danger-proselint ### prose Lint markdown files inside your projects. This is done using the [proselint](http://proselint.com) python egg. Results are passed out as a table in markdown. <blockquote>Specifying custom CocoaPods installation options <pre> # Runs a linter with comma style disabled proselint.disable_linters = ["misc.scare_quotes", "misc.tense_present"] proselint.lint_files "_posts/*.md" # Runs a linter with all styles, on modified and added markdown files in this PR proselint.lint_files</pre> </blockquote> #### Attributes <tr> `disable_linters` - Allows you to disable a collection of linters from running. Doesn't work yet. You can get a list of [them here](https://github.com/amperser/proselint#checks) defaults to `["misc.scare_quotes", "typography.symbols"]` when it's nil. <tr> `ignored_words` - Allows you to add a collection of words to skip in spellchecking. defaults to `[""]` when it's nil. #### Methods `lint_files` - Lints the globbed markdown files. Will fail if `proselint` cannot be installed correctly. Generates a `markdown` list of warnings for the prose in a corpus of .markdown and .md files. `proselint_installed?` - Determine if proselint is currently installed in the system paths. `mdspell_installed?` - Determine if mdspell is currently installed in the system paths. `check_spelling` - Runs a markdown-specific spell checker, against a corpus of `.markdown` and `.md` files.
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
danger-prose-2.0.0 | README.md |