Skip to content

Commit

Permalink
Init project and add postgresRepository
Browse files Browse the repository at this point in the history
  • Loading branch information
georg-schwarz committed Nov 19, 2020
1 parent b3910f2 commit 76c397d
Show file tree
Hide file tree
Showing 6 changed files with 2,118 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
module.exports = {
extends: 'standard-with-typescript',
parserOptions: {
project: './tsconfig.json'
},
rules: {
'max-len': ['error', { code: 120, ignoreUrls: true }]
},
overrides: [
{
files: ['*.ts', '*.tsx'],
rules: {
'@typescript-eslint/ban-types': ['error', {
types: {
// By default type `object` is banned because of https://github.com/microsoft/TypeScript/issues/21732.
// This issue is not really effecting us and we use `object` heavily, therefore `object` is allowed.
object: false
}
}],
'@typescript-eslint/restrict-template-expressions': ['error', {
allowNumber: true, allowAny: true, allowBoolean: true
}]
}
}
]
}
Loading

0 comments on commit 76c397d

Please sign in to comment.