Commit Graph

3 Commits (579a975b7056f15e5a5a88cbe9fda9bdd6dccaae)

Author SHA1 Message Date
Nick Burke 1b379628d7 key-duplicates: Handle merge keys (<<)
Merge keys are described here: http://yaml.org/type/merge.html
They shouldn't be considered as duplicated keys.

Fixes https://github.com/adrienverge/yamllint/issues/88
8 years ago
Adrien Vergé 8fca8a7a33 Config: Allow 'enable' keyword for rules
In the same manner as 'disable', 'enable' allows setting a rule on
without worrying about its options.
10 years ago
Adrien Vergé f6bab05e8a Rules: Add the 'key-duplicates' rule 10 years ago