<p dir="auto">I have hooked up Deno to lint source files on-demand. But there are numerous linting rules which we, as a company, need to ignore. Adding them to <em>every single source file</em> would be highly cumbersome, and undesirable. I will absolutely get push back from developers who will simply refuse to lint their code entirely.</p>
<p dir="auto">Is it possible to provide a global list of ignore rules for <code class="notranslate">deno lint</code> in the command line, either with an option or file listing the rules to ignore? If not, could this be added? These would have to be ignored for the purpose of reporting unused ignore rules actually embedded in the file.</p>
<p dir="auto">Currently I have to do a kludge that involves prepending each file to be linted with my global list of directives to ignore, which means (a) that error lines are out by 1 because Deno sees the ignore line as part of the input source, (b) Deno reports a bunch of <code class="notranslate">(ban-unused-ignore)</code> errors, and (c) the reported filename is <code class="notranslate">stdin</code> instead of the actual file being linted (which breaks the editor link to the file &amp; line in error).</p>
<p dir="auto">User can enable / disable rules, but not customize the rules <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="417057404" data-permission-text="Title is private" data-url="https://github.com/denoland/deno/issues/1880" data-hovercard-type="issue" data-hovercard-url="/denoland/deno/issues/1880/hovercard?comment_id=601303015&amp;comment_type=issue_comment" href="https://github.com/denoland/deno/issues/1880#issuecomment-601303015">denoland/deno#1880 (comment)</a></p>