eslint-import-resolver-deno

1.0.5 • Public • Published

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

Package Sidebar

Install

npm i eslint-import-resolver-deno

Weekly Downloads

178

Version

1.0.5

License

GPL-3.0-or-later

Unpacked Size

51.6 kB

Total Files

13

Last publish

Collaborators

  • jgchk