-
-
Notifications
You must be signed in to change notification settings - Fork 797
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
[legacy-framework] (newapp) Add .editorconfig
and .vscode
extension recomendations
#2142
Conversation
Size Change: +1.61 kB (+1%) Total Size: 235 kB
ℹ️ View Unchanged
|
Thanks! I think we should also hide these files from the list of created files printed during |
Just a thought 💡 Maybe we should also add an |
I didn't find how to do it without harcoding it in the main |
@JuanM04 hardcoding in the generator class is fine I think |
@flybayer I sort of did it, but I found that all the contents from |
@JuanM04 ok sweet. I think dot files aren't copied by default. Because we have the below for gitignore in app-generator.
Maybe there's a way to make it copy dot files by default. Otherwise we have to do the above move trick. |
@flybayer what's weird is that Maybe is something of the local build, but I don't know how to test it |
@JuanM04 the issue is our build script doesn't copy the contents of So we need to workaround this somehow. We could use patch-package to patch cpx. |
I'll do that. Thank you, I was driving crazy 🤣 |
@flybayer I just forked |
Sweet, thanks! |
Looks like we have a test failure |
I don't know where this error comes from. It "was introduced" in this commit. I'm not sure if I should modify anything, because I could break something. |
@JuanM04 the failure introduced by that commit is this:
And then this commit 105d720 added another failure which you can solve by mocking out the fs dependencies like we are already doing in |
@flybayer I did a small change to Edit: I hate you, Windows-node15, why won't you give a green check? Why aren't you more like you brother, Windows-node12? |
Yay!! |
.editorconfig
and .vscode
extension recomendations
.editorconfig
and .vscode
extension recomendations.editorconfig
and .vscode
extension recomendations
What are the changes and their implications?
Since VSCode is the most used JavaScript editor, I think we should add recommended extensions and configuration to new apps.
The extensions are:
The default configuration is:
Also, there is a basic EditorConfig!