Package Exports
- eslint-plugin-perfectionist
- eslint-plugin-perfectionist/configs/recommended-alphabetical
- eslint-plugin-perfectionist/configs/recommended-line-length
- eslint-plugin-perfectionist/configs/recommended-natural
- eslint-plugin-perfectionist/package.json
Readme
ESLint Plugin Perfectionist
ESLint plugin for code formatting in perfectionist style.
Installation
You'll first need to install ESLint:
npm install --save-dev eslintNext, install eslint-plugin-perfectionist:
npm install --save-dev eslint-plugin-perfectionistRules
| Name | Description | 💼 | 🛠 |
|---|---|---|---|
| sort-array-includes | Enforce sorted arrays before include method | ✅ | 🔧 |
| sort-enums | Enforce sorted TypeScript enums | ✅ | 🔧 |
| sort-interfaces | Enforce sorted interface properties | ✅ | 🔧 |
| sort-jsx-props | Enforce sorted JSX props | ✅ | 🔧 |
| sort-map-elements | Enforce sorted Map elements | ✅ | 🔧 |
| sort-named-exports | Enforce sorted named exports | ✅ | 🔧 |
| sort-named-imports | Enforce sorted named imports | ✅ | 🔧 |
| sort-object-keys | Enforce sorted object keys | ✅ | 🔧 |
| sort-union-types | Enforce sorted union types | ✅ | 🔧 |
See also
@azat-io/eslint-config- Collection of ESLint configs
License
MIT © Azat S.