eslint-plugin-sort

Auto-fixable sort rules for ESLint.

ISC License

Downloads
19.2K
Stars
25
Committers
4

Bot releases are visible (Hide)

eslint-plugin-sort - v3.0.2 Latest Release

Published by github-actions[bot] 7 months ago

3.0.2 (2024-03-27)

Bug Fixes

  • imports: Always add relative imports to the other sort group (38b4c9a), closes #62
eslint-plugin-sort - v3.0.1

Published by github-actions[bot] 7 months ago

3.0.1 (2024-03-22)

Bug Fixes

  • imports: Fix side-effect sort group with import = require() syntax (fa8de6e)
eslint-plugin-sort - v3.0.0

Published by github-actions[bot] 7 months ago

3.0.0 (2024-03-22)

⚠ BREAKING CHANGES

  • Update minimum supported ESLint version to 8

Features

  • Update minimum supported ESLint version to 8 (2d360d9)
eslint-plugin-sort - v2.12.0

Published by github-actions[bot] 7 months ago

2.12.0 (2024-03-21)

Features

  • imports: Don't attempt to sort when there is code between imports (b835ea6), closes #53

Bug Fixes

  • imports: Add support for import = require() syntax (9b2b552), closes #54
eslint-plugin-sort - v2.11.0

Published by github-actions[bot] about 1 year ago

2.11.0 (2023-10-15)

Features

eslint-plugin-sort - v2.10.0

Published by github-actions[bot] over 1 year ago

2.10.0 (2023-04-16)

Features

  • Add type as a sort group (6e98c60)
  • Add support for sorting string enums (0d0a131), closes #50
eslint-plugin-sort - v2.9.0

Published by github-actions[bot] over 1 year ago

2.9.0 (2023-04-14)

Features

  • Add caseSensitive and natural options to imports and exports rules (8fb2928), closes #46
eslint-plugin-sort - v2.8.0

Published by github-actions[bot] over 1 year ago

2.8.0 (2023-04-14)

Bug Fixes

  • Fix case sensitive sorting when not using natural compare (2191831)

Features

  • Add string-unions rule to sort string unions (c2ea732)
eslint-plugin-sort - v2.7.1

Published by github-actions[bot] over 1 year ago

2.7.1 (2023-03-11)

Bug Fixes

  • Support comments with sort group separators (5bebad3)
eslint-plugin-sort - v2.7.0

Published by github-actions[bot] over 1 year ago

2.7.0 (2023-03-11)

Features

eslint-plugin-sort - v2.6.0

Published by github-actions[bot] over 1 year ago

2.6.0 (2023-03-11)

Features

  • Convert project to ESM. This should not impact the plugin. (e5a3793)
eslint-plugin-sort - v2.5.0

Published by github-actions[bot] over 1 year ago

2.5.0 (2023-03-11)

Bug Fixes

Features

  • case sensitivity and natural order options for all relevant rules (e514658)
  • case sensitivity and natural order options for object properties (9999dda)
eslint-plugin-sort - v2.4.0

Published by github-actions[bot] over 2 years ago

2.4.0 (2022-01-19)

Features

  • Add groups option to exports rule for advanced sort control (73ef625)
eslint-plugin-sort - v2.3.1

Published by github-actions[bot] almost 3 years ago

2.3.1 (2022-01-10)

Bug Fixes

  • Attach error to first unsorted node (53b98fe)
eslint-plugin-sort - v2.3.0

Published by github-actions[bot] almost 3 years ago

2.3.0 (2022-01-09)

Features

  • Add sort/export-members rule! (4304ed8)
  • Add sort/exports and sort/export-members to the recommended config (0529b77)
  • Add sort/exports rule! (eebefa9)
eslint-plugin-sort - v2.2.1

Published by github-actions[bot] almost 3 years ago

2.2.1 (2022-01-09)

Bug Fixes

  • Sort nested type properties (cc9e677), closes #21
eslint-plugin-sort - v2.2.0

Published by github-actions[bot] almost 3 years ago

2.2.0 (2022-01-09)

Features

  • Add type-properties sort rule to sort TypeScript properties! (d087363)
eslint-plugin-sort - v2.1.0

Published by github-actions[bot] almost 3 years ago

2.1.0 (2022-01-09)

Features

eslint-plugin-sort - v2.0.0

Published by github-actions[bot] almost 3 years ago

2.0.0 (2022-01-08)

Bug Fixes

  • Fix sort group schema validation error (fd99318)

Features

  • Remove sort group separator (58db371)
  • Rename options (4923645)
  • Report a single error and fix for destructuring properties rule (9cee6d6)
  • Report a single error and fix for import members rule (2b21c44)
  • Report a single error for each node group when sorting object properties (ab779fa)
  • Report a single error when sorting imports (0e3a7bb)

BREAKING CHANGES

  • The import sort group separator has been removed with no replacement.
  • Renamed imported-variables to import-members and renamed destructured-properties to destructuring-properties
eslint-plugin-sort - v1.5.0

Published by github-actions[bot] over 4 years ago

1.5.0 (2020-07-09)

Features

  • remove sort group separator by default (8aea136)
Package Rankings
Top 4.05% on Npmjs.org
Badges
Extracted from project README
Build status npm semantic-release
Related Projects