Skip to content

Commit

Permalink
Section headers may be followed by trailing whitespace
Browse files Browse the repository at this point in the history
Make the spec conform to existing test `spaces_after_section_name`.

Fixes editorconfig/editorconfig#500
  • Loading branch information
cxw42 committed Feb 11, 2024
1 parent f7c95df commit 90b0a62
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,7 @@ Each line must be one of the following, once leading whitespace is removed
- Blank: contains nothing.
- Comment: starts with a ``;`` or a ``#``.
- Section Header: starts with a ``[`` and ends with a ``]``.
- May not use any non-whitespace characters outside of the surrounding
brackets.
- Trailing whitespace may follow the closing ``]``.
- May contain any characters between the square brackets (e.g.,
``[`` and ``]`` and even spaces and tabs are allowed).
- Forward slashes (``/``) are used as path separators.
Expand Down

0 comments on commit 90b0a62

Please sign in to comment.