We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
no-confusing-arrow
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
#752 looks like fixed, right? I think we can enable it back.
The text was updated successfully, but these errors were encountered:
Good call - we'd need to enable the allowParens option.
allowParens
Sorry, something went wrong.
5ded256
For some reason this is still not working for me.
const appIsUnlocked = (resolve, reject) => (req, res, next) => (isUnlocked(req) === true) ? resolve(req, res, next) : reject(req, res, next);
Using:
"eslint": "^2.5.1", "eslint-config-airbnb": "^6.2.0", "eslint-plugin-react": "^4.2.3",
I'd be happy to provide you with more info if needed.
Edit Never mind, had to read the docs a bit better :) This works:
const appIsUnlocked = (resolve, reject) => (req, res, next) => (isUnlocked(req) === true ? resolve(req, res, next) : reject(req, res, next));
[Fix] re-enable no-confusing-arrow rule, with allowParens option …
bf1ece6
…enabled. Per airbnb#752, fixes airbnb#791.
No branches or pull requests
#752 looks like fixed, right? I think we can enable it back.
The text was updated successfully, but these errors were encountered: