Skip to content
🗺import resolver for ember
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
test
.gitignore
.prettierignore
.prettierrc
CHANGELOG.md
LICENSE
README.md
index.js
package-lock.json
package.json
util.js
yarn.lock

README.md

eslint-import-resolver-ember

🗺 import resolver for ember

Installation

npm install eslint-import-resolver-ember --save-dev

Usage

rules: {
  'import/no-unresolved': [2, { ignore: ['^\@ember', 'htmlbars-inline-precompile'] }]
},
settings: {
  'import/resolver': 'eslint-import-resolver-ember',
},

If you have custom paths that you would like to expose simply add options to settings:

settings: {
  'import/resolver': 'eslint-import-resolver-ember': {
    customModuleMapping: {
      'foo': '@gabrielcsapo/foo'
    },
    customPathMappings: {
      'testing-foo/*': 'testing-foo/addons/*'
    }
  },
},
You can’t perform that action at this time.