Skip to content

New feature #3

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
source "https://rubygems.org"

gem "foodcritic", "~> 6.0"
gem "mapbox-rails", "1.6.1"

group :test do
gem "rspec"
Expand Down
4 changes: 3 additions & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ GEM
yajl-ruby (~> 1.1)
gherkin (2.12.2)
multi_json (~> 1.3)
mapbox-rails (1.6.1)
mini_portile2 (2.0.0)
multi_json (1.11.2)
nokogiri (1.6.7.2)
Expand Down Expand Up @@ -42,7 +43,8 @@ PLATFORMS

DEPENDENCIES
foodcritic (~> 6.0)
mapbox-rails (= 1.6.1)
rspec

BUNDLED WITH
1.10.6
1.11.2
4 changes: 4 additions & 0 deletions lib/cc/engine.rb
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@ def self.get_warnings
linter.check(options).warnings
end

def self.get_new_warnings
linter.new_warnings
end

class Config
DEFAULT_INCLUDE_PATHS = ["./"]
DEFAULT_TAGS = ["~FC011", "~FC033"]
Expand Down