From 6b2ef057ca0846ceaaf2ffe8d6fae4ff732d60ec Mon Sep 17 00:00:00 2001 From: Marco Ferrari Date: Mon, 26 Aug 2024 18:19:43 +0200 Subject: [PATCH] chore: new ignore example and set word wrap (#6080) - Add a new example about ignoring more than one file. - Disable word wrap in the editor configured by the devcontainer. --- .devcontainer/devcontainer.json | 1 + README.md | 1 + 2 files changed, 2 insertions(+) diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index cfd489c5..5cbcf98e 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -5,6 +5,7 @@ "vscode": { "settings": { "editor.defaultFormatter": "esbenp.prettier-vscode", + "editor.wordWrap": "off", "prettier.resolveGlobalModules": true }, "extensions": [ diff --git a/README.md b/README.md index 94aaeeec..4853724b 100644 --- a/README.md +++ b/README.md @@ -595,6 +595,7 @@ For example: - Lint only the `src` folder: `FILTER_REGEX_INCLUDE: .*src/.*` - Do not lint files inside test folder: `FILTER_REGEX_EXCLUDE: .*test/.*` - Do not lint JavaScript files inside test folder: `FILTER_REGEX_EXCLUDE: .*test/.*.js` +- Do not lint files named `gradlew` and JavaScript files inside a specific directory: `.*/gradlew|.*/specific/directory/*.js`