azat-io / eslint-plugin-perfectionist

🦄 ESLint plugin for sorting various data such as objects, imports, types, enums, JSX props, etc.
https://eslint-plugin-perfectionist.azat.io
MIT License
1.62k stars 28 forks source link

Bug: (sort-intersection-types) wrong version information in the rule documentation #133

Closed SimonGolms closed 3 weeks ago

SimonGolms commented 3 weeks ago

Describe the bug

After updating to v2.9.0, I received some error messages regarding the newly added sort-intersection-types rule, which I was not familiar with until then. However, the documentation mentions that the rule already exists since version v0.4.0. I was now a bit confused and suspect that this is a copy/paste error?

Code example

https://github.com/azat-io/eslint-plugin-perfectionist/blob/ca69069bd3f44e7d603d429a8cda2630aacc3e7b/docs/rules/sort-intersection-types.md?plain=1#L141-L144

ESLint version

v8.57.0

ESLint Plugin Perfectionist version

v2.9.0

Additional comments

No response

Validations