#
# linter.py
# Linter for SublimeLinter3, a code checking framework for Sublime Text 3
#
# Written by Aparajita Fishman
# Copyright (c) 2013 Aparajita Fishman
#
# License: MIT
#

"""This module exports the Rubocop plugin class."""

from SublimeLinter.lint import Linter


class Rubocop(Linter):

    """Provides an interface to rubocop."""

    syntax = ('ruby', 'ruby on rails', 'rspec', 'html (rails)')
    cmd = 'rubocop --format emacs'
    regex = r'^.+?:(?P<line>\d+):(?P<col>\d+): .+?: (?P<message>.+)'
    selectors = {'html (rails)': 'source.ruby.rails.embedded.html'}
    tempfile_suffix = 'rb'
    config_file = ('--config', '.rubocop.yml')

f77e32bbe2323a14a01dfb5d7d59581d696bb408
<mask token>


class Rubocop(Linter):
    <mask token>
    <mask token>
    <mask token>
    <mask token>
    <mask token>
    <mask token>
    <mask token>

<mask token>


class Rubocop(Linter):
    <mask token>
    syntax = 'ruby', 'ruby on rails', 'rspec', 'html (rails)'
    cmd = 'rubocop --format emacs'
    regex = '^.+?:(?P<line>\\d+):(?P<col>\\d+): .+?: (?P<message>.+)'
    selectors = {'html (rails)': 'source.ruby.rails.embedded.html'}
    tempfile_suffix = 'rb'
    config_file = '--config', '.rubocop.yml'

<mask token>


class Rubocop(Linter):
    """Provides an interface to rubocop."""
    syntax = 'ruby', 'ruby on rails', 'rspec', 'html (rails)'
    cmd = 'rubocop --format emacs'
    regex = '^.+?:(?P<line>\\d+):(?P<col>\\d+): .+?: (?P<message>.+)'
    selectors = {'html (rails)': 'source.ruby.rails.embedded.html'}
    tempfile_suffix = 'rb'
    config_file = '--config', '.rubocop.yml'

<mask token>
from SublimeLinter.lint import Linter


class Rubocop(Linter):
    """Provides an interface to rubocop."""
    syntax = 'ruby', 'ruby on rails', 'rspec', 'html (rails)'
    cmd = 'rubocop --format emacs'
    regex = '^.+?:(?P<line>\\d+):(?P<col>\\d+): .+?: (?P<message>.+)'
    selectors = {'html (rails)': 'source.ruby.rails.embedded.html'}
    tempfile_suffix = 'rb'
    config_file = '--config', '.rubocop.yml'

#
# linter.py
# Linter for SublimeLinter3, a code checking framework for Sublime Text 3
#
# Written by Aparajita Fishman
# Copyright (c) 2013 Aparajita Fishman
#
# License: MIT
#

"""This module exports the Rubocop plugin class."""

from SublimeLinter.lint import Linter


class Rubocop(Linter):

    """Provides an interface to rubocop."""

    syntax = ('ruby', 'ruby on rails', 'rspec', 'html (rails)')
    cmd = 'rubocop --format emacs'
    regex = r'^.+?:(?P<line>\d+):(?P<col>\d+): .+?: (?P<message>.+)'
    selectors = {'html (rails)': 'source.ruby.rails.embedded.html'}
    tempfile_suffix = 'rb'
    config_file = ('--config', '.rubocop.yml')
