linter-yaml

YAML provider for Linter

ferhaty

22,362

5

Bug Reports

1.1.3

MIT

GitHub

This package provides the following services:

Linter-YAML-Linting

Linter-YAML-Linting aims to provide functional and robust YAML linting functionality within Atom.

Installation

The Linter Atom package is required and the yamllint executable.

Usage

Example .yamllint configuration file

You can place the following example configuration file in your Atom project folder.

---

yaml-files:
  - '*.yaml'
  - '*.yml'
  - '.yamllint'

rules:
  braces: enable
  brackets: enable
  colons: enable
  commas: enable
  comments:
    level: warning
  comments-indentation:
    level: warning
  document-end: disable
  document-start:
    level: warning
  empty-lines: enable
  empty-values: disable
  hyphens: enable
  indentation: enable
  key-duplicates: enable
  key-ordering: disable
  line-length: enable
  new-line-at-end-of-file: enable
  new-lines: enable
  octal-values: disable
  quoted-strings: disable
  trailing-spaces: enable
  truthy:
    level: warning