eslint-import-resolver-babel-root-import
eslint-import-resolver-babel-root-import copied to clipboard
A babel-root-import resolver for eslint-plugin-import
Here's a short recap of what's been going on: `babel-root-import` has ben unnamed to `babel-plugin-root-import` about a year ago. Since then readme and the code of this module has been...
Contents of the `package.json` imply that CircleCI is being used. This pull request forces newer version of Node.js to be used so tests wouldn't fail due to lack of ES6...
This is a follow up for #11. Most notable changes: - `.babelrc` has higher priority than `package.json` - Doesn't throw if `package.json` is missing - Top level directory correctly detected...
`babel-root-import` has ben unnamed to `babel-plugin-root-import` about a year ago. This pull request updates code, docs and description to use and refer to babel plugin under its new name and...
This PR supports passing options via lint settings. You can set custom `.babelrc` file path, or set `rootPathPrefix` and `rootPathSuffix` options as the same way babel plugin handles. If both...
When I run eslint at the command line, everything works as expected (I can do an `import Foo from '~foo'` and it warns correctly if i give a bad path.)...
The `plugin-` infix is in the babel plugin name but not the name of this resolver module.
NPM has an old version, latest version seems to work correctly but version on NPM is bugged for users with `babel-plugin-root-import`.
Give an understandable error message if 'babel-plugin-root-import' is not found in .babelrc instead of crashing with an cryptic error message (and no stack trace) that made me loose an hour...