Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

eslint-config-react-native-matipl01

MatiPl01231MIT3.2.0TypeScript support: included

eslint config for React Native projects

readme

eslint-config-react-native-matipl01

npm version

ESLint and TypeScript configuration used in my React Native projects.

Prerequisites

To use this config in a project, you should install eslint and typescript libraries yourself in your project.

Installation

  • yarn
yarn add -D eslint-config-react-native-matipl01
  • npm
npm install eslint-config-react-native-matipl01 --save-dev

Usage

ESLint (v9 and newer)

Extend this config in your eslint configuration file (more information about eslint configuration file formats is in docs):

// eslint.config.js
import eslintConfig from 'eslint-config-react-native-matipl01'

export default eslintConfig

You can add your custom configs in the following way:

// eslint.config.js
import eslintConfig from 'eslint-config-react-native-matipl01'

export default [
  ...eslintConfig,
  // <custom config>
]

ESLint (before v9)

The old eslint API will be no longer supported. Install old version of the package to use it with older ESLint versions (the latest supporting ESLint 8 is 2.1.0)

[!NOTE]
If you use a custom prettier config, eslint will show suggestions based on your prettier configuration stored in the .pretterrc file.

TypeScript

Extend the TypeScript config in your tsconfig.json file:

{
  "extends": "eslint-config-react-native-matipl01/tsconfig.base"
}

changelog

3.2.0 (2025-06-13)

Features

3.1.0 (2024-07-26)

Features

  • Upgrade dependencies, add react plugin with v9 support (#121) (5dd72d4)

3.0.2 (2024-04-21)

Bug Fixes

  • index.d.ts reference in package.json (#84) (9021a30)

3.0.1 (2024-04-21)

Bug Fixes

  • Remove rules that don't support ESLint v9 yet, add index.d.ts (#83) (837d807)

3.0.0 (2024-04-20)

chore

  • Change nodeLinker to pnpm to fix semantic-release missing deps (#80) (f5528a6)

Features

  • Add code quality and testing github actions (#73) (9aa619f)

BREAKING CHANGES

  • The new eslint v9 version uses the new API that is not compatible with v8 and previous releases.

2.1.0 (2023-12-23)

Features

  • Improve currently used rules, add more hooks checks (#55) (eeab52e)

2.0.2 (2023-10-19)

Bug Fixes

  • Add missing deps, remove unnecessary extend (#23) (0da5258)

2.0.1 (2023-10-19)

Bug Fixes

1.0.3 (2023-10-09)

Bug Fixes

1.0.2 (2023-09-26)

Bug Fixes

  • Prettier and eslint-plugin-prettier compatibility issue (#5) (04624c9)

1.0.1 (2023-09-26)

Bug Fixes

1.0.0 (2023-09-26)

Bug Fixes

Features