diff --git a/.fasterer.yml b/.fasterer.yml new file mode 100644 index 000000000..66469039d --- /dev/null +++ b/.fasterer.yml @@ -0,0 +1,2 @@ +exclude_paths: + - spec/**/*.rb \ No newline at end of file diff --git a/.overcommit.yml b/.overcommit.yml new file mode 100644 index 000000000..9cbae833c --- /dev/null +++ b/.overcommit.yml @@ -0,0 +1,19 @@ +# Setting these up to all run on push rather than on commit. +# Disabling all steps by default thus making this opt-in. +# Feel free to enable and disable steps as you wish. + +PrePush: + Rubocop: + enabled: true + command: ["bundle", "exec", "rubocop"] + on_warn: fail + problem_on_unmodified_line: ignore + Reek: + enabled: true + BundleAudit: + enabled: true + command: ["bundle", "exec", "bundle-audit", "check", "--update"] + Brakeman: + enabled: true + Fasterer: + enabled: true diff --git a/.reek.yml b/.reek.yml new file mode 100644 index 000000000..74a4a22ba --- /dev/null +++ b/.reek.yml @@ -0,0 +1 @@ +# Will configure this file in the future \ No newline at end of file diff --git a/Gemfile b/Gemfile index 0c67c6a67..87af02404 100644 --- a/Gemfile +++ b/Gemfile @@ -14,14 +14,10 @@ gem "batch-loader", "~> 1.4", ">= 1.4.1" gem "bcrypt", "~> 3.1.7" gem "bolognese", "~> 2.1.0" gem "bootsnap", "~> 1.4", ">= 1.4.4", require: false -gem "brakeman", "~> 6.1", ">= 6.1.2" -gem "bundler-audit", "~> 0.9.1" gem "cancancan", "~> 3.0" -gem "commonmarker", "~> 0.23.4" # not being used, let's get rid of it gem "countries", "~> 2.1", ">= 2.1.2" gem "country_select", "~> 3.1" gem "crawler_detect" -# gem "dalli", "~> 2.7", ">= 2.7.6" gem "dalli", "~> 3.2", ">= 3.2.8" gem "ddtrace", require: "ddtrace/auto_instrument" gem "departure", "~> 6.2" @@ -98,7 +94,11 @@ group :development, :test do end group :development do + gem "brakeman", "~> 6.1", ">= 6.1.2" + gem "bundler-audit", "~> 0.9.1" + gem "fasterer", "~> 0.11.0" gem "listen", ">= 3.0.5", "< 3.2" + gem "reek", "~> 6.3" gem "seedbank" gem "spring" gem "spring-commands-rspec"