watcher-ts/packages/uni-watcher/.eslintrc.json

37 lines
829 B
JSON
Raw Normal View History

{
"env": {
"browser": true,
"es2021": true
},
"extends": [
"semistandard",
"plugin:@typescript-eslint/recommended"
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": 12,
"sourceType": "module"
},
"plugins": [
"@typescript-eslint"
],
"rules": {
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/explicit-module-boundary-types": [
"warn",
{
"allowArgumentsExplicitlyTypedAsAny": true
}
]
},
"overrides": [
{
"files": ["*.test.ts", "test/*.ts"],
"rules": {
"no-unused-expressions": "off",
"no-prototype-builtins": "off"
}
}
]
}