wcandillon/eslint-config-react-native-wcandillon
About
ESLint and TypeScript configuration for React Native
Web & App DevelopmentMeasured star growth
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- -1
- in 1 month
- Collecting history
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README.md
Originaleslint-config-react-native-wcandillon
My ESLint and TypeScript configuration for React Native.
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 related projects
Loading…