forked from cerc-io/snowballtools-base
ea3addfd61
* Setup backend package with express server (#11) * Setup backend package with express server * Rename ts.config.json to tsconfig.json * Update lint setup in backend package * Add a dummy typeorm entity * Remove dummy entity --------- Co-authored-by: Prathamesh Musale <prathamesh.musale0@gmail.com> * Setup database connection (#13) * Setup database connection * Refactor database initialization into separate function * Rename index.ts to server.ts * Use debug package for logging --------- Co-authored-by: neeraj <neeraj.rtly@gmail.com> * Create entities for ER models (#14) * Add entity for domain * Add entity for environment variable * Add entity for project * Add entity for deployment * git ignore db directory * Add entity for organization * Add entity for user organization and project member * Add foreign key user and organization to project --------- Co-authored-by: neerajvijay1997 <111040298+neerajvijay1997@users.noreply.github.com> Co-authored-by: Prathamesh Musale <prathamesh.musale0@gmail.com> Co-authored-by: neeraj <neeraj.rtly@gmail.com>
30 lines
585 B
JSON
30 lines
585 B
JSON
{
|
|
"env": {
|
|
"browser": true,
|
|
"es2021": true
|
|
},
|
|
"extends": ["semistandard", "plugin:@typescript-eslint/recommended"],
|
|
"parser": "@typescript-eslint/parser",
|
|
"parserOptions": {
|
|
"ecmaVersion": 12,
|
|
"sourceType": "module"
|
|
},
|
|
"plugins": ["@typescript-eslint"],
|
|
"rules": {
|
|
"indent": [
|
|
"error",
|
|
2,
|
|
{
|
|
"SwitchCase": 1
|
|
}
|
|
],
|
|
"@typescript-eslint/no-explicit-any": "off",
|
|
"@typescript-eslint/explicit-module-boundary-types": [
|
|
"warn",
|
|
{
|
|
"allowArgumentsExplicitlyTypedAsAny": true
|
|
}
|
|
]
|
|
}
|
|
}
|