Plumeria v7.6.0
2026-02-28
Added
@plumeria/eslint-plugin
- add ESLint rule format-properties
overview
Property object must be formatted with each property on its own line.
const styles = css.create({
headling: { fontSize: 24 }
})When saved, it will be formatted as follows:
const styles = css.create({
headling: {
fontSize: 24,
}
})No empty lines allowed between properties.
const styles = css.create({
headling: {
fontSize: 24,
textAligin: 'center',
}
})When saved, it will be formatted as follows:
const styles = css.create({
headling: {
fontSize: 24,
textAligin: 'center',
}
})Others
Also, from version 7.5.4, the scope of the sort-properties effect has been limited to the target. This reduces the visual stress by limiting the scope of errors and warnings.
Feedback Discussion and bug Issues reports are welcome on GitHub