New issue
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
Complaining about arrow functions even with "esversion": "6" #2966
Comments
|
|
I believe the problem here is that the value of "esversion" must be a number, not a string. Can you change your .jshintrc file for read as follows, and let us know if that fixes the problem for you? {
"esversion": 6
} |
Thanks @jugglinmike , that did the trick... |
Glad to hear it! For the record, I do not consider this a satisfactory state of affairs. JSHint should issue an error for invalid input, but also accept equivalent String values. I'm going to leave this issue "closed" because we already have one to track this problem: gh-2902. |
Hound CI Error 'arrow function syntax (=>)' is only available in ES6 (use 'esversion: 6'). I am using eslintrc |
Did you mean |
* Meetup Page is created - [x] Meetup page markup and css added - [x] meetup.yml is added and adjusted required data - [x] Font is changed * Meetups Page is created * Meetups page design lil bit changed * All data fill is completed * React Js is used for meetup page - [x] meetups page is removed we can switch meetup from current meetup page - [x] Message is added if there is no any next or previous meetup - [x] Avatar from twitter username is shown * Remove js:lint from default rake test as we’re using es6 and react syntax now * Disable jshit check on hound * Use .jshitrc to specify es6 version jshint/jshint#2966 (comment) * Some issues fixed - [x] prev and next icon hidden issue is fixed - [x] size of arrow is increased - [x] videos, slides and demo link are added - [x] padding is reduce in seperator * Keyboard key binding and Route paramater is completed - [x] All the suggestions from Rohit dai is completed now * .eslintrc is added * Eslint file added: `.eslintrc.json` * Deleted tweet cache file * Use custom eslintrc for houndci * Use single quote as per eslint rule * Add guard check for eslint * Houndci-bot Style/SymbolArray: Use %i or %I for an array of symbols.
I'm using this:
Atom 1.7.3
linter 1.11.11
linter-jshint 2.1.0
My
.jshintrc
file only contains"esversion": "6"
and it is located one level up my project's folder. I'm still getting the following message:'arrow function syntax (=>)' is only available in ES6 (use 'esversion: 6')
Ideas?
The text was updated successfully, but these errors were encountered: