chore: update deps
This commit is contained in:
parent
3b4879f9d9
commit
d0a40bc0ed
5 changed files with 241 additions and 315 deletions
|
|
@ -109,46 +109,6 @@
|
|||
|
||||
"unused-imports/no-unused-imports": "error",
|
||||
|
||||
"path-alias/no-relative": "error",
|
||||
|
||||
"@typescript-eslint/no-restricted-imports": [
|
||||
"error",
|
||||
{
|
||||
"paths": [
|
||||
// shrug, couldn't find a better way since the pattern one doesn't work:
|
||||
// ["utils", "!utils/*"]
|
||||
{
|
||||
"name": "./utils",
|
||||
"message": "Do not import from index. This might cause issues. Import from the specific file instead.",
|
||||
"allowTypeImports": true
|
||||
},
|
||||
{
|
||||
"name": "../utils",
|
||||
"message": "Do not import from index. This might cause issues. Import from the specific file instead.",
|
||||
"allowTypeImports": true
|
||||
},
|
||||
{
|
||||
"name": "../../utils",
|
||||
"message": "Do not import from index. This might cause issues. Import from the specific file instead.",
|
||||
"allowTypeImports": true
|
||||
},
|
||||
{
|
||||
"name": "../../../utils",
|
||||
"message": "Do not import from index. This might cause issues. Import from the specific file instead.",
|
||||
"allowTypeImports": true
|
||||
},
|
||||
{
|
||||
"name": "../../../../utils",
|
||||
"message": "Do not import from index. This might cause issues. Import from the specific file instead.",
|
||||
"allowTypeImports": true
|
||||
},
|
||||
{
|
||||
"name": "../../../../../utils",
|
||||
"message": "Do not import from index. This might cause issues. Import from the specific file instead.",
|
||||
"allowTypeImports": true
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
"path-alias/no-relative": "error"
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue