├── .eslintignore ├── .eslintrc.json ├── .gitignore ├── .rubocop.yml ├── .travis.yml ├── Gemfile ├── Gemfile.lock ├── Guardfile ├── LICENSE.txt ├── README.md ├── Rakefile ├── danger-eslint.gemspec ├── lib ├── danger_eslint.rb ├── danger_plugin.rb └── eslint │ ├── gem_version.rb │ └── plugin.rb └── spec ├── eslint_spec.rb ├── fixtures ├── bin │ ├── dummy_eslint │ └── somewhere_eslint ├── config │ ├── .eslintignore │ └── .eslintrc.json ├── javascript │ ├── empty.js │ ├── error.es6 │ ├── error.js │ ├── ignored.js │ └── warning.js └── results │ ├── alter_ignored.json │ ├── alter_warning.json │ ├── empty.json │ ├── error.json │ ├── ignored.json │ └── warning.json └── spec_helper.rb /.eslintignore: -------------------------------------------------------------------------------- 1 | ignored.js 2 | -------------------------------------------------------------------------------- /.eslintrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leonhartX/danger-eslint/HEAD/.eslintrc.json -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | pkg 3 | .idea/ 4 | .yardoc 5 | .vscode/ -------------------------------------------------------------------------------- /.rubocop.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leonhartX/danger-eslint/HEAD/.rubocop.yml -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leonhartX/danger-eslint/HEAD/.travis.yml -------------------------------------------------------------------------------- /Gemfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leonhartX/danger-eslint/HEAD/Gemfile -------------------------------------------------------------------------------- /Gemfile.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leonhartX/danger-eslint/HEAD/Gemfile.lock -------------------------------------------------------------------------------- /Guardfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leonhartX/danger-eslint/HEAD/Guardfile -------------------------------------------------------------------------------- /LICENSE.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leonhartX/danger-eslint/HEAD/LICENSE.txt -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leonhartX/danger-eslint/HEAD/README.md -------------------------------------------------------------------------------- /Rakefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leonhartX/danger-eslint/HEAD/Rakefile -------------------------------------------------------------------------------- /danger-eslint.gemspec: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leonhartX/danger-eslint/HEAD/danger-eslint.gemspec -------------------------------------------------------------------------------- /lib/danger_eslint.rb: -------------------------------------------------------------------------------- 1 | require 'eslint/gem_version' 2 | -------------------------------------------------------------------------------- /lib/danger_plugin.rb: -------------------------------------------------------------------------------- 1 | require 'eslint/plugin' 2 | -------------------------------------------------------------------------------- /lib/eslint/gem_version.rb: -------------------------------------------------------------------------------- 1 | module Eslint 2 | VERSION = '0.1.5'.freeze 3 | end 4 | -------------------------------------------------------------------------------- /lib/eslint/plugin.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leonhartX/danger-eslint/HEAD/lib/eslint/plugin.rb -------------------------------------------------------------------------------- /spec/eslint_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leonhartX/danger-eslint/HEAD/spec/eslint_spec.rb -------------------------------------------------------------------------------- /spec/fixtures/bin/dummy_eslint: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /spec/fixtures/bin/somewhere_eslint: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /spec/fixtures/config/.eslintignore: -------------------------------------------------------------------------------- 1 | !*.js -------------------------------------------------------------------------------- /spec/fixtures/config/.eslintrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leonhartX/danger-eslint/HEAD/spec/fixtures/config/.eslintrc.json -------------------------------------------------------------------------------- /spec/fixtures/javascript/empty.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /spec/fixtures/javascript/error.es6: -------------------------------------------------------------------------------- 1 | var a = ; -------------------------------------------------------------------------------- /spec/fixtures/javascript/error.js: -------------------------------------------------------------------------------- 1 | var a = ; -------------------------------------------------------------------------------- /spec/fixtures/javascript/ignored.js: -------------------------------------------------------------------------------- 1 | a = 1; -------------------------------------------------------------------------------- /spec/fixtures/javascript/warning.js: -------------------------------------------------------------------------------- 1 | var a = 1; -------------------------------------------------------------------------------- /spec/fixtures/results/alter_ignored.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leonhartX/danger-eslint/HEAD/spec/fixtures/results/alter_ignored.json -------------------------------------------------------------------------------- /spec/fixtures/results/alter_warning.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leonhartX/danger-eslint/HEAD/spec/fixtures/results/alter_warning.json -------------------------------------------------------------------------------- /spec/fixtures/results/empty.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leonhartX/danger-eslint/HEAD/spec/fixtures/results/empty.json -------------------------------------------------------------------------------- /spec/fixtures/results/error.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leonhartX/danger-eslint/HEAD/spec/fixtures/results/error.json -------------------------------------------------------------------------------- /spec/fixtures/results/ignored.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leonhartX/danger-eslint/HEAD/spec/fixtures/results/ignored.json -------------------------------------------------------------------------------- /spec/fixtures/results/warning.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leonhartX/danger-eslint/HEAD/spec/fixtures/results/warning.json -------------------------------------------------------------------------------- /spec/spec_helper.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leonhartX/danger-eslint/HEAD/spec/spec_helper.rb --------------------------------------------------------------------------------