repo_description: LoopBack makes it easy to build modern API applications that require complex integrations.
repo_topics: api dependency-injection framework hacktoberfest ioc loopback nodejs openapi repository rest service-proxy strongloop swagger typescript
code: // Copyright IBM Corp. and LoopBack contributors 2019,2020. All Rights Reserved.
  // Node module: loopback-next
  // This file is licensed under the MIT License.
  // License text available at https://opensource.org/licenses/MIT
  
  module.exports = {
    extends: [
      './packages/eslint-config/eslintrc.js',
      'plugin:prettier/recommended',
    ],
    plugins: ['prettier'],
    overrides: [
      {
        files: ['**/*.ts'],
        rules: {
          /*
           * The mocha plugin reports the following signature as a violation of
           * `mocha/handle-done-callback` (misinterpreting `this` as `done`).
           *
           * See https://github.com/lo1tuma/eslint-plugin-mocha/issues/270
           *
           * ```ts
           * before(async function setupApplication(this: Mocha.Context) {
           *   this.timeout(6000);
           *   // ...
           * }
           * ```
           */
          'mocha/handle-done-callback': 'off',
        },
      },
    ],
  };
  