mysticatea/eslint-plugin-node

Relative paths to `node_modules` being reported as unpublished

Open

#162 aperta il 6 mag 2019

Vedi su GitHub
 (9 commenti) (0 reazioni) (0 assegnatari)JavaScript (186 fork)github user discovery
acceptedenhancementhelp wanted

Metriche repository

Star
 (956 star)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

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.

Guida contributor