-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
An alphabetical order rule? #1406
Comments
Why is it useful? What rule are you referring to? Either way it’d be an option to the existing rule, not a new one. |
Hi, we are a typescript team and are migrating to eslint from the tslint. Thanks, I will make such a rule when I have time. |
Closing as a duplicate of #1311. |
I also like very much the alphabetical order of the Would you accept PR for that? |
This would be a useful addition to the package. For example in a React project we can already sort props, propTypes, defaultProps and more alphabetically with rules such as For unordered lists of code such as imports, exports and objects, it makes sense to group and sort these so there's some consistent order throughout a project. |
One challenge is that bindingless imports ( However, yes, after some thought I think it does make sense to add this as an option to the |
…n groups Fixes import-js#1406. Fixes import-js#389. Closes import-js#629. Closes import-js#1105. Closes import-js#1360. Co-Authored-By: dannysindra <als478@cornell.edu> Co-Authored-By: Radim Svoboda <radim.svoboda@socialbakers.com> Co-Authored-By: Soma Lucz <luczsoma@gmail.com> Co-Authored-By: Randall Reed, Jr <randallreedjr@gmail.com> Co-Authored-By: Jordan Harband <ljharb@gmail.com>
Hi!
I found that the alphabetical order import rule is very useful.
Do you mind I add a new rule for that?
Or an option to existed order rule?
The text was updated successfully, but these errors were encountered: