--- /dev/null
+pkg/*
+*.gem
+.bundle
+.DS_Store
+Gemfile.lock
--- /dev/null
+Documentation:
+ Enabled: false
+
+SignalException:
+ EnforcedStyle: only_raise
+
+MultilineOperationIndentation:
+ EnforcedStyle: indented
+
+MultilineMethodCallIndentation:
+ EnforcedStyle: indented
--- /dev/null
+sudo: required
+dist: trusty
+language: ruby
+rvm:
+- 1.9.3
+- 2.0.0
+- 2.1
+- 2.2
--- /dev/null
+source 'https://rubygems.org'
+
+gemspec
--- /dev/null
+The MIT License
+
+Copyright (c) 2016 Mindaugas Mozūras
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
--- /dev/null
+# Pronto runner for ESLint
+
+[![Code Climate](https://codeclimate.com/github/mmozuras/pronto-eslint.png)](https://codeclimate.com/github/mmozuras/pronto-eslint)
+[![Build Status](https://travis-ci.org/mmozuras/pronto-eslint.png)](https://travis-ci.org/mmozuras/pronto-eslint)
+[![Gem Version](https://badge.fury.io/rb/pronto-eslint.png)](http://badge.fury.io/rb/pronto-eslint)
+[![Dependency Status](https://gemnasium.com/mmozuras/pronto-eslint.png)](https://gemnasium.com/mmozuras/pronto-eslint)
+
+Pronto runner for [ESlint](http://eslint.org), pluggable linting utility for JavaScript and JSX. [What is Pronto?](https://github.com/mmozuras/pronto)
+
+## Prerequisites
+
+You'll need to install one of the runtimes supported by [ExecJS](https://github.com/sstephenson/execjs#execjs).
+
+## Configuration
+
+Configuring ESLint via .eslintrc will work just fine with pronto-eslint.
--- /dev/null
+#!/usr/bin/env rake
+require 'bundler'
+require 'rspec/core/rake_task'
+
+Bundler::GemHelper.install_tasks
+RSpec::Core::RakeTask.new(:spec)
+
+task(:default).clear
+task default: [:spec]
--- /dev/null
+# -*- encoding: utf-8 -*-
+#
+$LOAD_PATH.push File.expand_path('../lib', __FILE__)
+require 'pronto/eslint/version'
+require 'English'
+
+Gem::Specification.new do |s|
+ s.name = 'pronto-eslint'
+ s.version = Pronto::ESLintVersion::VERSION
+ s.platform = Gem::Platform::RUBY
+ s.author = 'Mindaugas Mozūras'
+ s.email = 'mindaugas.mozuras@gmail.com'
+ s.homepage = 'http://github.org/mmozuras/pronto-eslintt'
+ s.summary = <<-EOF
+ Pronto runner for ESLint, pluggable linting utility for JavaScript and JSX
+ EOF
+
+ s.licenses = ['MIT']
+ s.required_ruby_version = '>= 1.9.3'
+ s.rubygems_version = '1.8.23'
+
+ s.files = `git ls-files`.split($RS).reject do |file|
+ file =~ %r{^(?:
+ spec/.*
+ |Gemfile
+ |Rakefile
+ |\.rspec
+ |\.gitignore
+ |\.rubocop.yml
+ |\.travis.yml
+ )$}x
+ end
+ s.test_files = []
+ s.extra_rdoc_files = ['LICENSE', 'README.md']
+ s.require_paths = ['lib']
+
+ s.add_dependency('pronto', '~> 0.5.0')
+ s.add_dependency('eslintrb', '~> 2.0.0')
+ s.add_development_dependency('rake', '~> 10.4')
+ s.add_development_dependency('rspec', '~> 3.3')
+ s.add_development_dependency('rspec-its', '~> 1.2')
+end
--- /dev/null
+require 'rspec'
+require 'rspec/its'
+require 'pronto/eslint'
+
+RSpec.shared_context 'test repo' do
+ let(:git) { 'spec/fixtures/test.git/git' }
+ let(:dot_git) { 'spec/fixtures/test.git/.git' }
+
+ before { FileUtils.mv(git, dot_git) }
+ let(:repo) { Pronto::Git::Repository.new('spec/fixtures/test.git') }
+ after { FileUtils.mv(dot_git, git) }
+end
+
+RSpec.configure do |config|
+ config.expect_with(:rspec) { |c| c.syntax = :should }
+ config.mock_with(:rspec) { |c| c.syntax = :should }
+end