Skip to content

Latest commit

 

History

History
58 lines (41 loc) · 1.19 KB

File metadata and controls

58 lines (41 loc) · 1.19 KB

✏️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:

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

In babel.config.js add the following

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

Next step:

Configure CI/CD for version control

Authors: