leo-buneev / eslint-plugin-sort-keys-fix

Fork of https://eslint.org/docs/rules/sort-keys that allows automatic fixing
95 stars 22 forks source link

How come the minKeys is not supported? #26

Open giacomocerquone opened 3 years ago

giacomocerquone commented 3 years ago

Hi, is there a particular reason why the minKeys option is not supported? If you could give a little bit of context about this, I'd be pleased to contribute :)

leo-buneev commented 3 years ago

No particular reason - that option didn't exist when this plugin was created, I'll be thankful for PR which updates dependencies and adds the option.

giacomocerquone commented 3 years ago

@leo-buneev I'm about to since I've created a new linting rule based on yours for internal use in my company that supports the minkeys option :)

giacomocerquone commented 3 years ago

27

namnm commented 2 years ago

I fixed this in my fork and also some other critical bugs as well. Look like this repo is not in maintenance anymore, if anyone still interested in this sort keys plugin please try mine: https://github.com/namnm/eslint-plugin-sort-keys

Install: eslint-plugin-sort-keys Rule: sort-keys/sort-keys-fix