UNPKG

@nx/react-native

Version:

The Nx Plugin for React Native contains generators for managing React Native applications and libraries within an Nx workspace. It provides: -Integration with libraries such as Jest, Detox, and Storybook. -Scaffolding for creating buildable libraries th

65 lines (64 loc) 1.51 kB
{ "extends": "../../.eslintrc", "rules": {}, "ignorePatterns": ["!**/*"], "overrides": [ { "files": [ "./package.json", "./generators.json", "./executors.json", "./migrations.json" ], "parser": "jsonc-eslint-parser", "rules": { "@nx/nx-plugin-checks": "error" } }, { "files": ["./package.json"], "parser": "jsonc-eslint-parser", "rules": { "@nx/dependency-checks": [ "error", { "buildTargets": ["build-base"], "ignoredDependencies": [ "nx", "eslint", "prettier", "typescript", "react", "react-native", // These are in ensurePackage "@nx/rollup", "@nx/storybook", "@nx/vite", "@nx/webpack", "@nx/detox", "@nx/cypress", "@nx/playwright", "ajv" ] } ] } }, { "files": ["*.ts", "*.tsx", "*.js", "*.jsx"], "rules": { "no-restricted-imports": [ "error", { "name": "fs-extra", "message": "Please use equivalent utilities from `node:fs` instead." }, { "name": "chalk", "message": "Please use `picocolors` in place of `chalk` for rendering terminal colors" } ] } } ] }