diffplug / diffplug/spotless

Unable to set SORT_PROPERTIES_ALPHABETICALLY in Jackson's config

Open
#2,044 3 comments 1 reaction 0 assignees View on GitHub
enhancement
Dominant language
Java
Stars
5.6k
Forks
559
Avg merge
1d 13h
Merged PRs (30d)
34

Description

It'd be nice to format json/yaml files with alphabetically sorted properties for consistency reasons, unfortunately Jackson's `SORT_PROPERTIES_ALPHABETICALLY` is a `MapperFeature` so it cannot be enabled through Spotless right now because it only accepts `SerializationFeature`.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.