Skip to content

Commit 0b656bc

Browse files
committed
docs: update readme
1 parent 1367317 commit 0b656bc

File tree

5 files changed

+6
-2
lines changed

5 files changed

+6
-2
lines changed
-5.8 KB
Loading
-7.56 KB
Loading
-6.85 KB
Loading
-6.86 KB
Loading

readme.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,13 @@ Sorting imports and properties in software development offers numerous benefits:
3737

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

40+
### Alphabetical Sorting
41+
4042
![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)
4143
![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)
4244

45+
### Sorting by Line Length
46+
4347
![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)
4448
![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)
4549

@@ -72,7 +76,7 @@ export default [
7276
perfectionist,
7377
},
7478
rules: {
75-
'perfectionist/sort-objects': [
79+
'perfectionist/sort-imports': [
7680
'error',
7781
{
7882
type: 'natural',
@@ -93,7 +97,7 @@ module.exports = {
9397
'perfectionist',
9498
],
9599
rules: {
96-
'perfectionist/sort-objects': [
100+
'perfectionist/sort-imports': [
97101
'error',
98102
{
99103
type: 'natural',

0 commit comments

Comments
 (0)