Skip to content

Commit

Permalink
docs: update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
azat-io committed Jul 21, 2024
1 parent cbda714 commit 97e07f0
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 2 deletions.
Binary file modified docs/public/examples/example-alphabetical-dark.webp
Binary file not shown.
Binary file modified docs/public/examples/example-alphabetical-light.webp
Binary file not shown.
Binary file modified docs/public/examples/example-line-length-dark.webp
Binary file not shown.
Binary file modified docs/public/examples/example-line-length-light.webp
Binary file not shown.
8 changes: 6 additions & 2 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,13 @@ Sorting imports and properties in software development offers numerous benefits:

See [docs](https://perfectionist.dev).

### Alphabetical Sorting

![ESLint Plugin Perfectionist alphabetical usage example](https://raw.githubusercontent.com/azat-io/eslint-plugin-perfectionist/main/docs/public/examples/example-alphabetical-dark.webp#gh-dark-mode-only)
![ESLint Plugin Perfectionist alphabetical usage example](https://raw.githubusercontent.com/azat-io/eslint-plugin-perfectionist/main/docs/public/examples/example-alphabetical-light.webp#gh-light-mode-only)

### Sorting by Line Length

![ESLint Plugin Perfectionist line length usage example](https://raw.githubusercontent.com/azat-io/eslint-plugin-perfectionist/main/docs/public/examples/example-line-length-dark.webp#gh-dark-mode-only)
![ESLint Plugin Perfectionist line length usage example](https://raw.githubusercontent.com/azat-io/eslint-plugin-perfectionist/main/docs/public/examples/example-line-length-light.webp#gh-light-mode-only)

Expand Down Expand Up @@ -72,7 +76,7 @@ export default [
perfectionist,
},
rules: {
'perfectionist/sort-objects': [
'perfectionist/sort-imports': [
'error',
{
type: 'natural',
Expand All @@ -93,7 +97,7 @@ module.exports = {
'perfectionist',
],
rules: {
'perfectionist/sort-objects': [
'perfectionist/sort-imports': [
'error',
{
type: 'natural',
Expand Down

0 comments on commit 97e07f0

Please sign in to comment.