generated from nhcarrigan/template
feat: update rules for import package
Mainly needed to allow .js extensions for typescript ESM support.
This commit is contained in:
parent
df70330eaa
commit
57ceb9ce89
5
index.js
5
index.js
@ -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": [
|
"no-only-tests/no-only-tests": [
|
||||||
"warn",
|
"warn",
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user