Skip to content

Instantly share code, notes, and snippets.

@jdjuan
Last active March 22, 2022 10:29
Show Gist options
  • Star 7 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save jdjuan/c174b0bdd291260eb96695b994d208c9 to your computer and use it in GitHub Desktop.
Save jdjuan/c174b0bdd291260eb96695b994d208c9 to your computer and use it in GitHub Desktop.
@h3ct0rjs
Copy link

Hi, after checking this configuration, sometimes with the prettier option "prettier.arrowParens": "always", we get the following error :

● Validation Error:

  Option "arrowParens" must be of type:
    boolean
  but instead received:
    string

  Example:
  {
    "arrowParens": false
  }

to avoid this validation error, per project we should create a file called .prettierrc, it's mentioned here and here.
Best Regards,
Héctor F.

@equiman
Copy link

equiman commented Sep 4, 2018

"Auto Import" and "Sort TypeScript Imports" extension are no longer needed. Just setup this settings on VS Code:

"typescript.autoImportSuggestions.enabled": true,
"editor.codeActionsOnSave": {
        "source.organizeImports": true
 },

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