Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@airship/eslint-config-react-native-typescript

Package Overview
Dependencies
Maintainers
3
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@airship/eslint-config-react-native-typescript

The ESLint configuration for Airship TypeScript React Native projects.

  • 1.0.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
3
Created
Source

Airship ESLint TypeScript React Native Config

npm package

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

Installation

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

Usage

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": [
    "node_modules",
    "babel.config.js",
    "metro.config.js",
    "jest.config.js"
  ]
}

Contributing

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.

License

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

Keywords

FAQs

Package last updated on 25 Oct 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc