lightning-browser-extension
lightning-browser-extension copied to clipboard
add eslint rule to force absolute imports
Feature description
Imports should be consistent and relative imports often break when moving files
Describe the solution
Add an eslint rule like:
"no-restricted-imports": [
"error",
{
"patterns": [".*"]
}
],
Additional aliases in tsconfig could be added to make the absolute imports shorter.
Describe alternatives
No response
Additional context
No response
Are you working on this?
None
@rolznz I would like to work on this issue, can you assign it to me. Thanks!
@reneaaron @bumi are you ok with going ahead to make this change?
Hey @rolznz plz assign it to me, i would luv to work on itππ
Sorry, we still need approval from the Alby team for this issue.
I never had real problems when moving files, but maybe I was just lucky. Would you update all files with this PR then @rolznz?