Skip to content

Commit

Permalink
Encourage function return types
Browse files Browse the repository at this point in the history
  • Loading branch information
samayer12 committed Oct 31, 2024
1 parent 7453d6a commit adfacf1
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,15 @@
"max-statements": ["warn", { "max": 20 }, { "ignoreTopLevelFunctions": true }],
"no-invalid-this": "warn"
},
"overrides": [
{
"files": ["*.ts"],
"excludedFiles": "*.test.ts",
"rules": {
"@typescript-eslint/explicit-function-return-type": "warn"
}
}
],
"plugins": ["@typescript-eslint"],
"ignorePatterns": [
"src/templates",
Expand Down

0 comments on commit adfacf1

Please sign in to comment.