eslint-import-resolver-deno
v1.0.5
Published
an eslint-plugin-import resolver for Deno
Downloads
1,108
Maintainers
Readme
eslint-import-resolver-deno
Deno-style module resolution plugin for eslint-plugin-import
🦕
install
# npm
npm i -D eslint-plugin-import eslint-import-resolver-deno
# yarn
yarn add -D eslint-plugin-import eslint-import-resolver-deno
config
add the following to your .eslintrc
:
{
"plugins": ["import"],
"settings": {
"import/resolver": "eslint-import-resolver-deno"
}
}
import maps
to use an import map, specify the path to your import_map.json in settings:
"import/resolver": {
"eslint-import-resolver-deno": {
"importMap": "./path/to/import_map.json"
}
}
contributing
- pull requests are welcome!
- for major changes, open an issue first to discuss what you would like to change