eslint-import-resolver-patternplate
v1.0.0
Published
eslint-import integration fro patternplate
Downloads
1
Readme
eslint-import integration for patternplate
eslint-import-resolver-patternplate
patternplate uses a custom resolver algorithm to manage dependencies.
This causes false positives for pattern files linted using
eslint-plugin-import, which can be solved by using eslint-import-resolver-patternplate
.
Installation
npm install --save-dev patternplate \
eslint \
eslint-plugin-import \
eslint-import-resolver-patternplate
Usage
Specify both the node
(default) and patternplate
resolvers in package.json
. See the docs of eslint-plugin-import for other options.
{
"eslintConfig": {
"settings": {
"import/resolver": {
"node": {},
"patternplate": {}
}
}
}
}
Built by (c) marionebl. Released under the MIT license.