https://github.com/nirtamir2/eslint-plugin-sort-export-all
ESLint rule that helps sort export *
https://github.com/nirtamir2/eslint-plugin-sort-export-all
eslint eslint-plugin eslint-rules exports javascript library sort typescript
Last synced: 3 days ago
JSON representation
ESLint rule that helps sort export *
- Host: GitHub
- URL: https://github.com/nirtamir2/eslint-plugin-sort-export-all
- Owner: nirtamir2
- Created: 2020-07-08T10:27:37.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-04-25T23:13:01.000Z (over 2 years ago)
- Last Synced: 2025-01-15T20:10:21.977Z (9 months ago)
- Topics: eslint, eslint-plugin, eslint-rules, exports, javascript, library, sort, typescript
- Language: TypeScript
- Homepage:
- Size: 653 KB
- Stars: 6
- Watchers: 2
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# eslint-plugin-sort-export-all
[![npm version][npm-version-src]][npm-version-href]
[![npm downloads][npm-downloads-src]][npm-downloads-href]ESLint rule that sorts `exports *` with autofix enabled

[Rules List](./src/rules)
## Configuration
```shell
pnpm add -D eslint-plugin-sort-export-all
```Add to your `eslint.config.js`
```js
import sortExportAllConfig from "eslint-plugin-sort-export-all/config";export default [sortExportAllConfig()];
```Or configure the plugin manually
```js
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) License © 2020-PRESENT [Nir Tamir](https://github.com/nirtamir2)
[npm-version-src]: https://img.shields.io/npm/v/eslint-plugin-sort-export-all?style=flat&colorA=080f12&colorB=1fa669
[npm-version-href]: https://npmjs.com/package/eslint-plugin-sort-export-all
[npm-downloads-src]: https://img.shields.io/npm/dm/eslint-plugin-sort-export-all?style=flat&colorA=080f12&colorB=1fa669
[npm-downloads-href]: https://npmjs.com/package/eslint-plugin-sort-export-all