antfu / eslint-plugin-command

Comment-as-command for one-off codemod with ESLint.
https://eslint-plugin-command.antfu.me/
MIT License
190 stars 11 forks source link

feat(no-type): new command #6

Closed sxzz closed 4 months ago

sxzz commented 4 months ago

Description

Removes TypeScript type annotations.

/// no-type
const foo: string = 'foo'

Will be converted to:

const foo = 'foo'

Linked Issues

Additional context

netlify[bot] commented 4 months ago

Deploy Preview for resonant-bonbon-a310e6 ready!

Name Link
Latest commit c0547da64c5ba9ff0c49f4f801a1431165db5d5c
Latest deploy log https://app.netlify.com/sites/resonant-bonbon-a310e6/deploys/66350e9236cd2c0008119202
Deploy Preview https://deploy-preview-6--resonant-bonbon-a310e6.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.