Skip to content

Commit

Permalink
Chore: @typescript-eslint/no-restricted-imports fix (#514)
Browse files Browse the repository at this point in the history
  • Loading branch information
emmercm authored Jul 25, 2023
1 parent 502e91d commit e9ddcb9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@
"patterns": [{
"group": ["node:*"],
"message": "Don't use prefixes with Node.js built-ins."
}, {
}],
"paths": [{
"name": "fs",
"importNames": ["promises"],
"message": "Use util.promisify(fs.*)() instead of fs.promises.*()."
Expand Down

0 comments on commit e9ddcb9

Please sign in to comment.