Releases: sbaudoin/yamllint
Releases · sbaudoin/yamllint
v1.6.1
v1.6.0
Rules improvements and fixes:
- Add new rule to detect undeclared, duplicated or unused anchors
- Allow whitespace after the shebang marker
- Don't crash on redundant closing brackets or braces
- Fixed the way DOS files are handled
- Prevent error when space before is mandatory in the 'colons' rule
- Added
type: platform
config option to the 'new-lines' rule - Add a new rule 'float-values' to check floating-point numbers
- Add
forbid-in-block-sequences
option to the 'empty-values' rule - Fix failing test for missing space after colon in the 'key-duplicates' rule
- Prevent detection of 8 and 9 as octal values
- Added
allow-quoted-quotes
option to the 'quoted-strings' rule - Add
ignore-from-file
configuration option. This allows the externalisation of file filter. Be careful that the syntax in such filters still remain regex (GitHub-like filters are not yet supported). - Fix
indent-sequences
in nested collections ('indentation' rule) - Add
--list-files
command line option to the batch script - The batch now also looks for configuration file in parent directories
- Fix spurious "missing document end" errors
Fixed some code smells.
Added explicit Java module descriptor.
Added missing JavaDoc.
Updated some dependencies to the latest versions and removed some other dangling dependencies.
v1.5.0
Rules improvements and fixes:
- Added
forbid: non-empty
option to the 'braces' rule - Added
forbid: non-empty
option to the 'brackets' rule - Fixed the rule 'quoted-strings' for explicit octal recognition
- Fixed the 'line_length' rule to skip all hash signs starting comment
Fixed some code smells.
Now the library uses ServiceLoader
to load rule classes instead of Reflections.
Updated the dependencies to the latest versions.
v1.4.0
Interface improvements:
- Implements #34, new constructors with new InputStream & CharSequence methods
- New run methods with a Reader as the YAML input
Rules improvements:
- Rules now hold default values for their options
- New forbid option for the braces rule
- New forbid option for the brackets rule
- New ignore-shebangs option for the comments rule
- The rules can validate their configuration
- Support rule list options
- New required, extra-required and extra-allowed options for the QuotedStrings rule
- New allowed-values and check-keys options for the truthy rule
Fixed some code smells.
v1.3.1
v1.3.0
Various improvements and bug fixing (#19, #24, #26)
The API now offers the possibility to process a java.io.InputStream
and to pass a custom instance of org.yaml.snakeyaml.Yaml
(#20)
The Shell script offers new features (#23):
- New ption
--no-warnings
to show only the errors - New, improved output formats: 'colored', 'github', 'auto' (which becomes the default format)
- Ability to read YAML from standard input, allowing the script to be embedded in Shell pipelines
- In standard and colored outputs, the message now includes the detailed for syntax error (#15)