Quellcode durchsuchen

[frontend] Change typescript eslint rule from warning to error

This one checks missing return types and args, for some reason it's still a warning after the previous commit to change all warnings to errors.
Johan Åhlén vor 1 Jahr
Ursprung
Commit
8fa8144cab
1 geänderte Dateien mit 1 neuen und 0 gelöschten Zeilen
  1. 1 0
      .eslintrc.js

+ 1 - 0
.eslintrc.js

@@ -61,6 +61,7 @@ const jsTsVueRules = {
   '@typescript-eslint/no-explicit-any': 'error',
   '@typescript-eslint/no-this-alias': 'error',
   '@typescript-eslint/no-unused-vars': 'error',
+  '@typescript-eslint/explicit-module-boundary-types': 'error',
   'vue/max-attributes-per-line': [
     'error',
     {