586ac419e4
- 修改??运算符为|| 并添加到eslint忽略规则中
20 lines
548 B
YAML
20 lines
548 B
YAML
env:
|
|
browser: true
|
|
es2021: true
|
|
extends:
|
|
- standard-with-typescript
|
|
parserOptions:
|
|
ecmaVersion: latest
|
|
sourceType: module
|
|
parser: '@typescript-eslint/parser'
|
|
project:
|
|
- ./tsconfig.json
|
|
- ./tsconfig.node.json
|
|
rules:
|
|
'@typescript-eslint/strict-boolean-expressions': off
|
|
'@typescript-eslint/comma-dangle': off
|
|
'@typescript-eslint/space-before-function-paren': off
|
|
'@typescript-eslint/explicit-function-return-type': off
|
|
'@typescript-eslint/no-unsafe-argument': off
|
|
'@typescript-eslint/prefer-nullish-coalescing': off
|