Skip to content

Normalize line length across all linters #102

Description

@ineedjet

Problem

Line length limits are inconsistently configured across linters:

Linter Current limit
ruff 160
RuboCop Layout/LineLength 160
yamllint disabled
pymarkdown MD013 disabled
shellcheck no rule

160 chars dates from aligning ruff with RuboCop. With modern wide monitors and common patterns like long URLs, Tailwind class lists, i18n strings, and Rails routes, even 160 can be constraining without adding value.

Proposal

  1. Pick a single canonical limit and apply it everywhere it's configurable
  2. Consider raising it (e.g. 200 or disabling entirely for code, keeping disabled for prose)
  3. Document the chosen limit and rationale in LINTERS-DEFAULTS-OVERRIDES.md

Affected configs

  • config/ruff.tomlline-length
  • config/rubocop.ymlLayout/LineLength: Max
  • config/yamllint.yml — already disabled, keep as-is
  • config/pymarkdown.json — MD013 already disabled, keep as-is

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions