JSPM

  • Created
  • Published
  • Downloads 1162124
  • Score
    100M100P100Q195532F
  • License MIT

ESLint plugin for code formatting in perfectionist style

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

Version

ESLint plugin for code formatting in perfectionist style.

Installation

You'll first need to install ESLint:

npm install --save-dev eslint

Next, install eslint-plugin-perfectionist:

npm install --save-dev eslint-plugin-perfectionist

Rules

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

License

MIT © Azat S.