Skip to content

DigitPaint/roger_eslint

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Roger ESLint

Build Status

Lint JavaScript files from within Roger. This plugin uses eslint. If present, .eslintrc in your project will be used. If not, eslint will walk the directory tree upwards until a .eslintrc file is found.

Installation

  • Install eslint using npm: npm install eslint -g

  • Add gem 'roger_eslint' to your Gemfile

  • Add this to your Mockupfile:

mockup.test do |t|
  t.use :eslint
end
  • (Optional) put a .eslintrc in your project's root directory.

Running

Execute roger test eslint.

License

This project is released under the MIT license.