diff --git a/.eslintrc.js b/.eslintrc.js index ed17ec6..b300023 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -21,6 +21,14 @@ module.exports = { 'no-use-before-define': ['error', { functions: false }], '@typescript-eslint/no-use-before-define': ['error', { functions: false }], 'import/prefer-default-export': 'off', + 'import/extensions': [ + 'error', + 'always', + { + js: 'ignorePackages', + ts: 'never', + }, + ], }, settings: { 'import/resolver': { diff --git a/index.js b/index.js index b5be546..7e2fb59 100755 --- a/index.js +++ b/index.js @@ -1,5 +1,5 @@ #! /usr/bin/env node -/* eslint-disable @typescript-eslint/no-var-requires */ +/* eslint-disable @typescript-eslint/no-var-requires, import/no-unresolved */ const yargs = require('yargs'); const wetty = require('./dist').default;