1.0.5 • Published 4 years ago

eslint-import-resolver-deno v1.0.5

Weekly downloads
2
License
GPL-3.0-or-later
Repository
github
Last release
4 years ago

eslint-import-resolver-deno

deno license npm

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