We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 00d29fb + 0012d1b commit 07a498fCopy full SHA for 07a498f
linter.py
@@ -65,6 +65,7 @@ def find_errors(self, output):
65
continue
66
67
column = match.get('column', None)
68
+ ruleId = match.get('ruleId', '')
69
if column is not None:
70
# apply line_col_base manually
71
column = column - 1
@@ -73,8 +74,8 @@ def find_errors(self, output):
73
74
match,
75
match['line'] - 1, # apply line_col_base manually
76
column,
- match['ruleId'] if match['severity'] == 2 else '',
77
- match['ruleId'] if match['severity'] == 1 else '',
+ ruleId if match['severity'] == 2 else '',
78
+ ruleId if match['severity'] == 1 else '',
79
match['message'],
80
None # near
81
)
0 commit comments