-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add example directories similar to e2e tests
- Loading branch information
1 parent
83d5adf
commit 93c1abe
Showing
11 changed files
with
5,813 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
module.exports = { | ||
extends: ['eslint:recommended', 'plugin:@typescript-eslint/recommended'], | ||
parser: '@typescript-eslint/parser', | ||
plugins: ['@typescript-eslint', 'typeorm-typescript'], | ||
root: true, | ||
rules: { | ||
'typeorm-typescript/enforce-column-types': 'error', | ||
'typeorm-typescript/enforce-relation-types': 'error', | ||
'typeorm-typescript/enforce-consistent-nullability': 'error', | ||
}, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
import { Entity, Column } from 'typeorm'; | ||
|
||
@Entity({ name: 'User' }) | ||
export class User { | ||
@Column({ type: 'string' }) | ||
name: number; | ||
} |
Oops, something went wrong.