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

Allow import paths to end with an extension in VSCode #54

Open
cinderlee opened this issue Sep 5, 2023 · 0 comments
Open

Allow import paths to end with an extension in VSCode #54

cinderlee opened this issue Sep 5, 2023 · 0 comments

Comments

@cinderlee
Copy link
Contributor

The "import/extensions": "off" rule was introduced in .eslintrc.json to ignore the eslint error where extensions were missing in the import paths. When initially attempting to add extensions to the end of import paths (such as import AddItem from './components/AddItem.tsx) the VSCode IDE + typescript configuration indicates an error, like the one below.

Screen Shot 2023-09-04 at 6 16 55 PM

We should investigate and aim to remove the rule to allow for import paths toe end with an extension in VSCode and other IDEs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant