在基础模板中新增了oak助手的项目检查配置
This commit is contained in:
parent
2e61fd1e5c
commit
e86f2c0cff
|
|
@ -0,0 +1,21 @@
|
|||
{
|
||||
"projectDir": "./",
|
||||
"trigger": {
|
||||
"onReturnLiteral": "warn",
|
||||
"onNoAsyncFn": "error",
|
||||
"onNoAwaitContext": "error"
|
||||
},
|
||||
"i18n": {
|
||||
"onMissingKey": "error",
|
||||
"onKeyBlank": "warn"
|
||||
},
|
||||
"oakComponent": {
|
||||
"onInvalidEntity": "error",
|
||||
"onInvalidIsList": "error",
|
||||
"onMissingDataAttrs": "warn",
|
||||
"onMissingMethods": "error"
|
||||
},
|
||||
"oakPath": {
|
||||
"onInvalidPath": "error"
|
||||
}
|
||||
}
|
||||
Loading…
Reference in New Issue