The ESLint configuration for Airship TypeScript React Native projects.

Usage no npm install needed!

<script type="module">
  import airshipEslintConfigReactNativeTypescript from 'https://cdn.skypack.dev/@airship/eslint-config-react-native-typescript';


Airship ESLint TypeScript React Native Config

npm package

This is the shared ESLint configuration file for React Native TypeScript projects at Airship.


yarn add -D typescript @airship/eslint-config-react-native-typescript


In your ESLint config file, e.g. .eslintrc:

  "parserOptions": {
    "project": "./tsconfig.json" // Don't forget to set this up :-)
  "extends": ["@airship/eslint-config-react-native-typescript"]

If you need a starter tsconfig.json you can use this one:

  "compilerOptions": {
    "allowJs": true,
    "allowSyntheticDefaultImports": true,
    "esModuleInterop": true,
    "isolatedModules": true,
    "jsx": "react-native",
    "lib": ["es6"],
    "module": "esnext",
    "moduleResolution": "node",
    "noEmit": true,
    "strict": true,
    "target": "esnext"
  "exclude": [


Bug reports and pull requests are welcome on GitHub at https://github.com/teamairship/tslint-react-config. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Code of Conduct.


This package is available as open source under the terms of the MIT License.