tact icon indicating copy to clipboard operation
tact copied to clipboard

Tidy imports in the Tact codebase

Open jubnzv opened this issue 4 months ago • 1 comments

We could add additional yarn rules to sort and report unused imports. For example, this configuration sorts them alphabetically and places local imports above external ones:

https://github.com/nowarp/misti/blob/f95260498be6801beb0364e16ebd8034784d436c/.eslintrc.js#L28-L52

This setup allows ESLint to automatically fix the import order and address some other warnings by running yarn eslint --fix:

https://github.com/nowarp/misti/blob/f95260498be6801beb0364e16ebd8034784d436c/package.json#L32

jubnzv avatar Sep 24 '24 04:09 jubnzv