Skip to content

Instantly share code, notes, and snippets.

@ganobrega
Created March 5, 2023 20:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ganobrega/58f4ebf2e4b3e3898df21ae1d97940c6 to your computer and use it in GitHub Desktop.
Save ganobrega/58f4ebf2e4b3e3898df21ae1d97940c6 to your computer and use it in GitHub Desktop.
Prettier Configs
{
"importOrder": [
"^@kubernetes?.+$",
"^electron?.+$",
"^react?.+$",
"^antd?.+$",
"^@ant-design?.+$",
"^@reduxjs?.+$",
"^@rjsf?.+$",
"^(?![@\\.]).+$",
"^@constants",
"^@models",
"^@redux",
"^@organisms",
"^@molecules",
"^@atoms",
"^@components",
"^@hooks",
"^@utils",
"^@assets",
"^@styles",
"^@src",
"^@.+$",
"^(?!\\.+\\/styled)^[./]?.+$",
"^\\.+\\/styled$"
],
"importOrderSeparation": true,
"importOrderSortSpecifiers": true,
"singleQuote": true,
"arrowParens": "avoid",
"bracketSpacing": false,
"semi": true,
"trailingComma": "es5"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment