Skip to content

Use absolute imports in files . #777

@yashpandey06

Description

@yashpandey06

What would you like to be added:
Would enhance the code structure and with proper vision of directory

Why is this needed:
Code enhancement

Examples :
Before:
import MyComponent from '../../components/MyComponent';
import utils from '../utils';

After:

import MyComponent from 'components/MyComponent';
import utils from 'utils';

In may files we have followed relative imports , i would propose to use absolute imports

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/featureCategorizes issue or PR as related to a new feature.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions