Configuration

Understanding rnsec's default behavior and file patterns.

Default File Patterns

rnsec automatically discovers and scans these file types:

Included Files

**/*.{js,jsx,ts,tsx}- JavaScript/TypeScript source files
**/*.json- Configuration files
**/*.xml- Android manifests
**/*.plist- iOS property lists
**/.env*- Environment files

Excluded Directories

×**/node_modules/**
×**/.git/**
×**/dist/**
×**/build/**
×**/*.min.js
×**/__tests__/**
×**/android/app/build/**
×**/ios/build/**

Technology Stack

@babel/parser

JavaScript/TypeScript AST parsing

@babel/traverse

AST traversal and analysis

fast-glob

Fast file discovery

commander

CLI framework

chalk

Terminal colors

ora

Loading spinners

Custom Exclusions

Need to exclude specific patterns? Use --path to scan specific directories, or report feature requests on GitHub.

© 2025 rnsec • Open source security