-
-
Notifications
You must be signed in to change notification settings - Fork 32.4k
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
Format code properly #29
Comments
Mixture of tabs and spaces. Should probably use a Linter during development or as Git pre-commit hook. |
maybe add a editor config file too if not already there |
@totty90 👍 (IDEs like PHPStorm, etc. have plugins to recognize that automatically) |
Totally agree. The issue we've run into is with jsx files. Most of the code is plain old javascript but if you let a formatter take over, it totally hacks up the jsx. Anyone aware of a jsx compatible plugin? We are mostly ST3 users here. |
…no renderProps" cases. Fixes mui#29
https://github.com/callemall/material-ui/blob/3324f57d1b4f65d4cddb610a9c8f0c51b13d3cf6/docs/dist/js/dialog.jsx#L13
https://github.com/callemall/material-ui/blob/3324f57d1b4f65d4cddb610a9c8f0c51b13d3cf6/docs/dist/js/dialog.jsx#L33
Inconsistent indentation: https://github.com/callemall/material-ui/blob/3324f57d1b4f65d4cddb610a9c8f0c51b13d3cf6/docs/dist/js/menu.jsx vs https://github.com/callemall/material-ui/blob/3324f57d1b4f65d4cddb610a9c8f0c51b13d3cf6/docs/dist/js/dialog.jsx
The text was updated successfully, but these errors were encountered: