eslint-plugin-sort-export-all
TypeScript icon, indicating that this package has built-in type declarations

2.1.0 • Public • Published

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

Dependents (15)

Package Sidebar

Install

npm i eslint-plugin-sort-export-all

Weekly Downloads

26,766

Version

2.1.0

License

MIT

Unpacked Size

12.8 kB

Total Files

13

Last publish

Collaborators

  • nirtamir2