# toml/array-element-newline

enforce line breaks between array elements

  • ⚙️ This rule is included in "plugin:toml/standard".
  • 🔧 The --fix option on the command line (opens new window) can automatically fix some of the problems reported by this rule.

# 📖 Rule Details

This rule enforces line breaks between array elements.

Now loading...

# 🔧 Options

toml/array-element-newline:
  - error
  - always # or "never" or "consistent"
  - multiline: true
    minItems: null

Same as array-element-newline (opens new window) rule option. See here (opens new window) for details.

# 🚀 Version

This rule was introduced in eslint-plugin-toml v0.1.0

# 🔍 Implementation

Taken with ❤️ from ESLint core (opens new window)