Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

unable to resolve path to module eslint(import/no-unresolved) absoute path

{
    ...
    settings: {
        ...
        'import/resolver': {
            node: {
                extensions: ['.js', '.jsx', '.ts', '.tsx'],
                moduleDirectory: ['node_modules', 'src/'],
            },
        },
    }
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #unable #resolve #path #module #absoute #path
ADD COMMENT
Topic
Name
8+9 =