0.1.8 • Published 2 years ago

@muchobien/eslint-config-react-native v0.1.8

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years ago

eslint-config-react-native

Use

Configure tsconfig.json

{
  "extends": "@muchobien/eslint-config-react-native/tsconfig.base",
  "compilerOptions": {
    "baseUrl": ".",
    "paths": {
      "@app": ["./src"],
      "@app/*": ["./src/*"]
    }
  },
  "exclude": [
    "node_modules",
    "babel.config.js",
    "metro.config.js",
    "jest.config.js",
    "commitlint.config.js"
  ]
}

Configure .eslintrc.js

module.exports = {
  root: true,
  extends: '@muchobien/eslint-config-react-native',
};