Skip to content

Latest commit

 

History

History
74 lines (54 loc) · 937 Bytes

File metadata and controls

74 lines (54 loc) · 937 Bytes
id MDS022
name max-file-length
status ready
description File must not exceed maximum number of lines.

MDS022: max-file-length

File must not exceed maximum number of lines.

  • ID: MDS022
  • Name: max-file-length
  • Status: ready
  • Default: enabled, max: 300
  • Fixable: no
  • Implementation: source
  • Category: meta

Settings

Setting Type Default Description
max int 300 Maximum lines allowed

Config

rules:
  max-file-length:
    max: 500

Disable:

rules:
  max-file-length: false

Examples

Good

# Title

Short file within the limit.

One more line.

Bad

# Title

Short text.
Extra line.