making readable code

This page summarizes the projects mentioned and recommended in the original post on /r/learnjavascript

Our great sponsors
  • SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • javascript

    JavaScript Style Guide

    You might think about installing ESLint and an opinionated style config like AirBnB. It will be a bit of a pain to set up, and your code will not initially conform to the rules, but it is a programmatic why to ensure a certain amount of consistency in the style. You can also modify the rules rather than your code. I usually work with a modified version of AirBnB installed.

  • ESLint

    Find and fix problems in your JavaScript code.

    You might think about installing ESLint and an opinionated style config like AirBnB. It will be a bit of a pain to set up, and your code will not initially conform to the rules, but it is a programmatic why to ensure a certain amount of consistency in the style. You can also modify the rules rather than your code. I usually work with a modified version of AirBnB installed.

  • SurveyJS

    Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.

  • prettier

    Prettier is an opinionated code formatter.

    In addition you might look at Prettier. I hate it because a lot of the choices it makes are based on line length, which is sort of arbitrary. But it is the most powerful auto-formatter out there. It will completely reformat your code automatically, allowing you to forget about it. The output is usually pretty readable, but like I said, that line length thing can lead to some weird choices.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts