0.1.1 • Published 3 years ago
@oncoursesystems/eslint-config-react-native v0.1.1
@oncoursesystems/eslint-config-react-native
OnCourse Systems' React Native ESLint configuration and rules.
Installation
With npm:
npm install eslint @oncoursesystems/eslint-config-react-native --save-devOr using yarn:
yarn add eslint @oncoursesystems/eslint-config-react-native -DSetup
Create an .eslintrc.js file with the following:
{
"extends": ["@oncoursesystems/eslint-config-react-native"]
}Usage
Add the following script to your package.json:
{
"scripts": {
"lint": "eslint ."
}
}and run the linter with:
yarn lint