Sha256: 4c81b293fb48b27647da6f67ce2e9ecf769459e25b661b30e8b5d51ab9a7d8d4
Contents?: true
Size: 299 Bytes
Versions: 10
Compression:
Stored size: 299 Bytes
Contents
# frozen_string_literal: true module ThemeCheck class ValidJson < JsonCheck severity :error category :json def on_file(file) if file.parse_error message = format_json_parse_error(file.parse_error) add_offense(message, template: file) end end end end
Version data entries
10 entries across 10 versions & 1 rubygems