def settings

bend-lint-rules@0.2.0.0 · layout/format.bend:2430

import bend-lint-rules@0.2.0.0/layout/format.bend as Format
import Base
import bend-lint-api@0.2.0.0/linter/lint.bend as Lint

2430def settings(+here: Lint.Here) -> Settings:
2431  Settings{
2432    Lint.Value.number(Lint.Here.option(here, "tabWidth")),
2433    width_of(Lint.Here.option(here, "wrapAtWidth")),
2434    newline_of(Lint.Value.text(Lint.Here.option(here, "endOfLine")), Lint.Here.text(here))
2435  }

Uses (8)

Used by (1)