eslint-plugin-no-relative-import-paths icon indicating copy to clipboard operation
eslint-plugin-no-relative-import-paths copied to clipboard

Results 20 eslint-plugin-no-relative-import-paths issues
Sort by recently updated
recently updated
newest added

Hi! 👋 Firstly, thanks for your work on this project! 🙂 Today I used [patch-package](https://github.com/ds300/patch-package) to patch `[email protected]` for the project I'm working on. Here is the diff that solved...

I use some kind of fractal design pattern plus atomic design for my apps and usually it is pretty normal to have imports one or two folders up like `'../MyComponent'`...

implements the work done by @richard-lopes-ifood here https://github.com/MelvinVermeer/eslint-plugin-no-relative-import-paths/issues/12 Works flawlessly as far as I can see

Hi, love this plugin! I like the option `rootDir`, would it be possible to add another option keep the `rootDir` in the import if the import terminates with a direct...

Add Support for inline imports ```js const Test = React.lazy(() => import("../../Test")) ``` Template: [import-js/eslint-plugin-import](https://github.com/import-js/eslint-plugin-import/blob/main/utils/moduleVisitor.js)

Hi @MelvinVermeer and thanks for the useful plugin! The problem: We use ESLint's auto-fixing in IDEs to run after each save. Unfortunately, we've got multiple aliases setup in `tsconfig.json` and...

Hey, first of all, thanks for the great plugin! What do you think about having an `allowParentFolder` option to allow `'../Component'` imports? It could be particularly useful in tests (e.g....

Config: ```json "no-relative-import-paths/no-relative-import-paths": [ "error", { "allowSameFolder": true } ] ``` Catches the following: `../path/to/relative/parent/import` But not: `./../path/to/relative/parent/import`

In my project I'm having issues formating "export" lines. It works normally in imports. ![image](https://github.com/MelvinVermeer/eslint-plugin-no-relative-import-paths/assets/50811402/d9e68148-8c82-4bc9-bf70-d4c7d70a1bcc) My eslint config: ![image](https://github.com/MelvinVermeer/eslint-plugin-no-relative-import-paths/assets/50811402/097f7947-12d9-4096-a309-a0b967464a99)

In my TypeScript project, strangely it only works for type imports: ![eslint-01](https://user-images.githubusercontent.com/5174526/235301448-dc3d93e8-914b-4a20-b2a7-5c2fe12b3de4.png) My ESLint configuration: ![Captura de tela 2023-04-29 085832](https://user-images.githubusercontent.com/5174526/235301463-d0930b8a-a29c-42f8-a1e8-bc9f83747779.png) I thought it might be a conflict with the "unused-imports"...