Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add linting rule to enforce absolute import paths #347

Closed
rikukissa opened this issue Nov 19, 2018 · 2 comments
Closed

Add linting rule to enforce absolute import paths #347

rikukissa opened this issue Nov 19, 2018 · 2 comments
Labels
Priority: medium This needs to be done at some point

Comments

@rikukissa
Copy link
Member

rikukissa commented Nov 19, 2018

import something from '../../../../something' vs import something from 'src/something'

@rikukissa rikukissa added 💡Enhancement Priority: medium This needs to be done at some point labels Nov 19, 2018
@euanmillar
Copy link
Collaborator

CRA v3 upgrade will be problematic as currently you cannot override their linting with custom rules. Very annoying. Also path must start from src onwards. facebook/create-react-app#6871

@euanmillar
Copy link
Collaborator

Resolved in: #836

gitbook-com bot pushed a commit that referenced this issue Jun 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Priority: medium This needs to be done at some point
Projects
None yet
Development

No branches or pull requests

2 participants