JSPM

@yanotec/eslint-config-react-native

1.0.9
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 2
  • Score
    100M100P100Q14995F
  • License MIT

ESLint configuration for React-Native used by Yanotec.

Package Exports

    This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@yanotec/eslint-config-react-native) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

    Readme

    Yanotec ESLint config for React-Native apps

    Whats included?

    • Airbnb config base;
    • Prettier;

    Setup

    1. Install the dependencies
      npm i -D eslint @yanotec/eslint-config-react-native
    1. Create a .eslintrc.json file extending the config:

    for ts project

    {
      "extends": "@yanotec/eslint-config-react-native/ts-recommended"
    }

    or js project

    {
      "extends": "@yanotec/eslint-config-react-native/js-recommended"
    }

    You can also use a .eslintrc.js instead of JSON if you prefer.