adding pattern in order to indent the next line

This commit is contained in:
Aiday Marlen Kyzy 2024-03-21 10:27:30 +01:00
parent cefbd4fbe7
commit 69f9c7a2e1
No known key found for this signature in database
GPG key ID: 24A8B53DBD26FF4E

View file

@ -137,6 +137,9 @@
// e.g. * ...| or */| or *-----*/|
"unIndentedLinePattern": {
"pattern": "^(\\t|[ ])*[ ]\\*[^/]*\\*/\\s*$|^(\\t|[ ])*[ ]\\*/\\s*$|^(\\t|[ ])*\\*([ ]([^\\*]|\\*(?!/))*)?$"
},
"indentNextLinePattern": {
"pattern": "^\\s*(var|const|let)\\s+\\w+\\s*=\\s*\\(.*\\)\\s*=>\\s*$"
}
},
"onEnterRules": [