MelvinVermeer / eslint-plugin-no-relative-import-paths

90 stars 22 forks source link

`"allowSameFolder": true` should still catch `./../` #30

Open Samuel-Therrien-Beslogic opened 11 months ago

Samuel-Therrien-Beslogic commented 11 months ago

Config:

"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