🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more

eslint-plugin-sort-export-all

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-plugin-sort-export-all

ESLint rule that helps sort export *

2.1.0
latest
Version published
Maintainers
0
Created

eslint-plugin-sort-export-all

npm version npm downloads

ESLint rule that sorts exports * with autofix enabled

Example

Rules List

Configuration

pnpm add -D eslint-plugin-sort-export-all

Add to your eslint.config.js

import sortExportAllConfig from "eslint-plugin-sort-export-all/config";

export default [sortExportAllConfig()];

Or configure the plugin manually

import eslintPluginSortExportAll from "eslint-plugin-sort-export-all";

export default [
  {
    plugins: {
      "sort-export-all": eslintPluginSortExportAll,
    },
    rules: {
      "sort-export-all/sort-export-all": "warn",
    },
  },
];

License

MIT License © 2020-PRESENT Nir Tamir

FAQs

Package last updated on 25 Feb 2025

Did you know?

Socket

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