eslint-config-os-team-react-native
TypeScript icon, indicating that this package has built-in type declarations

1.2.24 • Public • Published

eslint-config-os-team-react-native NPM version

ESLint rules for React Native, including TypeScript.

Installation

Step 1. Install the package

Install the exact version (-E) of the package in devDependencies (-D) using the following command:

yarn add -DE eslint-config-os-team-react-native

Make sure eslint, jest, and react packages are installed.

Step 2. Extend your ESLint config

const reactNativeConfig = require('eslint-config-os-team-react-native');

module.exports = [
  ...reactNativeConfig.configs.recommended,
  // Your config
  {
    files: ['**/*.{js,mjs,cjs,ts,jsx,tsx}'],
    rules: {},
  },
];

Package Sidebar

Install

npm i eslint-config-os-team-react-native

Weekly Downloads

279

Version

1.2.24

License

MIT

Unpacked Size

9.04 kB

Total Files

7

Last publish

Collaborators

  • oxilor