Prompted by @Christilut, it's not entirely clear that not all configurations can be overridden by CLI flags. This line should be updated:
Arguments passed to the CLI will always take precedence over the configuration in package.json.
See https://github.com/avajs/ava/blob/master/docs/06-configuration.md.