Skip to content

toml/inline-table-curly-spacing

enforce consistent spacing inside braces

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

📖 Rule Details

This rule enforces consistent spacing inside braces of inline tables.

Now loading...

🔧 Options

yaml
toml/inline-table-curly-spacing:
  - error
  - always # or "never"
  - arraysInObjects: false
    objectsInObjects: false

Same as object-curly-spacing rule option. See here for details.

🚀 Version

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

🔍 Implementation

Taken with ❤️ from ESLint core