Skip to content
プロジェクト

wcandillon/eslint-config-react-native-wcandillon

GitHubで見る

概要

ESLint and TypeScript configuration for React Native

Web・アプリ開発

この数値の測り方

計測したスター増加

24時間
0
7日間
0
15日間
-1
1か月
履歴を収集中

期間ごとの純増数です。期間は重複しており、日別の値ではありません。未計測の値は空欄です。スター数は注目度の指標であり、品質の保証ではありません。

eslint-config-react-native-wcandillon

My ESLint and TypeScript configuration for React Native.

npm version

Usage

# you also need eslint if not installed already: yarn add eslint --dev
yarn add eslint-config-react-native-wcandillon --dev

In .eslintrc:

{ 
  "extends": "react-native-wcandillon", 
} 

In tsconfig.json (if you want to use my base TS configuration):

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

The base mirrors @react-native/typescript-config: moduleResolution: "bundler" with the react-native custom condition (so package.json exports resolve the way Metro resolves them), module: "esnext", isolatedModules, and the Hermes-compatible lib list plus dom. Because of bundler resolution, do not override module with commonjs in a project that extends it. Packages that publish their typings through exports (for example three/webgpu and three/addons/*.js) resolve without paths mappings.

関連プロジェクトを探す

読み込み中…