diff --git a/linters.py b/linters.py index 1d1923e0..d11cef20 100644 --- a/linters.py +++ b/linters.py @@ -400,6 +400,11 @@ def _process_one_line(self, filename, output_line, contents_lines): if '@Nolint' in bad_line: return 0 + # Allow long lines in fixture files, which just hold test data. + if (' Emax-len ' in output_line and + filename.endswith(('.fixture.js', 'fixture.jsx'))): + return 0 + print self._maybe_add_arc_fix(output_line, bad_line) return 1