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
- Host: GitHub
- URL: https://github.com/yarapolana/eslint-config-react-native-dotcode
- Owner: yarapolana
- License: mit
- Created: 2020-01-30T14:45:23.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2022-12-10T16:34:17.000Z (over 3 years ago)
- Last Synced: 2025-02-06T21:04:44.387Z (about 1 year ago)
- Topics: dotcode, eslint, eslint-config, linter, prettier, react-native, root-import, yarapolana
- Language: JavaScript
- Homepage:
- Size: 2.34 MB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 16
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
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: