Hugo

Results 10 issues of Hugo

### Describe the bug Attributes with the same name but within different groups are not sorted. Changing the name of either of the attributes will re-enable sorting between them. ###...

bug

### What rule do you want to change? `sort-classes` ### Describe the problem The objective is to extend the custom grouping system of the `sort-classes` rule in order to respond...

enhancement

### Description https://github.com/azat-io/eslint-plugin-perfectionist/issues/201 Typings for this rule have been moved in their own file `sort-classes.types.ts`. Improves the `customGroups` API by allowing an array of `CustomGroup` to be entered rather than...

### Description A rule to sort decorators exists here: https://github.com/ElsiKora/ESLint-Plugin-Sort-Decorators. However, it doesn't benefit from the `eslint-plugin-perfectionist` options ecosystem (possibility to group elements, add custom groups, partition by comment, etc.)....

### Description Resolves #298 ### Changes Adds a `elementValuePattern` option for custom groups, allowing users to match **non-function property** values. - [x] Add tests - [x] Update documentation ### What...

### Description Based on this comment: https://github.com/azat-io/eslint-plugin-perfectionist/issues/175#issuecomment-2351483820, it would be interesting to be able to trim special characters before sorting. This way, `_z` (or `:z`) would be after `a`. This...

Fixes #300 . ### Description Fixes possible runtime errors due to function body dependencies not being considered when passing callback functions in property assignments. Issue possibly affects `static` block as...

### Description Adds this option to `sort-switch-case`. ### What is the purpose of this pull request? - [x] New Feature

### Describe the bug Optionality seems to be ignoring the notion of group: ### Code example Configuration: ``` "perfectionist/sort-object-types": ["error", { "groupKind": "optional-first", "groups": [ "callback", "unknown" ], "customGroups": {...

bug