-
Notifications
You must be signed in to change notification settings - Fork 2
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
feedback re: recent developments (ast branch et al) #8
Comments
You're welcome! I hope that it will improve quality-of-life for developing in Coffeescript, I know I've been enjoying using ESLint + Prettier 👍 Glad you figured out how to get the plugin running in your project. I'd started writing the README spec'ing the dependency as I'd recommend updating your Coffeescript dependency to latest I'm curious from your stack trace, did you get ESLint running inside VSCode?
Could you give an example of code/ESLint config that is failing? I can do a deeper dive on how global vars work in ESLint but will be helpful to have a failing example
Ok I hadn't seen this breaking while "dogfooding" the ESLint plugin since this rule was turned off for Prettier. But turned it on and was able to recreate some failures of So that should be fixed, I released as Thanks for the early feedback! |
"eslint.validate": [
(...)
{
"language": "coffeescript",
"autoFix": true
},
],
(...)
"[coffeescript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
IMHO getting top notch integration with vscode (the emacs of this century - like it or not) may be all that is needed to... All the Best, António |
Ok based on reading through eslint/eslint#11333 it looks like ESLint isn't tracking assignments to So looks like as of now the recommended solution would be eg:
Cool I will install VSCode and try adjusting
Yes I agree VSCode is # 1 on the list. Let me know if you have any idea of what a top notch integration with VSCode would probably look like (ie if there's a better option than just adjusting |
Wow ya that was really easy to get ESLint and Prettier working in VSCode. Added instructions to this README and the Prettier plugin README, thanks! |
@helixbass fwiw / fyi just filled microsoft/vscode-eslint#825 to plead for fix of only the 'major' issue i found so far in vscode's side && thanks again :-) |
@helixbass
First of all let me give you an huge THANK YOU for your epic effort on this (plus ast branch of coffeescript and prettier plugin)! It's a much needed thing that will IMHO inject new life in the coffeescript ecosystem and make it much more viable long term :-)
Now, two small bugs ...
coffee/keyword-spacing: 1
breaks with ...relevant stuff in package.json is ...
all the best,
António
The text was updated successfully, but these errors were encountered: