danger-eslint 0.1.1 → 0.1.6

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 1180844b62ed462c63d0d4499d2a966323935fe9
4
- data.tar.gz: d4d0cf2f19d4253c10155f37b0c45c33bc295745
2
+ SHA256:
3
+ metadata.gz: 7b174e445e2586809cf44b96f20a0c55fbe6d4d6dc5887553d30ebba6f3d14bc
4
+ data.tar.gz: 51517c0a75f62ef6be5d7f9a66acbb67f35d2f4b0efa0ce2e805496698b28913
5
5
  SHA512:
6
- metadata.gz: b9da0dacc407c6399097ca0dbb508ac212f69367436d88ec0a9fb2eb4135188d497b4d81d9eb7d01517efa82cb482e2f684ca47fe60c29a34473ee48ba85e890
7
- data.tar.gz: a81811c2be884c329c940361d322ca2dd57176f12ac20348e00d0ad1c689b7a66d419d2201d24d6cd31f3bf3da2d48cb3d25a95568a8f32caa91d1d0f53bfab7
6
+ metadata.gz: fb4a49df669c282bfdd9ab607afaac76c0f20de269f5e5396387159cd810f2e2843d734040befedca96bfccc01fe6c046241f7e19f4e47ec78f25bcf9c21e54f
7
+ data.tar.gz: 11c863060b754b577ef60add645427eb7ed21eb6b6de55093e786ea99448231c7165ca509ddabf4d8d0b826abb3c96f8ef4633463278c25c15b27db554657848
data/.rubocop.yml ADDED
@@ -0,0 +1,19 @@
1
+ Style/FrozenStringLiteralComment:
2
+ Enabled: false
3
+
4
+ Metrics/BlockLength:
5
+ Exclude:
6
+ - "**/*_spec.rb"
7
+
8
+ Metrics/LineLength:
9
+ Max: 120
10
+ Exclude:
11
+ - "**/*_spec.rb"
12
+
13
+ Metrics/ModuleLength:
14
+ Exclude:
15
+ - "**/*_spec.rb"
16
+
17
+ Metrics/AbcSize:
18
+ Enabled: true
19
+ Max: 25
data/.travis.yml CHANGED
@@ -4,9 +4,8 @@ cache:
4
4
  - bundle
5
5
 
6
6
  rvm:
7
- - 2.0
8
7
  - 2.1.3
9
8
  - 2.3.1
10
9
 
11
10
  script:
12
- - bundle exec rake spec
11
+ - bundle exec rake spec
data/Gemfile.lock CHANGED
@@ -1,49 +1,55 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- danger-eslint (0.1.0)
4
+ danger-eslint (0.1.6)
5
5
  danger-plugin-api (~> 1.0)
6
6
 
7
7
  GEM
8
8
  remote: https://rubygems.org/
9
9
  specs:
10
- addressable (2.5.1)
11
- public_suffix (~> 2.0, >= 2.0.2)
12
- ast (2.3.0)
13
- claide (1.0.2)
10
+ addressable (2.7.0)
11
+ public_suffix (>= 2.0.2, < 5.0)
12
+ ast (2.4.0)
13
+ claide (1.0.3)
14
14
  claide-plugins (0.9.2)
15
15
  cork
16
16
  nap
17
17
  open4 (~> 1.3)
18
- coderay (1.1.1)
18
+ coderay (1.1.2)
19
19
  colored2 (3.1.2)
20
20
  cork (0.3.0)
21
21
  colored2 (~> 3.1)
22
- danger (5.3.0)
22
+ danger (8.2.3)
23
23
  claide (~> 1.0)
24
24
  claide-plugins (>= 0.9.2)
25
25
  colored2 (~> 3.1)
26
26
  cork (~> 0.1)
27
- faraday (~> 0.9)
28
- faraday-http-cache (~> 1.0)
29
- git (~> 1)
30
- kramdown (~> 1.5)
31
- octokit (~> 4.2)
32
- terminal-table (~> 1)
27
+ faraday (>= 0.9.0, < 2.0)
28
+ faraday-http-cache (~> 2.0)
29
+ git (~> 1.7)
30
+ kramdown (~> 2.3)
31
+ kramdown-parser-gfm (~> 1.0)
32
+ no_proxy_fix
33
+ octokit (~> 4.7)
34
+ terminal-table (>= 1, < 4)
33
35
  danger-plugin-api (1.0.0)
34
36
  danger (> 2.0)
35
37
  diff-lcs (1.3)
36
- faraday (0.12.1)
38
+ faraday (1.3.0)
39
+ faraday-net_http (~> 1.0)
37
40
  multipart-post (>= 1.2, < 3)
38
- faraday-http-cache (1.3.1)
39
- faraday (~> 0.8)
40
- ffi (1.9.18)
41
+ ruby2_keywords
42
+ faraday-http-cache (2.2.0)
43
+ faraday (>= 0.8)
44
+ faraday-net_http (1.0.1)
45
+ ffi (1.9.25)
41
46
  formatador (0.2.5)
42
- git (1.3.0)
43
- guard (2.14.1)
47
+ git (1.8.1)
48
+ rchardet (~> 1.8)
49
+ guard (2.14.2)
44
50
  formatador (>= 0.2.4)
45
51
  listen (>= 2.7, < 4.0)
46
- lumberjack (~> 1.0)
52
+ lumberjack (>= 1.0.12, < 2.0)
47
53
  nenv (~> 0.1)
48
54
  notiffany (~> 0.0)
49
55
  pry (>= 0.9.12)
@@ -54,67 +60,74 @@ GEM
54
60
  guard (~> 2.1)
55
61
  guard-compat (~> 1.1)
56
62
  rspec (>= 2.99.0, < 4.0)
57
- kramdown (1.13.2)
63
+ jaro_winkler (1.5.1)
64
+ kramdown (2.3.1)
65
+ rexml
66
+ kramdown-parser-gfm (1.1.0)
67
+ kramdown (~> 2.0)
58
68
  listen (3.0.7)
59
69
  rb-fsevent (>= 0.9.3)
60
70
  rb-inotify (>= 0.9.7)
61
- lumberjack (1.0.12)
62
- method_source (0.8.2)
63
- multipart-post (2.0.0)
71
+ lumberjack (1.0.13)
72
+ method_source (0.9.0)
73
+ multipart-post (2.1.1)
64
74
  nap (1.1.0)
65
75
  nenv (0.3.0)
76
+ no_proxy_fix (0.1.2)
66
77
  notiffany (0.1.1)
67
78
  nenv (~> 0.1)
68
79
  shellany (~> 0.0)
69
- octokit (4.7.0)
80
+ octokit (4.20.0)
81
+ faraday (>= 0.9)
70
82
  sawyer (~> 0.8.0, >= 0.5.3)
71
83
  open4 (1.3.4)
72
- parallel (1.11.2)
73
- parser (2.4.0.0)
74
- ast (~> 2.2)
75
- powerpack (0.1.1)
76
- pry (0.10.4)
84
+ parallel (1.12.1)
85
+ parser (2.5.1.0)
86
+ ast (~> 2.4.0)
87
+ powerpack (0.1.2)
88
+ pry (0.11.3)
77
89
  coderay (~> 1.1.0)
78
- method_source (~> 0.8.1)
79
- slop (~> 3.4)
80
- public_suffix (2.0.5)
81
- rainbow (2.2.2)
82
- rake
90
+ method_source (~> 0.9.0)
91
+ public_suffix (4.0.6)
92
+ rainbow (3.0.0)
83
93
  rake (10.5.0)
84
- rb-fsevent (0.9.8)
85
- rb-inotify (0.9.8)
86
- ffi (>= 0.5.0)
87
- rspec (3.6.0)
88
- rspec-core (~> 3.6.0)
89
- rspec-expectations (~> 3.6.0)
90
- rspec-mocks (~> 3.6.0)
91
- rspec-core (3.6.0)
92
- rspec-support (~> 3.6.0)
93
- rspec-expectations (3.6.0)
94
+ rb-fsevent (0.10.3)
95
+ rb-inotify (0.9.10)
96
+ ffi (>= 0.5.0, < 2)
97
+ rchardet (1.8.0)
98
+ rexml (3.2.4)
99
+ rspec (3.7.0)
100
+ rspec-core (~> 3.7.0)
101
+ rspec-expectations (~> 3.7.0)
102
+ rspec-mocks (~> 3.7.0)
103
+ rspec-core (3.7.1)
104
+ rspec-support (~> 3.7.0)
105
+ rspec-expectations (3.7.0)
94
106
  diff-lcs (>= 1.2.0, < 2.0)
95
- rspec-support (~> 3.6.0)
96
- rspec-mocks (3.6.0)
107
+ rspec-support (~> 3.7.0)
108
+ rspec-mocks (3.7.0)
97
109
  diff-lcs (>= 1.2.0, < 2.0)
98
- rspec-support (~> 3.6.0)
99
- rspec-support (3.6.0)
100
- rubocop (0.49.1)
110
+ rspec-support (~> 3.7.0)
111
+ rspec-support (3.7.1)
112
+ rubocop (0.57.2)
113
+ jaro_winkler (~> 1.5.1)
101
114
  parallel (~> 1.10)
102
- parser (>= 2.3.3.1, < 3.0)
115
+ parser (>= 2.5)
103
116
  powerpack (~> 0.1)
104
- rainbow (>= 1.99.1, < 3.0)
117
+ rainbow (>= 2.2.2, < 4.0)
105
118
  ruby-progressbar (~> 1.7)
106
119
  unicode-display_width (~> 1.0, >= 1.0.1)
107
- ruby-progressbar (1.8.1)
108
- sawyer (0.8.1)
109
- addressable (>= 2.3.5, < 2.6)
110
- faraday (~> 0.8, < 1.0)
120
+ ruby-progressbar (1.9.0)
121
+ ruby2_keywords (0.0.4)
122
+ sawyer (0.8.2)
123
+ addressable (>= 2.3.5)
124
+ faraday (> 0.8, < 2.0)
111
125
  shellany (0.0.1)
112
- slop (3.6.0)
113
- terminal-table (1.8.0)
126
+ terminal-table (3.0.0)
114
127
  unicode-display_width (~> 1.1, >= 1.1.1)
115
- thor (0.19.4)
116
- unicode-display_width (1.2.1)
117
- yard (0.9.9)
128
+ thor (0.20.0)
129
+ unicode-display_width (1.4.0)
130
+ yard (0.9.14)
118
131
 
119
132
  PLATFORMS
120
133
  ruby
@@ -128,8 +141,8 @@ DEPENDENCIES
128
141
  pry
129
142
  rake (~> 10.0)
130
143
  rspec (~> 3.4)
131
- rubocop (~> 0.41)
132
- yard (~> 0.8)
144
+ rubocop (~> 0.49)
145
+ yard (~> 0.9.11)
133
146
 
134
147
  BUNDLED WITH
135
- 1.15.0
148
+ 1.17.2
data/README.md CHANGED
@@ -1,15 +1,46 @@
1
+ [![Gem](https://img.shields.io/gem/v/danger-eslint.svg)](https://rubygems.org/gems/danger-eslint)
2
+ [![Gem](https://img.shields.io/gem/dt/danger-eslint.svg)](https://rubygems.org/gems/danger-eslint)
3
+ [![Gem](https://img.shields.io/gem/dtv/danger-eslint.svg)](https://rubygems.org/gems/danger-eslint)
4
+ [![Travis branch](https://img.shields.io/travis/leonhartX/danger-eslint/master.svg)](https://travis-ci.org/leonhartX/danger-eslint)
1
5
  # danger-eslint
2
6
 
3
- A description of danger-eslint.
7
+ A [Danger](https://github.com/danger/danger) plugin for [eslint](http://eslint.org/).
4
8
 
5
9
  ## Installation
6
10
 
7
11
  $ gem install danger-eslint
12
+
13
+ `eslint` also needs to be installed(global or local) before you run Danger, Please check the [installation guide](http://eslint.org/docs/user-guide/getting-started)
14
+ `danger-eslint` will first try local `node_module/.bin/eslint` then the global `eslint`.
8
15
 
9
16
  ## Usage
17
+ Run lint without and configuration will do the samething as run `eslint .`
18
+ All lint result will send as individual comment. If your are using Github, the comment will show as a inline comment directly on the violation's position if possiable.
19
+
20
+ eslint.lint
21
+
22
+ Also, you can pass a config file or eslintignore file to danger-eslint with:
23
+
24
+ eslint.config_file = /path/yourconfig
25
+ eslint.ignore_file = /path/yourigonre
26
+ eslint.lint
27
+
28
+ If you want to lint only new/modified files. You can achieve that with setting the `filtering` parameter to `true`.
29
+
30
+ eslint.filtering = true
31
+ eslint.lint
32
+
33
+ If you want to lint files with specified extension, you can set extensions to the `target_extensions` parameter.
34
+ The default value is `['.js']`. In the case of the example below, the value will be `['.js', '.es6']`.
35
+
36
+ eslint.target_extensions += %W(.es6)
37
+ eslint.lint
38
+
39
+ If you want to specify eslint's bin file, you can set a bin path to the `bin_path` parameter.
40
+
41
+ eslint.bin_path = "/hoge/node_modules/.bin/eslint"
42
+ eslint.lint
10
43
 
11
- Methods and attributes from this plugin are available in
12
- your `Dangerfile` under the `eslint` namespace.
13
44
 
14
45
  ## Development
15
46
 
@@ -8,8 +8,8 @@ Gem::Specification.new do |spec|
8
8
  spec.version = Eslint::VERSION
9
9
  spec.authors = ['leonhartX']
10
10
  spec.email = ['leonhartx.k@gmail.com']
11
- spec.description = %q{A short description of danger-eslint.}
12
- spec.summary = %q{A longer description of danger-eslint.}
11
+ spec.description = %q{A Danger plugin for linting javascript with eslint.}
12
+ spec.summary = %q{A Danger plugin for linting javascript with eslint.}
13
13
  spec.homepage = 'https://github.com/leonhartX/danger-eslint'
14
14
  spec.license = 'MIT'
15
15
 
@@ -28,8 +28,8 @@ Gem::Specification.new do |spec|
28
28
  spec.add_development_dependency 'rspec', '~> 3.4'
29
29
 
30
30
  # Linting code and docs
31
- spec.add_development_dependency "rubocop", "~> 0.41"
32
- spec.add_development_dependency "yard", "~> 0.8"
31
+ spec.add_development_dependency "rubocop", "~> 0.49"
32
+ spec.add_development_dependency "yard", "~> 0.9.11"
33
33
 
34
34
  # Makes testing easy via `bundle exec guard`
35
35
  spec.add_development_dependency 'guard', '~> 2.14'
@@ -1,3 +1,3 @@
1
1
  module Eslint
2
- VERSION = '0.1.1'.freeze
2
+ VERSION = '0.1.6'.freeze
3
3
  end
data/lib/eslint/plugin.rb CHANGED
@@ -2,24 +2,19 @@ require 'mkmf'
2
2
  require 'json'
3
3
 
4
4
  module Danger
5
- # This is your plugin class. Any attributes or methods you expose here will
6
- # be available from within your Dangerfile.
5
+ # Lint javascript files using [eslint](http://eslint.org/).
6
+ # Results are send as inline commen.
7
7
  #
8
- # To be published on the Danger plugins site, you will need to have
9
- # the public interface documented. Danger uses [YARD](http://yardoc.org/)
10
- # for generating documentation from your plugin source, and you can verify
11
- # by running `danger plugins lint` or `bundle exec rake spec`.
8
+ # @example Run eslint with changed files only
12
9
  #
13
- # You should replace these comments with a public description of your library.
14
- #
15
- # @example Ensure people are well warned about merging on Mondays
16
- #
17
- # my_plugin.warn_on_mondays
10
+ # eslint.filtering = true
11
+ # eslint.lint
18
12
  #
19
13
  # @see leonhartX/danger-eslint
20
- # @tags monday, weekends, time, rattata
21
- #
14
+ # @tags lint, javaxctipt
22
15
  class DangerEslint < Plugin
16
+ DEFAULT_BIN_PATH = './node_modules/.bin/eslint'
17
+
23
18
  # An path to eslint's config file
24
19
  # @return [String]
25
20
  attr_accessor :config_file
@@ -33,6 +28,20 @@ module Danger
33
28
  # @return [Boolean]
34
29
  attr_accessor :filtering
35
30
 
31
+ # A path of eslint's bin
32
+ attr_writer :bin_path
33
+ def bin_path
34
+ @bin_path ||= DEFAULT_BIN_PATH
35
+ end
36
+
37
+ # Specified extentions of target file
38
+ # Default is [".js"]
39
+ # @return [Array]
40
+ attr_writer :target_extensions
41
+ def target_extensions
42
+ @target_extensions ||= %W(.js)
43
+ end
44
+
36
45
  # Lints javascript files.
37
46
  # Generates `errors` and `warnings` due to eslint's config.
38
47
  # Will try to send inline comment if supported(Github)
@@ -40,18 +49,8 @@ module Danger
40
49
  # @return [void]
41
50
  #
42
51
  def lint
43
- bin = eslint_path
44
- raise 'eslint is not installed' unless bin
45
- if filtering
46
- results = ((git.modified_files - git.deleted_files) + git.added_files)
47
- .select { |f| f.end_with? '.js' }
48
- .map { |f| f.gsub("#{Dir.pwd}/", '') }
49
- .map { |f| run_lint(bin, f).first }
50
- else
51
- results = run_lint(bin, '.')
52
- end
53
- results
54
- .reject { |r| r['messages'].length.zero? }
52
+ lint_results
53
+ .reject { |r| r.nil? || r['messages'].length.zero? }
55
54
  .reject { |r| r['messages'].first['message'].include? 'matching ignore pattern' }
56
55
  .map { |r| send_comment r }
57
56
  end
@@ -62,8 +61,20 @@ module Danger
62
61
  #
63
62
  # return [String]
64
63
  def eslint_path
65
- local = './node_modules/.bin/eslint'
66
- File.exist?(local) ? local : find_executable('eslint')
64
+ File.exist?(bin_path) ? bin_path : find_executable('eslint')
65
+ end
66
+
67
+ # Get lint result regards the filtering option
68
+ #
69
+ # return [Hash]
70
+ def lint_results
71
+ bin = eslint_path
72
+ raise 'eslint is not installed' unless bin
73
+ return run_lint(bin, '.') unless filtering
74
+ ((git.modified_files - git.deleted_files - git.renamed_files.map { |r| r[:before] }) + git.added_files + git.renamed_files.map { |r| r[:after] })
75
+ .select { |f| target_extensions.include?(File.extname(f)) }
76
+ .map { |f| f.gsub("#{Dir.pwd}/", '') }
77
+ .map { |f| run_lint(bin, f).first }
67
78
  end
68
79
 
69
80
  # Run eslint aginst a single file.
data/spec/eslint_spec.rb CHANGED
@@ -1,4 +1,4 @@
1
- require File.expand_path('../spec_helper', __FILE__)
1
+ require File.expand_path('spec_helper', __dir__)
2
2
 
3
3
  module Danger
4
4
  describe Danger::DangerEslint do
@@ -16,7 +16,7 @@ module Danger
16
16
  allow(@eslint.git).to receive(:deleted_files).and_return([])
17
17
  allow(@eslint.git).to receive(:added_files).and_return([])
18
18
  allow(@eslint.git).to receive(:modified_files).and_return([])
19
- allow(@eslint).to receive(:eslint_path).and_return('eslint')
19
+ stub_const("Danger::DangerEslint::DEFAULT_BIN_PATH", 'spec/fixtures/bin/dummy_eslint')
20
20
  end
21
21
 
22
22
  it 'does not make an empty message' do
@@ -81,6 +81,27 @@ module Danger
81
81
  expect(@eslint.status_report[:warnings].length).to be(0)
82
82
  end
83
83
 
84
+ it 'lint files with specified extention by target_extensions' do
85
+ allow(@eslint).to receive(:run_lint)
86
+ .with(anything, /error.[js|es6]/).and_return(@error_result)
87
+ allow(@eslint.git).to receive(:modified_files)
88
+ .and_return([
89
+ 'spec/fixtures/javascript/error.es6',
90
+ 'spec/fixtures/javascript/error.js'
91
+ ])
92
+
93
+ @eslint.target_extensions += %W(.es6)
94
+ @eslint.filtering = true
95
+ @eslint.lint
96
+
97
+ errors = @eslint.status_report[:errors]
98
+ expect(errors.length).to be(2)
99
+ errors.each do |error|
100
+ expect(error).to eq('Parsing error: Unexpected token ;')
101
+ end
102
+ expect(@eslint.status_report[:warnings].length).to be(0)
103
+ end
104
+
84
105
  it 'do not print anything if no violations' do
85
106
  allow(@eslint.git).to receive(:modified_files)
86
107
  .and_return(['spec/fixtures/javascript/empty.js'])
@@ -132,6 +153,21 @@ module Danger
132
153
  expect(@eslint.status_report[:errors].length).to be(1)
133
154
  expect(@eslint.status_report[:warnings].length).to be(2)
134
155
  end
156
+
157
+ it 'can specify eslint bin file' do
158
+ bin_file = 'spec/fixtures/bin/somewhere_eslint'
159
+ expect(@eslint).to receive(:run_lint)
160
+ .with(bin_file, /error.js/).and_return(@error_result)
161
+ allow(@eslint.git).to receive(:modified_files)
162
+ .and_return(['spec/fixtures/javascript/error.js'])
163
+
164
+ @eslint.bin_path = bin_file
165
+ @eslint.filtering = true
166
+ @eslint.lint
167
+ error = @eslint.status_report[:errors].first
168
+ expect(error).to eq('Parsing error: Unexpected token ;')
169
+ expect(@eslint.status_report[:warnings].length).to be(0)
170
+ end
135
171
  end
136
172
  end
137
173
  end
File without changes
File without changes
@@ -0,0 +1 @@
1
+ var a = ;
data/spec/spec_helper.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  require 'pathname'
2
- ROOT = Pathname.new(File.expand_path('../../', __FILE__))
2
+ ROOT = Pathname.new(File.expand_path('..', __dir__))
3
3
  $LOAD_PATH.unshift((ROOT + 'lib').to_s)
4
4
  $LOAD_PATH.unshift((ROOT + 'spec').to_s)
5
5
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: danger-eslint
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - leonhartX
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-06-19 00:00:00.000000000 Z
11
+ date: 2021-03-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: danger-plugin-api
@@ -72,28 +72,28 @@ dependencies:
72
72
  requirements:
73
73
  - - "~>"
74
74
  - !ruby/object:Gem::Version
75
- version: '0.41'
75
+ version: '0.49'
76
76
  type: :development
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
80
  - - "~>"
81
81
  - !ruby/object:Gem::Version
82
- version: '0.41'
82
+ version: '0.49'
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: yard
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
87
  - - "~>"
88
88
  - !ruby/object:Gem::Version
89
- version: '0.8'
89
+ version: 0.9.11
90
90
  type: :development
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
94
  - - "~>"
95
95
  - !ruby/object:Gem::Version
96
- version: '0.8'
96
+ version: 0.9.11
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: guard
99
99
  requirement: !ruby/object:Gem::Requirement
@@ -150,7 +150,7 @@ dependencies:
150
150
  - - ">="
151
151
  - !ruby/object:Gem::Version
152
152
  version: '0'
153
- description: A short description of danger-eslint.
153
+ description: A Danger plugin for linting javascript with eslint.
154
154
  email:
155
155
  - leonhartx.k@gmail.com
156
156
  executables: []
@@ -160,6 +160,7 @@ files:
160
160
  - ".eslintignore"
161
161
  - ".eslintrc.json"
162
162
  - ".gitignore"
163
+ - ".rubocop.yml"
163
164
  - ".travis.yml"
164
165
  - Gemfile
165
166
  - Gemfile.lock
@@ -173,9 +174,12 @@ files:
173
174
  - lib/eslint/gem_version.rb
174
175
  - lib/eslint/plugin.rb
175
176
  - spec/eslint_spec.rb
177
+ - spec/fixtures/bin/dummy_eslint
178
+ - spec/fixtures/bin/somewhere_eslint
176
179
  - spec/fixtures/config/.eslintignore
177
180
  - spec/fixtures/config/.eslintrc.json
178
181
  - spec/fixtures/javascript/empty.js
182
+ - spec/fixtures/javascript/error.es6
179
183
  - spec/fixtures/javascript/error.js
180
184
  - spec/fixtures/javascript/ignored.js
181
185
  - spec/fixtures/javascript/warning.js
@@ -205,16 +209,18 @@ required_rubygems_version: !ruby/object:Gem::Requirement
205
209
  - !ruby/object:Gem::Version
206
210
  version: '0'
207
211
  requirements: []
208
- rubyforge_project:
209
- rubygems_version: 2.6.11
212
+ rubygems_version: 3.0.3
210
213
  signing_key:
211
214
  specification_version: 4
212
- summary: A longer description of danger-eslint.
215
+ summary: A Danger plugin for linting javascript with eslint.
213
216
  test_files:
214
217
  - spec/eslint_spec.rb
218
+ - spec/fixtures/bin/dummy_eslint
219
+ - spec/fixtures/bin/somewhere_eslint
215
220
  - spec/fixtures/config/.eslintignore
216
221
  - spec/fixtures/config/.eslintrc.json
217
222
  - spec/fixtures/javascript/empty.js
223
+ - spec/fixtures/javascript/error.es6
218
224
  - spec/fixtures/javascript/error.js
219
225
  - spec/fixtures/javascript/ignored.js
220
226
  - spec/fixtures/javascript/warning.js