1

I made a React Native App (made by create-react-native-app). I installed the eslint linter, but I got no idea how can I config it? (https://www.npmjs.com/package/eslint-plugin-react-native) I don't have the slightest idea where to put the:

{
  "plugins": [
    "react",
    "react-native"
  ]
}

config.

Istvan Orban
  • 1,607
  • 3
  • 18
  • 34

1 Answers1

2

type in your directory where you want to use it

  eslint --init

After running eslint --init, you’ll have a .eslintrc file in your directory. there can you config whatever u want

furtehr information on: