mysticatea/eslint-plugin-node

Relative paths to `node_modules` being reported as unpublished

Open

#162 opened on May 6, 2019

 (9 comments) (0 reactions) (0 assignees)JavaScript (189 forks)github user discovery
acceptedenhancementhelp wanted

Repository metrics

Stars
 (955 stars)
PR merge metrics
 (No merged PRs in 30d)

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