Skip to content

Commit

Permalink
provide for type checking
Browse files Browse the repository at this point in the history
- use `noImplicitReturns` instead of `consistent-return`
  • Loading branch information
irahopkinson committed Nov 11, 2024
1 parent 89e4d47 commit 864f611
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ module.exports = {

// #region ERB rules

// Use `noImplicitReturns` instead. See https://typescript-eslint.io/rules/consistent-return/.
'consistent-return': 'off',
'import/extensions': 'off',
// A temporary hack related to IDE not resolving correct package.json
'import/no-extraneous-dependencies': 'off',
Expand Down
1 change: 1 addition & 0 deletions src/main.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// @ts-ignore: TS2307 - Cannot find module '@papi/backend' or its corresponding type declarations
import { logger } from '@papi/backend';

export async function activate() {
Expand Down

0 comments on commit 864f611

Please sign in to comment.