Refactor proper noun regexp
This commit is contained in:
@@ -21,7 +21,7 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "proper_nouns",
|
"name": "proper_nouns",
|
||||||
"pattern": "/(^|\\s|\\[|_|\\(|\"|\/|\\*)[A-Z][\\S]*/g"
|
"pattern": "/\\W[_]?[A-Z][\\S]+/g"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"languageSettings": [
|
"languageSettings": [
|
||||||
|
|||||||
Reference in New Issue
Block a user