eslint-import-resolver-meteor
eslint-import-resolver-meteor copied to clipboard
Meteor import resolution plugin for eslint-plugin-import
This has the following improvements: * Resolves local packages * Resolves files in local packages, so it also can resolve the actual imported objects * Caches some information for better...
Currently, absolute paths like `/Users/work/dev/index.js` are mistaken as Meteor `/` imports. This breaks the `import/no-unused-modules` rules in eslint.
I don't really get the logic behind: https://github.com/clayne11/eslint-import-resolver-meteor/blob/master/index.js#L93 Why do you choose the package file when there's a colon? Because this seems to break when I have custom packages with...
When using this resolver, I get some errors on missing file extensions. **eslint config** ``` yml extends: "airbnb" parser: "babel-eslint" parserOptions: ecmaVersion: 6 ecmaFeatures: experimentalObjectRestSpread: true jsx: true sourceType: "module"...
Using this plugin along with airbnb's config, results in the error `'meteor' should be listed in the project's dependencies. Run 'npm i -S meteor' to add it import/no-extraneous-dependencies` Is this...
Let’s get started with automated dependency management for eslint-import-resolver-meteor :muscle: This pull request **updates all your dependencies to their latest version**. Having them all up to date really is the...
By Meteor docs (https://guide.meteor.com/code-style.html#eslint-installing), we should install eslint support using this command: meteor npm install --save-dev babel-eslint eslint-config-airbnb eslint-plugin-import eslint-plugin-meteor eslint-plugin-react eslint-plugin-jsx-a11y eslint-import-resolver-meteor eslint However, it gives me an error:...
Packages
Found another "case" that needs to be handled. If you are writing a meteor package you do not end up having the .meteor folder for you to be matching against....