Repository navigation
React Native Auditor v0.9.0
React Native Auditor v0.9.0 adds optional project-level configuration support.
Highlights
-
Added support for
rn-auditor.config.json -
Added configurable default fail threshold through
failOn -
Added rule suppression through
ignoreRules -
CLI flags continue to override project configuration
-
Missing configuration files preserve the existing default behavior
-
Invalid configuration now produces a clear non-zero error
-
Ignored rules are excluded consistently from:
- Terminal reports
- JSON reports
- HTML reports
- Quality-gate evaluation
- Fix previews
- Interactive fix prompts
Example configuration
{
"failOn": "warning",
"ignoreRules": ["RNA_ENV_001"]
}The configuration file is optional and should be placed at the project root:
rn-auditor.config.json
Configuration precedence
CLI flags
> rn-auditor.config.json
> built-in defaults
Install or run
npx react-native-auditor@0.9.0 auditOr install globally:
npm install -g react-native-auditor@0.9.0
rn-auditor auditThis release preserves the existing CLI commands and JSON report schema.