Files
eslint/tests/fixtures/plugins/node_modules/eslint-plugin-throws-on-load.js
Teddy KatzandGitHub b8c24c8394 Breaking: simplify config/plugin/parser resolution (fixes #10125) (#11388)
This change updates ESLint to load plugins relative to the user's project root, and other packages relative to where they're specified in a config. This simplifies ESLint's package-loading, resulting in fewer confusing errors about missing packages. It also fixes an existing design bug where ESLint would sometimes fail to load plugins in valid setups.

Implements https://github.com/eslint/rfcs/pull/7.
2019-04-04 16:18:23 -04:00

2 lines
59 B
JavaScript

throw new Error('error thrown while loading this module');