Skip to content

Commit 6b2ef05

Browse files
authored
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.
1 parent 11d4aac commit 6b2ef05

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

.devcontainer/devcontainer.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
"vscode": {
66
"settings": {
77
"editor.defaultFormatter": "esbenp.prettier-vscode",
8+
"editor.wordWrap": "off",
89
"prettier.resolveGlobalModules": true
910
},
1011
"extensions": [

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -595,6 +595,7 @@ For example:
595595
- Lint only the `src` folder: `FILTER_REGEX_INCLUDE: .*src/.*`
596596
- Do not lint files inside test folder: `FILTER_REGEX_EXCLUDE: .*test/.*`
597597
- Do not lint JavaScript files inside test folder: `FILTER_REGEX_EXCLUDE: .*test/.*.js`
598+
- Do not lint files named `gradlew` and JavaScript files inside a specific directory: `.*/gradlew|.*/specific/directory/*.js`
598599

599600
<!-- This `README.md` has both markers in the text, so it is considered not generated. -->
600601

0 commit comments

Comments
 (0)