From e47dd5ab2536ece9ecddf1553ceab4585afe376e Mon Sep 17 00:00:00 2001 From: Jerbee Paragas Date: Sun, 18 Aug 2024 23:28:28 +0800 Subject: [PATCH] docs(nodejs): Add missing `.nvmrc` to `detect_files` option (#6185) docs(nodejs): Add missing `.nvmrc` to `detect_files` option --- docs/config/README.md | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/docs/config/README.md b/docs/config/README.md index 3bb7c222..7cc1008d 100644 --- a/docs/config/README.md +++ b/docs/config/README.md @@ -3076,17 +3076,17 @@ By default the module will be shown if any of the following conditions are met: ### Options -| Option | Default | Description | -| ------------------- | ------------------------------------------ | ----------------------------------------------------------------------------------------------------- | -| `format` | `'via [$symbol($version )]($style)'` | The format for the module. | -| `version_format` | `'v${raw}'` | The version format. Available vars are `raw`, `major`, `minor`, & `patch` | -| `symbol` | `' '` | A format string representing the symbol of Node.js. | -| `detect_extensions` | `['js', 'mjs', 'cjs', 'ts', 'mts', 'cts']` | Which extensions should trigger this module. | -| `detect_files` | `['package.json', '.node-version']` | Which filenames should trigger this module. | -| `detect_folders` | `['node_modules']` | Which folders should trigger this module. | -| `style` | `'bold green'` | The style for the module. | -| `disabled` | `false` | Disables the `nodejs` module. | -| `not_capable_style` | `'bold red'` | The style for the module when an engines property in package.json does not match the Node.js version. | +| Option | Default | Description | +| ------------------- | --------------------------------------------- | ----------------------------------------------------------------------------------------------------- | +| `format` | `'via [$symbol($version )]($style)'` | The format for the module. | +| `version_format` | `'v${raw}'` | The version format. Available vars are `raw`, `major`, `minor`, & `patch` | +| `symbol` | `' '` | A format string representing the symbol of Node.js. | +| `detect_extensions` | `['js', 'mjs', 'cjs', 'ts', 'mts', 'cts']` | Which extensions should trigger this module. | +| `detect_files` | `['package.json', '.node-version', '.nvmrc']` | Which filenames should trigger this module. | +| `detect_folders` | `['node_modules']` | Which folders should trigger this module. | +| `style` | `'bold green'` | The style for the module. | +| `disabled` | `false` | Disables the `nodejs` module. | +| `not_capable_style` | `'bold red'` | The style for the module when an engines property in package.json does not match the Node.js version. | ### Variables