canvas-lms/script/stylelint

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

17 lines
328 B
Plaintext
Raw Normal View History

#!/usr/bin/env ruby
# frozen_string_literal: true
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
}
stylelint = Linter.new(linter_options)
stylelint.run