Skip to content

About

ESLint rule that helps sort export *

Topics

Resources

Stars

7 stars

Watchers

1 watching

Forks

Repository files navigation

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

About

ESLint rule that helps sort export *

Topics

Resources

Stars

7 stars

Watchers

1 watching

Forks

Releases

Sponsor this project

Packages

Used by

Contributors

Languages