Skip to content

Commit

Permalink
Excluding keys in config
Browse files Browse the repository at this point in the history
  • Loading branch information
LarsWiegers committed Oct 3, 2023
1 parent 95f6671 commit 4be8841
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions config/translations-checker.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,23 @@
|
*/
'excluded_directories' => [],


/*
|--------------------------------------------------------------------------
| Excludes Keys
|--------------------------------------------------------------------------
|
| This configuration option allows you to exclude specific keys from
| being processed or checked. The array contains the path inside the translation file that
| should be excluded from being scanned. It can be overridden by passing the
| command line option "--excludedKeys=...". Pass command line option
| "--excludedKeys=none" to not exclude any keys.
|
| Example: [
| 'test.existing_key',
| ]
|
*/
'excluded_keys' => [],
];

0 comments on commit 4be8841

Please sign in to comment.