We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
eslint v6.4.0 eslint-plugin-lodash v6.0.0
'_' is not defined.
_ is not defined is being produced as an error, seemingly regardless of the settings assigned.
I am using plugin:lodash/v3, which defines pragma as _ in its settings, yet all _ references are still causing eslint to produce an error.
plugin:lodash/v3
An example of such code:
newPersonalities = _.mapValues(newPersonalities, function (personality, name) { var result = _.assign(_.clone(baseline), personality); result['name'] = name; return result; });
The .eslintrc.json config:
{ "env": { "browser": true, "node": true, "jquery": true }, "extends": [ "eslint:recommended", "plugin:lodash/v3" ], "plugins": [ "lodash" ] }
I would expect _ to not generate an error, despite the lack of any import or require, due to the pragma setting.
import
require
The text was updated successfully, but these errors were encountered:
No branches or pull requests
eslint v6.4.0
eslint-plugin-lodash v6.0.0
'_' is not defined.
_ is not defined is being produced as an error, seemingly regardless of the settings assigned.
I am using
plugin:lodash/v3
, which defines pragma as _ in its settings, yet all _ references are still causing eslint to produce an error.An example of such code:
The .eslintrc.json config:
I would expect _ to not generate an error, despite the lack of any
import
orrequire
, due to the pragma setting.The text was updated successfully, but these errors were encountered: