department-of-veterans-affairs / va-mobile-app

"If VA were a company, it would have a flagship mobile app."
https://department-of-veterans-affairs.github.io/va-mobile-app/
17 stars 2 forks source link

CU - Update Linting to catch Relative imports #6678

Open dumathane opened 1 year ago

dumathane commented 1 year ago

Proposed Change

Relative imports make it more difficult to move screens around and can cause other types of headaches. Updating linting to fail on relative import creation should help us always avoid them.

Why Should We Prioritize?

Good to have. Consistency.

Coding Time Estimation

2

Testing Considerations

None.

Checklist

[ ] Add the front-end label tag

[ ] Attach to the Frontend epic for engineering initiatives

timwright12 commented 11 months ago

@alexandec this is a great example of the linting rules we were talking about

alexandec commented 11 months ago

@timwright12 for sure!