Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
lib
 
 
 
 
 
 
 
 
 
 
 
 
 
 

linter-redpen - Atom package

A plugin for Atom Linter providing an interface to RedPen.

screencast of package

Installation

I do not support Windows environment. I only support macOS.

$ apm install linter-redpen

Usage

Install RedPen CLI

This package requires RedPen CLI version 1.5 or greater. Install with Homebrew

$ brew install redpen

Or you can install RedPen CLI manually from here

Set Up Paths If needs

This package needs set up some paths from Settings

  • Path for RedPen CLI
    • redpen is default
  • Path for Configuration XML File
    • RedPen CLI needs configuration XML file for validation. you can set your configuration XML file.
  • Locale for Configuration XML File
    • uses auto detect configuration XML file
  • JAVA_HOME Path
    • RedPen CLI needs JAVA_HOME path.

If you prefer to use RedPen server than CLI. You can set your RedPen Server endpoint on Path for RedPen CLI fieald.

Run

  1. open a text file as bellow

    • Markdown
    • Textile
    • Plain
    • AsciiDoc
    • LaTeX
    • Re:VIEW
  2. You can see report pane at bottom.

Searching Configuration XML

linter-redpen searches configuration XML. searching order is

  1. Path for Configuration XML File on settings
  2. in the same directory as the target text file
  3. in the project root directory
  4. directly under REDPEN_HOME
  5. directly under REDPEN_HOME/conf/

Configuration XML File name shold be

  • redpen-conf.xml
  • redpen-conf-{LOCALE}.xml
    • ex: redpen-conf-ja.xml OR redpen-conf-en.xml

You can set your {LOCALE} on settings.

About

A plugin for Atom Linter providing an interface to redpen.

Resources

License

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •