Skip to content

Commit 5215660

Browse files
WaleedSehgalDonJayamanne
authored andcommitted
constraints.txt highlighting (microsoft#1685)
* adds highlighting * adds contribution entry * moved from news to 3 Code Health * changed constraints syntax to constraints.txt highlighting * Changed news entry * Add syntax highlighting to constraints.txt
1 parent 4f0af86 commit 5215660

2 files changed

Lines changed: 5 additions & 0 deletions

File tree

‎news/3 Code Health/1053.md‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
Add syntax highlighting to constraints.txt file to match that of piprequirements files
2+
(thanks [Waleed Sehgal](https://github.com/waleedsehgal))

‎package.json‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1783,11 +1783,14 @@
17831783
],
17841784
"filenames": [
17851785
"requirements.txt",
1786+
"constraints.txt",
17861787
"requirements.in"
17871788
],
17881789
"filenamePatterns": [
17891790
"*-requirements.txt",
17901791
"requirements-*.txt",
1792+
"constraints-*.txt",
1793+
"*-constraints.txt",
17911794
"*-requirements.in",
17921795
"requirements-*.in"
17931796
],

0 commit comments

Comments
 (0)