Skip to content
Proyectos

wcandillon/eslint-config-react-native-wcandillon

Ver en GitHub

Acerca de

ESLint and TypeScript configuration for React Native

Desarrollo web y de aplicaciones

Cómo se miden estas cifras

Crecimiento de estrellas medido

in 24h
0
in 7 days
0
in 15 days
-1
in 1 month
Recopilando historial

Cambios netos en períodos que se solapan, no totales diarios. Los datos no disponibles se dejan en blanco. Las estrellas indican interés, no calidad.

README.md

Original

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.

Explorar proyectos relacionados

Cargando…