-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
45 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,9 +2,9 @@ name = YAML-Tidy | |
author = Tina Müller <[email protected]> | ||
license = Perl_5 | ||
copyright_holder = Tina Müller | ||
copyright_year = 2022 | ||
copyright_year = 2024 | ||
|
||
version = v0.7.1 | ||
version = v0.8.0 | ||
|
||
[@Filter] | ||
-bundle = @Basic | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -947,16 +947,46 @@ YAML::Tidy - Tidy YAML files | |
b: | ||
c: d | ||
For documentation see L<https://github.com/perlpunk/yamltidy> | ||
=head1 DESCRIPTION | ||
yamltidy is a linter or rather a formatter for YAML files. | ||
It can adjust formatting without removing comments or blank lines. | ||
For examples see L<https://perlpunk.github.io/yamltidy> | ||
=head1 DESCRIPTION | ||
The code can be found at L<https://github.com/perlpunk/yamltidy>. | ||
=head1 FEATURES | ||
=over | ||
=item Trim trailing spaces | ||
=item Adjust indentation | ||
=item Add or remove headers and footers | ||
=item Remove unnecessary quotes (currently according to the YAML 1.2 Core Schema) | ||
yamltidy can automatically tidy formatting in your YAML files, for example | ||
adjust indentation and remove trailing spaces. | ||
=item Serialize reused aliases | ||
For more information, see L<https://github.com/perlpunk/yamltidy>. | ||
=back | ||
=head2 Plans | ||
=over | ||
=item Add option for batch processing multiple files, e.g. by extension | ||
=item Use exit code to signal if yamltidy did any changes | ||
=item Quoting: Allow to add patterns for strings that should be quoted | ||
=item For more, see L<https://github.com/perlpunk/yamltidy/issues>. Suggestions | ||
welcome! | ||
=back | ||
=head1 METHODS | ||
|
@@ -1005,7 +1035,7 @@ Tina Müller E<lt>[email protected]<gt> | |
=head1 COPYRIGHT AND LICENSE | ||
Copyright 2020 by Tina Müller | ||
Copyright 2024 by Tina Müller | ||
This library is free software and may be distributed under the same terms | ||
as perl itself. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters