DEV Community

Discussion on: How to setup a React.JS Project with TypeScript, ESLint and Prettier

Collapse
 
insuusvenerati profile image
Sean

Why are these rules set?

"@typescript-eslint/explicit-function-return-type": "off",
"@typescript-eslint/no-unused-vars": "off"
Enter fullscreen mode Exit fullscreen mode
Collapse
 
renatobentorocha profile image
Renato Rocha

Hi Sean!

"@typescript-eslint/explicit-function-return-type": "off", -> disable the requirement of a return type in functions.
"@typescript-eslint/no-unused-vars": "off" -> disable alert about unused vars.

Best regards