plagiarize.yaml
Yaml Plagiarize
| Type | object |
|---|---|
| File match |
plagiarize.yaml
plagiarize.json
|
| Schema URL | https://catalog.lintel.tools/schemas/schemastore/plagiarize-yaml/latest.json |
| Source | https://www.schemastore.org/plagiarize.json |
Versions
Validate with Lintel
npx @lintel/lintel check
Type:
object
plagiarize.yaml configuration schema
Properties
repo
object
required
Configuration for strings, files, and file paths to replace in target file
2 nested properties
url
string
required
Git url of project to plagiarize
checkout
string
Branch, tag, or commit to checkout from project to be plagiarized
strings
Record<string, string | integer | boolean>
required
Strings to find in target project and be replaced with plagiarized project's values
1 nested properties
project
string
required
vars
Record<string, string | integer | boolean>
Variables available to be used for finding and replacing by variable name. For example $var_name: hello would replace string '$var_name' with 'hello' in target project