canvas-lms/script/brakeman

14 lines
306 B
Ruby
Executable File

#!/usr/bin/env ruby
require_relative './linter'
linter_options = {
linter_name: "brakeman",
file_regex: /\.rb$/,
format: 'brakeman',
command: 'bundle exec brakeman --quiet --format json --confidence-level 2',
append_files_to_command: false,
}
brakeman = Linter.new(linter_options)
brakeman.run