<!-- ⚠️⚠️ Do Not Delete This! feature_request_template ⚠️⚠️ --> <!-- Please read our Rules of Conduct: https://opensource.microsoft.com/codeofconduct/ --> <!-- Please search existing issues to avoid creating duplicates. --> <!-- Describe the feature you'd like. --> Works like https://github.com/import-js/eslint-plugin-import/blob/main/docs/rules/no-relative-parent-imports.md The following patterns are considered problems: ```js /** * in my-project/lib/a.js */ import bar from '../main' // Import parent file using a relative path ``` The following patterns are NOT considered problems: ```js /** * in my-project/main.js */ import foo from 'foo' // Import package using module path import a from './lib/a' // Import child file using relative path /** * in my-project/lib/a.js */ import b from './b' // Import sibling file using relative path ```