File tree 1 file changed +5
-5
lines changed
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -486,15 +486,15 @@ library = true
486
486
## Additional free data field
487
487
488
488
Third-party tools can store their configuration inside the * extra* section.
489
- This section will never be evaluated by fpm itself, the only constraint imposed it that is has to be valid TOML.
489
+ This section will never be evaluated by fpm itself, the only constraint imposed is that it has to be valid TOML.
490
490
491
491
Since the format of this section is free, only recommendations are provided here for adding data to the * extra* section.
492
492
493
- 1 . Only use subtables, never add configuration data to the toplevel of the * extra* section.
494
- Reasoning: different tools can avoid collisions of keynames by placing their data in separate subtables
493
+ 1 . Only use subtables, never add configuration data to the top level of the * extra* section.
494
+ Reasoning: different tools can avoid collisions of key names by placing their data in separate subtables.
495
495
2 . Use the concrete name of the tool rather than a generic name for the subtable.
496
- Reasoning: different formatter or linter might use conflicting keywords in a * format* or * lint* subtable.
497
- Also, users can tell from the table name which tool is preferred for usage with the project.
496
+ Reasoning: different formatter or linter tools might use conflicting keywords in a * format* or * lint* subtable.
497
+ Also, users can tell from the table name which tool is preferred to use with the project.
498
498
3 . Fpm plugins should use a subtable with their plugin name in the * extra.fpm* section to store their data.
499
499
Reasoning: following this convention provides the user of fpm plugins with one section to configure their used plugins.
500
500
4 . Use the fpm preferred style for keywords which is lowercase with dashes.
You can’t perform that action at this time.
0 commit comments