title: esLint rule for return type of the Angular project
body: <p>I would like to have an <code>esLint</code> rule to notify about the return type of the method. But I was not able to do that. I have tried this <code>&quot;@angular-eslint/explicit-function-return-type&quot;: &quot;on&quot;</code> But no effect.Any clue and also good rules for the new Angular project?</p>
  <p>I would like to have an error (rule) here hence no return type;</p>
  <pre><code>signUp() 
  {
  }
  </code></pre>
  <p>I like to adjust it like so after warning or error</p>
  <pre><code>signUp() : void
  {
  }
  </code></pre>
  <p><strong>MRE:</strong></p>
  <p>Please see it here: <a href="https://github.com/Sampath-Lokuge/esLint" rel="nofollow noreferrer">https://github.com/Sampath-Lokuge/esLint</a></p>
  <p>This is an <code>Ionic/ Angular</code> project. You can see this file: <a href="https://github.com/Sampath-Lokuge/esLint/blob/main/src/app/folder/folder.page.ts" rel="nofollow noreferrer">https://github.com/Sampath-Lokuge/esLint/blob/main/src/app/folder/folder.page.ts</a></p>
  <p>I have default file like so:</p>
  <p><code> &quot;@angular/core&quot;: &quot;~11.2.0&quot;,</code></p>
  <p><code>.eslintrc.json</code></p>
  <pre><code>{
    &quot;root&quot;: true,
    &quot;ignorePatterns&quot;: [
      &quot;projects/**/*&quot;
    ],
    &quot;overrides&quot;: [
      {
        &quot;files&quot;: [
          &quot;*.ts&quot;
        ],
        &quot;parserOptions&quot;: {
          &quot;project&quot;: [
            &quot;tsconfig.json&quot;,
            &quot;e2e/tsconfig.json&quot;
          ],
          &quot;createDefaultProgram&quot;: true
        },
        &quot;extends&quot;: [
          &quot;plugin:@angular-eslint/ng-cli-compat&quot;,
          &quot;plugin:@angular-eslint/ng-cli-compat--formatting-add-on&quot;,
          &quot;plugin:@angular-eslint/template/process-inline-templates&quot;
        ],
        &quot;rules&quot;: {
          &quot;@angular-eslint/component-class-suffix&quot;: [
            &quot;error&quot;,
            {
              &quot;suffixes&quot;: [
                &quot;Page&quot;,
                &quot;Component&quot;
              ]
            }
          ],
          &quot;@angular-eslint/component-selector&quot;: [
            &quot;error&quot;,
            {
              &quot;type&quot;: &quot;element&quot;,
              &quot;prefix&quot;: &quot;app&quot;,
              &quot;style&quot;: &quot;kebab-case&quot;
            }
          ],
          &quot;@angular-eslint/directive-selector&quot;: [
            &quot;error&quot;,
            {
              &quot;type&quot;: &quot;attribute&quot;,
              &quot;prefix&quot;: &quot;app&quot;,
              &quot;style&quot;: &quot;camelCase&quot;
            }
          ]
        }
      },
      {
        &quot;files&quot;: [
          &quot;*.html&quot;
        ],
        &quot;extends&quot;: [
          &quot;plugin:@angular-eslint/template/recommended&quot;
        ],
        &quot;rules&quot;: {}
      }
    ]
  }
  </code></pre>
  <p><code>package.json</code></p>
  <pre><code>{
    &quot;name&quot;: &quot;A&quot;,
    &quot;version&quot;: &quot;0.0.1&quot;,
    &quot;author&quot;: &quot;A&quot;,
    &quot;homepage&quot;: &quot;A&quot;,
    &quot;scripts&quot;: {
      &quot;ng&quot;: &quot;ng&quot;,
      &quot;start&quot;: &quot;ng serve&quot;,
      &quot;build&quot;: &quot;ng build&quot;,
      &quot;test&quot;: &quot;ng test&quot;,
      &quot;lint&quot;: &quot;ng lint&quot;,
      &quot;e2e&quot;: &quot;ng e2e&quot;
    },
    &quot;private&quot;: true,
    &quot;dependencies&quot;: {
      &quot;@angular/animations&quot;: &quot;^11.2.13&quot;,
      &quot;@angular/common&quot;: &quot;~11.2.0&quot;,
      &quot;@angular/core&quot;: &quot;~11.2.0&quot;,
      &quot;@angular/forms&quot;: &quot;~11.2.0&quot;,
      &quot;@angular/platform-browser&quot;: &quot;~11.2.0&quot;,
      &quot;@angular/platform-browser-dynamic&quot;: &quot;~11.2.0&quot;,
      &quot;@angular/router&quot;: &quot;~11.2.0&quot;,
      &quot;@capacitor/core&quot;: &quot;2.4.7&quot;,
      &quot;@ionic/angular&quot;: &quot;^5.5.2&quot;,
      &quot;aws-amplify&quot;: &quot;^3.3.27&quot;,
      &quot;primeicons&quot;: &quot;^4.1.0&quot;,
      &quot;primeng&quot;: &quot;^11.4.0&quot;,
      &quot;rxjs&quot;: &quot;~6.6.0&quot;,
      &quot;tslib&quot;: &quot;^2.0.0&quot;,
      &quot;zone.js&quot;: &quot;~0.10.2&quot;
    },
    &quot;devDependencies&quot;: {
      &quot;@angular-devkit/build-angular&quot;: &quot;~0.1102.4&quot;,
      &quot;@angular-eslint/builder&quot;: &quot;2.0.2&quot;,
      &quot;@angular-eslint/eslint-plugin&quot;: &quot;2.0.2&quot;,
      &quot;@angular-eslint/eslint-plugin-template&quot;: &quot;2.0.2&quot;,
      &quot;@angular-eslint/template-parser&quot;: &quot;2.0.2&quot;,
      &quot;@angular/cli&quot;: &quot;~11.2.4&quot;,
      &quot;@angular/compiler&quot;: &quot;~11.2.0&quot;,
      &quot;@angular/compiler-cli&quot;: &quot;~11.2.0&quot;,
      &quot;@angular/language-service&quot;: &quot;~11.2.0&quot;,
      &quot;@capacitor/cli&quot;: &quot;2.4.7&quot;,
      &quot;@ionic/angular-toolkit&quot;: &quot;^3.1.1&quot;,
      &quot;@types/node&quot;: &quot;^12.11.1&quot;,
      &quot;@typescript-eslint/eslint-plugin&quot;: &quot;4.16.1&quot;,
      &quot;@typescript-eslint/parser&quot;: &quot;4.16.1&quot;,
      &quot;eslint&quot;: &quot;^7.6.0&quot;,
      &quot;eslint-plugin-import&quot;: &quot;2.22.1&quot;,
      &quot;eslint-plugin-jsdoc&quot;: &quot;30.7.6&quot;,
      &quot;eslint-plugin-prefer-arrow&quot;: &quot;1.2.2&quot;,
      &quot;ts-node&quot;: &quot;~8.3.0&quot;,
      &quot;typescript&quot;: &quot;~4.0.2&quot;
    },
    &quot;description&quot;: &quot;A&quot;
  }
  </code></pre>