diff --git a/index.mjs b/index.mjs index 0dd00db..e4c47a0 100644 --- a/index.mjs +++ b/index.mjs @@ -7,7 +7,6 @@ export default tseslint.config( ...tseslint.configs.recommended, eslintPluginPrettierRecommended, { - files: ['**/*.js', '**/*.ts'], rules: { '@typescript-eslint/consistent-type-imports': [ 'error', diff --git a/package.json b/package.json index 3ec07e4..3f12023 100644 --- a/package.json +++ b/package.json @@ -8,6 +8,7 @@ "files": [ "index.mjs" ], + "main": "index.mjs", "peerDependencies": { "eslint": "^9.0.0" },