---
source: crates/oxc_linter/src/tester.rs
---
  ⚠ eslint(max-lines): File has too many lines (3).
   ╭─[max_lines.tsx:1:1]
 1 │ var xyz;
   · ▲
 2 │ var xyz;
   ╰────
  help: Maximum allowed is 2.

  ⚠ eslint(max-lines): File has too many lines (4).
   ╭─[max_lines.tsx:1:1]
 1 │ /* a multiline comment
   · ▲
 2 │  that goes to many lines*/
   ╰────
  help: Maximum allowed is 2.

  ⚠ eslint(max-lines): File has too many lines (3).
   ╭─[max_lines.tsx:1:1]
 1 │ //a single line comment
   · ▲
 2 │ var xy;
   ╰────
  help: Maximum allowed is 2.

  ⚠ eslint(max-lines): File has too many lines (5).
   ╭─[max_lines.tsx:1:1]
 1 │ var x;
   · ▲
 2 │ 
   ╰────
  help: Maximum allowed is 2.

  ⚠ eslint(max-lines): File has too many lines (8).
   ╭─[max_lines.tsx:1:1]
 1 │ //a single line comment
   · ▲
 2 │             var xy;
   ╰────
  help: Maximum allowed is 2.

  ⚠ eslint(max-lines): File has too many lines (3).
   ╭─[max_lines.tsx:1:1]
 1 │ var x; // inline comment
   · ▲
 2 │             var y;
   ╰────
  help: Maximum allowed is 2.

  ⚠ eslint(max-lines): File has too many lines (4).
   ╭─[max_lines.tsx:1:1]
 1 │ var x; /* inline comment
   · ▲
 2 │              spanning multiple lines */
   ╰────
  help: Maximum allowed is 2.

  ⚠ eslint(max-lines): File has too many lines (8).
   ╭─[max_lines.tsx:1:1]
 1 │ //a single line comment
   · ▲
 2 │             var xy;
   ╰────
  help: Maximum allowed is 2.

  ⚠ eslint(max-lines): File has too many lines (1).
   ╭─[max_lines.tsx:1:1]
   ╰────
  help: Maximum allowed is 0.

  ⚠ eslint(max-lines): File has too many lines (1).
   ╭─[max_lines.tsx:1:1]
 1 │  
   · ▲
   ╰────
  help: Maximum allowed is 0.

  ⚠ eslint(max-lines): File has too many lines (2).
   ╭─[max_lines.tsx:1:1]
 1 │ 
   · ▲
 2 │             
   ╰────
  help: Maximum allowed is 0.

  ⚠ eslint(max-lines): File has too many lines (1).
   ╭─[max_lines.tsx:1:1]
 1 │ A
   · ▲
   ╰────
  help: Maximum allowed is 0.

  ⚠ eslint(max-lines): File has too many lines (2).
   ╭─[max_lines.tsx:1:1]
 1 │ A
   · ▲
 2 │             
   ╰────
  help: Maximum allowed is 0.

  ⚠ eslint(max-lines): File has too many lines (2).
   ╭─[max_lines.tsx:1:1]
 1 │ A
   · ▲
 2 │              
   ╰────
  help: Maximum allowed is 0.

  ⚠ eslint(max-lines): File has too many lines (2).
   ╭─[max_lines.tsx:1:1]
 1 │ A
   · ▲
 2 │              
   ╰────
  help: Maximum allowed is 1.

  ⚠ eslint(max-lines): File has too many lines (3).
   ╭─[max_lines.tsx:1:1]
 1 │ A
   · ▲
 2 │ 
   ╰────
  help: Maximum allowed is 1.

  ⚠ eslint(max-lines): File has too many lines (4).
   ╭─[max_lines.tsx:1:1]
 1 │ var a = 'a';
   · ▲
 2 │             var x
   ╰────
  help: Maximum allowed is 2.

  ⚠ eslint(max-lines): File has too many lines (3).
   ╭─[max_lines.tsx:1:1]
 1 │ var a = 'a',
   · ▲
 2 │             c,
   ╰────
  help: Maximum allowed is 2.

  ⚠ eslint(max-lines): File has too many lines (4).
   ╭─[max_lines.tsx:1:1]
 1 │ var a = 'a',
   · ▲
 2 │             c,
   ╰────
  help: Maximum allowed is 2.

  ⚠ eslint(max-lines): File has too many lines (6).
   ╭─[max_lines.tsx:1:1]
 1 │ 
   · ▲
 2 │ 
 3 │             var a = 'a',
   ╰────
  help: Maximum allowed is 2.

  ⚠ eslint(max-lines): File has too many lines (6).
   ╭─[max_lines.tsx:1:1]
 1 │ var a = 'a';
   · ▲
 2 │             var x
   ╰────
  help: Maximum allowed is 2.

  ⚠ eslint(max-lines): File has too many lines (5).
   ╭─[max_lines.tsx:1:1]
 1 │ var a = 'a';
   · ▲
 2 │             var x
   ╰────
  help: Maximum allowed is 2.

  ⚠ eslint(max-lines): File has too many lines (6).
   ╭─[max_lines.tsx:1:1]
 1 │ var a = 'a';
   · ▲
 2 │             var x
   ╰────
  help: Maximum allowed is 2.

  ⚠ eslint(max-lines): File has too many lines (7).
   ╭─[max_lines.tsx:1:1]
 1 │ var a = 'a';
   · ▲
 2 │             var x
   ╰────
  help: Maximum allowed is 2.

  ⚠ eslint(max-lines): File has too many lines (4).
   ╭─[max_lines.tsx:1:1]
 1 │ var a = 'a';
   · ▲
 2 │ 
   ╰────
  help: Maximum allowed is 2.

  ⚠ eslint(max-lines): File has too many lines (8).
   ╭─[max_lines.tsx:1:1]
 1 │ var a = 'a';
   · ▲
 2 │             var x
   ╰────
  help: Maximum allowed is 2.

  ⚠ eslint(max-lines): File has too many lines (8).
   ╭─[max_lines.tsx:1:1]
 1 │ var a = 'a';
   · ▲
 2 │ 
   ╰────
  help: Maximum allowed is 2.

  ⚠ eslint(max-lines): File has too many lines (6).
   ╭─[max_lines.tsx:1:1]
 1 │ var a = 'a';
   · ▲
 2 │             //
   ╰────
  help: Maximum allowed is 2.

  ⚠ eslint(max-lines): File has too many lines (9).
   ╭─[max_lines.tsx:1:1]
 1 │ // hello world
   · ▲
 2 │             /*hello
   ╰────
  help: Maximum allowed is 2.

  ⚠ eslint(max-lines): File has too many lines (11).
   ╭─[max_lines.tsx:1:1]
 1 │ 
   · ▲
 2 │             var x = '';
 3 │ 
   ╰────
  help: Maximum allowed is 2.
