소스 검색

[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 2 년 전
부모
커밋
8fa8144cab
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  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',
     {