Skip to content
Projets

wcandillon/eslint-config-react-native-wcandillon

Voir sur GitHub

À propos

ESLint and TypeScript configuration for React Native

Développement web et applicatif

Comment ces chiffres sont mesurés

Progression mesurée des étoiles

in 24h
0
in 7 days
0
in 15 days
-1
in 1 month
Historique en cours

Variations nettes sur des périodes qui se chevauchent, pas des totaux quotidiens. Les mesures absentes restent vides. Les étoiles indiquent l’intérêt, pas la qualité.

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.

Explorer des projets similaires

Chargement…