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