projecte_ionic/node_modules/@angular-eslint/eslint-plugin/dist/configs/recommended--extra.json
2022-02-09 18:30:03 +01:00

40 lines
958 B
JSON
Executable file

{
"extends": "./configs/base.json",
"rules": {
"no-restricted-imports": [
"error",
{
"paths": [
{
"name": "rxjs/Rx",
"message": "Please import directly from 'rxjs' instead"
}
]
}
],
"@typescript-eslint/member-ordering": [
"error",
{
"default": [
"static-field",
"instance-field",
"static-method",
"instance-method"
]
}
],
"no-restricted-syntax": [
"error",
{
"selector": "CallExpression[callee.object.name=\"console\"][callee.property.name=/^(debug|info|time|timeEnd|trace)$/]",
"message": "Unexpected property on console object was called"
}
],
"@typescript-eslint/no-inferrable-types": [
"error",
{ "ignoreParameters": true }
],
"@typescript-eslint/no-non-null-assertion": "error",
"no-fallthrough": "error"
}
}