fictivekin / eslint-config-fk

MIT License
0 stars 0 forks source link

Add `simple-import-sort` rule #10

Closed ashur closed 2 years ago

ashur commented 2 years ago

Summary

This PR adds the simple-import-sort plugin and simple-import-sort/imports rule as an error.

Usage

This plugin only supports ESM import statements.

Projects that use CJS-style require statements should disable this rule (and, optionally, use a require-friendly plugin instead).

Tasks

Reviewer Notes

This would introduce a new build-breaking error state, which may be a candidate for a major version bump

desandro commented 2 years ago

Nice, Thank you!