# toml/table-bracket-spacing

enforce consistent spacing inside table brackets

  • ⚙️ 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 consistent spacing inside table brackets.

Now loading...

# 🔧 Options

toml/table-bracket-spacing:
  - error
  - never # or "always"
  • "never" ... Disallows spaces inside table brackets. It is default.
  • "always" ... Requires one or more spaces or newlines inside table brackets

Same as array-bracket-spacing (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)