Skip to content

Commit

Permalink
use self.settings not self.get_view_settings
Browse files Browse the repository at this point in the history
  • Loading branch information
braver authored Jun 26, 2019
1 parent 2e368ef commit daff8c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion linter.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def run(self, cmd, code):
"""
is_sublime_file = os.path.splitext(self.filename)[1].startswith('.sublime-')

if self.get_view_settings().get('strict') and not is_sublime_file:
if self.settings.get('strict') and not is_sublime_file:
strict = True
else:
strict = False
Expand Down

0 comments on commit daff8c9

Please sign in to comment.