From 3d7f88aacbd86f531da0b4eb90f59c8f38af961c Mon Sep 17 00:00:00 2001 From: Allan Bowe <4420615+allanbowe@users.noreply.github.com> Date: Wed, 22 Feb 2023 12:03:31 +0000 Subject: [PATCH] chore(docs): more info in `noSpacesInFileNames` rule --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index 1c8ef47..26d5f0b 100644 --- a/README.md +++ b/README.md @@ -228,6 +228,13 @@ In addition, when such files are used in URLs, they are often padded with a mess - Default: true - Severity: WARNING +As an alternative (or in addition) to using a lint rule, you can also set the following in your `.gitignore` file to prevent files with spaces from being committed: + +``` +# prevent files/folders with spaces +**\ ** +``` + ### noTabs Whilst there are some arguments for using tabs (such as the ability to set your own indentation width, and to reduce character count) there are many, many, many developers who think otherwise. We're in that camp. Sorry (not sorry).