Skip to content
Projetos

wcandillon/eslint-config-react-native-wcandillon

Ver no GitHub

Sobre

ESLint and TypeScript configuration for React Native

Desenvolvimento web e de aplicativos

Como estes números são medidos

Crescimento medido de estrelas

em 24 h
0
em 7 dias
0
em 15 dias
-1
em 1 mês
Coletando histórico

Variações líquidas em períodos sobrepostos, não totais diários. Medições ausentes ficam em branco. Estrelas indicam interesse, não qualidade.

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.

Explore projetos relacionados

Carregando…