Skip to content

Instantly share code, notes, and snippets.

@tctien342
Last active February 21, 2022 16:03
Show Gist options
  • Save tctien342/9c6c4b02725f82742f1df2568e850423 to your computer and use it in GitHub Desktop.
Save tctien342/9c6c4b02725f82742f1df2568e850423 to your computer and use it in GitHub Desktop.
FCS Environment config
# top-most EditorConfig file
root = true
# Unix-style newlines with a newline ending every file
[*]
end_of_line = lf
insert_final_newline = true
indent_style = space
indent_size = 4
node_modules
dist
{
"printWidth": 140,
"tabWidth": 4,
"semi": true,
"singleQuote": true,
"quoteProps": "as-needed",
"jsxSingleQuote": false,
"trailingComma": "all",
"bracketSpacing": true,
"jsxBracketSameLine": true,
"arrowParens": "always",
"proseWrap": "never"
}

Current config:

  • Use space 4
  • Single quote

Add all above file to your root project, need prettier extension and EditorConfig extension to be installed

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