Socket
Socket
Sign inDemoInstall

eslint-plugin-import-order-alphabetical

Package Overview
Dependencies
116
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    eslint-plugin-import-order-alphabetical

eslint-plugin-import/order, but with alphabetical sorting


Version published
Weekly downloads
2.2K
decreased by-14.6%
Maintainers
1
Install size
1.65 MB
Created
Weekly downloads
 

Readme

Source

eslint-plugin-import-order-alphabetical

eslint-plugin-import/order, but with alphabetical sorting. Based on this PR. Because this one seems to be going nowhere and doesn't even have autofixing.

Note: the autofixing doesn't always work. But it's better than nothing! :)

PRs very welcome. And even better if we could get this back into eslint-plugin-import, of course.

Usage

$ npm install --save-dev eslint-plugin-import-order-alphabetical
or
$ yarn add --dev eslint-plugin-import-order-alphabetical

Then in your .eslintrc.js:

plugins: ["eslint-plugin-import-order-alphabetical"],
rules: {
  "import-order-alphabetical/order": "error",
},

For more detailed options, see eslint-plugin-import/order.

Note

❤️ Thank you to the people working on eslint-plugin-import and related projects. It's not easy to maintain open source and I really do appreciate the work that goes into it. ❤️

FAQs

Last updated on 23 Jul 2020

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc