How to set up ESLint with StandardJS for a new React Native/TypeScript project

This page summarizes the projects mentioned and recommended in the original post on dev.to

SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
surveyjs.io
featured
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
  • react-native

    A framework for building native applications using React

  • If you tried configuring and running ESLint at this point, you will probably find that some of its rules conflict with Prettier (which comes pre-installed in React Native projects). We can use a package called eslint-config-prettier to turn off conflicting Prettier rules (I found this solution in this helpful Github comment).

  • eslint-plugin-react-native

    React Native plugin for ESLint

  • Docs: https://github.com/intellicode/eslint-plugin-react-native#installation

  • SurveyJS

    Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.

    SurveyJS logo
  • StorybookExampleReactNativeTS

    Example repo for setting up Storybook for a React Native/TypeScript project.

  • As for specific ESLint rules, it depends on personal preference so I'll leave it up to you. If you want to see my config as a reference, you can find it here: https://github.com/risafj/StorybookExampleReactNativeTS/blob/main/.eslintrc.js

  • eslint-config-love

    A TypeScript ESLint config that loves you

  • Docs: https://github.com/standard/eslint-config-standard-with-typescript#usage

  • typescript-eslint

    :sparkles: Monorepo for all the tooling which enables ESLint to support TypeScript

  • You can find a discussion about this error in this Github issue. Basically, you have to include the files you want to lint in tsconfig.json. Create a file like this if it doesn't exist yet, or add the lines below if it does.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • How to Do a TypeScript Conversion: an opinionated take on gradual conversions

    2 projects | news.ycombinator.com | 4 Nov 2023
  • Simplify Your Codebase with Auto-Sorting Linter using eslint-plugin-simple-import-sort

    3 projects | dev.to | 22 Oct 2023
  • PURISTA - Thanks to amazing open-source software

    7 projects | dev.to | 11 Sep 2023
  • I made a Free and Open Source React Native Starter Template built with Expo + NativeWind + ESLint + Prettier + Husky + Lint-Staged + Jest + Detox + VSCode

    5 projects | /r/reactjs | 25 Apr 2023
  • Searching for videos about the TypeScript Compiler API

    2 projects | /r/typescript | 16 Nov 2022