2016-10-04 07:44:15 +08:00
|
|
|
#!/usr/bin/env ruby
|
2016-12-22 07:30:57 +08:00
|
|
|
require_relative './linter'
|
|
|
|
|
|
|
|
linter_options = {
|
|
|
|
linter_name: "stylelint",
|
|
|
|
file_regex: /\.s?css$/,
|
|
|
|
format: 'stylelint',
|
|
|
|
command: 'node_modules/.bin/stylelint',
|
|
|
|
append_files_to_command: true,
|
|
|
|
default_boyscout_mode: false
|
|
|
|
}
|
|
|
|
|
|
|
|
stylelint = Linter.new(linter_options)
|
|
|
|
stylelint.run
|