Skip to content

Instantly share code, notes, and snippets.

@ashx3s
Last active January 3, 2022 23:01
Show Gist options
  • Select an option

  • Save ashx3s/94b786a87c5ed52e81382cd467542ae4 to your computer and use it in GitHub Desktop.

Select an option

Save ashx3s/94b786a87c5ed52e81382cd467542ae4 to your computer and use it in GitHub Desktop.
Setting up Prettier and Eslint

Linting and Formatting

Without proper setup, eslint and prettier can make coding extremely frustrating. However this is not how it's supposed to be. Your formatter shouldn't get in your way, when working properly it should catch and tweak the details that you miss, or organize long lines of code into easily readable pieces.

Depending on your project and team requirements, your linting and formatting setup will be a bit different. This article will explore some of the important setup decisions that can save you hours of time debugging and formatting your code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment