-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.eslintrc.yml
29 lines (29 loc) · 937 Bytes
/
.eslintrc.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
extends:
# https://github.com/standard/eslint-config-standard-with-typescript
- 'standard-with-typescript'
# https://github.com/typescript-eslint/typescript-eslint/blob/master/docs/getting-started/linting/README.md
- 'plugin:@typescript-eslint/recommended-requiring-type-checking'
plugins:
- eslint-plugin-tsdoc
env:
commonjs: true
es6: true
node: true
jest: true
globals:
Atomics: readonly
SharedArrayBuffer: readonly
parserOptions:
ecmaVersion: 2019
project: './tsconfig.test.json'
sourceType: module
rules:
'@typescript-eslint/consistent-type-assertions':
- 'error'
- { assertionStyle: 'as', objectLiteralTypeAssertions: 'allow-as-parameter' }
'@typescript-eslint/consistent-type-definitions': off
'@typescript-eslint/consistent-type-imports': error
'@typescript-eslint/indent': off
'@typescript-eslint/require-await': off
'@typescript-eslint/return-await': off
'tsdoc/syntax': error