-1

I have a huge program written in TypeScript/React. I have several functions all over that I want to remake to arrow functions. Is there a way to find these functions using ESLint?

Currently I have this in ESLint config:

    "rules": {
        "react/no-unknown-property": ["error", { "ignore": ["css"] }],
        "func-style": ["error", "expression", {"allowArrowFunctions": true}],

But it's not showing functions that are not arrow functions.

jonrsharpe
  • 115,751
  • 26
  • 228
  • 437
Emma
  • 33
  • 9
  • Does this answer your question? [Only arrow functions in eslint?](https://stackoverflow.com/questions/52669325/only-arrow-functions-in-eslint) – jonrsharpe Aug 24 '23 at 12:02

0 Answers0