Skip to content

Commit

Permalink
Merge pull request #160 from wildpeaks/features/yaml-separator
Browse files Browse the repository at this point in the history
YAML separator
  • Loading branch information
cecilemuller authored Jun 18, 2021
2 parents 912b170 + 14e7629 commit 9bd812f
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,14 @@
},
"devDependencies": {
"@types/mocha": "8.2.2",
"@types/node": "15.12.2",
"@types/node": "15.12.3",
"@wildpeaks/eslint-config-typescript": "12.1.0",
"@wildpeaks/prettier-config": "12.1.0",
"@wildpeaks/tsconfig": "4.0.0",
"eslint": "7.28.0",
"fs-extra": "10.0.0",
"mocha": "9.0.0",
"mocha": "9.0.1",
"ts-node": "10.0.0",
"typescript": "4.3.3"
"typescript": "4.3.4"
}
}
3 changes: 2 additions & 1 deletion src/build.ts
Original file line number Diff line number Diff line change
Expand Up @@ -412,10 +412,11 @@ describe("Build", function () {
// Editorconfig patterns
"meta.section.header.editorconfig",

// YML: -, <<, &
// YML: -, <<, &, ---
"punctuation.definition.block.sequence.item.yaml",
"constant.language.merge.yaml",
"punctuation.definition.anchor.yaml",
"entity.other.document.begin.yaml",

// Graphviz: ->
"source.dot keyword.operator.dot",
Expand Down
4 changes: 4 additions & 0 deletions test/fixtures/YAML/example.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,7 @@ myconditional1:
- hello
? [ First Name, Second Name ]
: [ 111, 222, 333]

---
apiVersion: v1
kind: Service

0 comments on commit 9bd812f

Please sign in to comment.