An open API service indexing awesome lists of open source software.

https://github.com/yarapolana/eslint-config-react-native-dotcode

✏️My eslint configuration for React Native projects
https://github.com/yarapolana/eslint-config-react-native-dotcode

dotcode eslint eslint-config linter prettier react-native root-import yarapolana

Last synced: about 1 year ago
JSON representation

✏️My eslint configuration for React Native projects

Awesome Lists containing this project

README

          

✏️eslint-config-react-native-dotcode


Eslint configuration for React Native projects



This is my first npm package to help lint React Native projects.

## Usage

```
yarn add eslint-config-react-native-dotcode --dev
```

In `.eslintrc`:

```json
{
"extends": "react-native-dotcode"
}
```

In `babel.config.js` add the following

```json
module.exports = {
"..."
"plugins": [
[
"babel-plugin-root-import", {"rootPathSuffix": "src"},
],
],
"..."
}
```

### Next step:

Configure CI/CD for version control

### Authors: