Skip to content

Instantly share code, notes, and snippets.

View noopurphalak's full-sized avatar

Noopur Ramakant Phalak noopurphalak

View GitHub Profile
@noopurphalak
noopurphalak / prettierrc
Last active December 16, 2020 06:26
Prettier configuration for Vue projects
{
"printWidth": 80,
"tabWidth": 2,
"useTabs": false,
"semi": false,
"singleQuote": true,
"trailingComma": "all",
"bracketSpacing": true,
"requirePragma": false,
"arrowParens": "always",
@noopurphalak
noopurphalak / react prettierrc
Created February 5, 2021 14:39
React prettierrc
{
"tabWidth": 2,
"useTabs": false,
"semi": false,
"singleQuote": true,
"trailingComma": "all",
"bracketSpacing": true,
"jsxBracketSameLine": false,
"arrowParens": "avoid"
}
# A script that's needed to setup django if it's not already running on a server.
# Without this, you won't be able to import django modules
import django
import os
import sys
# Find the project base directory
BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))