-
Notifications
You must be signed in to change notification settings - Fork 7
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
Add eslint info #4
Comments
Hey @IonicaBizau editorconfig file should be a good idea since is supported in most new editors and in other has support to install an extension to detect the style guide for each project for example this is an
As you can see we remove all trailing whitespace for all files except markdown, since the rules are from top to bottom and are overwritten similar as happens on a
Those rules will apply for all files with extensions like css, scss, js html yml and a package.json. The rules for those files are pretty straightforward
And if we add the file into the repo every time some one else wants to contribute this rules will be applied by the editor like sublime, atom or any other editor, you can have more information about this on the editorconfig page. |
@mitogh That's amazing! ✨ Can the editorconfig file be used to beautify the code in the format I like? I'm wondering how to convert this big document in editorconfig code. 😄 |
As mentioned in the other issue Editorconfig is more about Encoding, Indentation, Line-Endings and Tabs. Everything else would have to be done by something like |
IonicaBizau/last-char#4 (comment)
The text was updated successfully, but these errors were encountered: