eslint-import-resolver-zombiebox
ESLint import plugin resolver for ZombieBox framework.
Resolves import aliases set by ZombieBox. It works with ZombieBox itself, its addons and applications.
Usage
Install plugin:
npm install --save-dev eslint-import-resolver-zombiebox
Add it to .eslintrc.js
:
moduleexports = settings: 'import/resolver': 'zombiebox'
Configuration
packageJson
option sets the path to project package.json file. If s not present, resolver will try to find it automatically from current working directory.
configs
allows to specify config file paths or objects as accepted by Application constructor.
moduleexports = settings: 'import/resolver': 'zombiebox': packageJson: '/path/to/package.json' configs: '/path/to/app/config.js' foo: 'bar'