mysticatea/eslint-plugin-node

Relative paths to `node_modules` being reported as unpublished

Open

#162 opened on May 6, 2019

View on GitHub
 (9 comments) (0 reactions) (0 assignees)JavaScript (186 forks)github user discovery
acceptedenhancementhelp wanted

Repository metrics

Stars
 (956 stars)
PR merge metrics
 (PR metrics pending)

Description

Hi,

I'm getting no-unpublished-import errors with node_modules-based references:

import Typeson from '../node_modules/typeson-registry/dist/index.js';

This use of paths is convenient in the browser for examples/demos where one doesn't wish to go through a build routine and doesn't need to support older browsers.

Contributor guide