feat: update rules for import package

Mainly needed to allow .js extensions for typescript ESM support.
This commit is contained in:
Naomi Carrigan 2024-06-25 18:39:10 -07:00
parent df70330eaa
commit 57ceb9ce89
No known key found for this signature in database
GPG Key ID: 7019A402E94A9808

View File

@ -71,6 +71,11 @@ module.exports = {
},
},
],
// This is necessary due to the combination of TS and such
"import/no-unresolved": "allow",
"import/no-self-import": "error",
"import/no-anonymous-default-export": "warn",
"import/no-useless-oath-segments": "warn",
"no-only-tests/no-only-tests": [
"warn",
{