antfu / eslint-config

Anthony's ESLint config preset
https://eslint-config.antfu.me/
MIT License
3.81k stars 426 forks source link

feat(typescript): add 'ts/promise-function-async' to type aware rule #511

Closed ryoppippi closed 3 months ago

ryoppippi commented 3 months ago

This commit introduces a new rule 'ts/promise-function-async' to the TypeScript configuration. This rule enforces the use of async keyword when a function returns a Promise.

https://typescript-eslint.io/rules/promise-function-async

Description

Linked Issues

Additional context

netlify[bot] commented 3 months ago

Deploy Preview for melodious-froyo-4871f8 ready!

Name Link
Latest commit fa123d47c4e39c3601c3c9747b870e3d08622a53
Latest deploy log https://app.netlify.com/sites/melodious-froyo-4871f8/deploys/667219d7fb247d0008e0e3a5
Deploy Preview https://deploy-preview-511--melodious-froyo-4871f8.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.