#22463: Inconsistent code style in HTML, JavaScript, and CSS files --------------------------------------+-------------------- Reporter: treyhunner | Owner: nobody Type: Cleanup/optimization | Status: new Component: Uncategorized | Version: master Severity: Normal | Keywords: Triage Stage: Unreviewed | Has patch: 0 Easy pickings: 0 | UI/UX: 0 --------------------------------------+-------------------- There are multiple inconsistent code styles used throughout the Django project.
It appears that the overall preferred style for HTML is 2 spaces, JavaScript is 2 or 4 spaces (and sometimes tabs) and CSS is 4 spaces. It seems that all files should have newlines at the end and whitespace should be trimmed from the end of each line. I am currently working on discovering the existing code style, fixing obvious unintended inconsistencies, and creating a .editorconfig file to document the expectations for future code changes. -- Ticket URL: <https://code.djangoproject.com/ticket/22463> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this message because you are subscribed to the Google Groups "Django updates" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-updates+unsubscr...@googlegroups.com. To post to this group, send email to django-updates@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/053.4c0c55e8144e9c30a57b654cd816c357%40djangoproject.com. For more options, visit https://groups.google.com/d/optout.