16 lines
331 B
Ruby
Executable File
16 lines
331 B
Ruby
Executable File
#!/usr/bin/env ruby
|
|
require_relative './linter'
|
|
|
|
linter_options = {
|
|
linter_name: "stylelint",
|
|
file_regex: /\.s?css$/,
|
|
format: 'stylelint',
|
|
command: 'node_modules/.bin/stylelint',
|
|
campsite_mode: false,
|
|
append_files_to_command: true,
|
|
default_boyscout_mode: false
|
|
}
|
|
|
|
stylelint = Linter.new(linter_options)
|
|
stylelint.run
|