Skip to content

toml/comma-style

enforce consistent comma style in array

  • ⚙️ 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 enforce consistent comma style in array.

Now loading...

🔧 Options

yaml
toml/comma-style:
  - error
  - last # or "first"

Same as comma-style rule option. See here for details.

🚀 Version

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

🔍 Implementation

Taken with ❤️ from ESLint core