mirror of
https://we.phorge.it/source/arcanist.git
synced 2024-12-23 14:00:55 +01:00
b6ccfd4ef5
Summary: Ref T2039. Provide some examples to help users figure out how to write these things. Test Plan: Checked them with `jsonlint`. Reviewers: btrahan, joshuaspence Reviewed By: joshuaspence Subscribers: epriestley Maniphest Tasks: T2039 Differential Revision: https://secure.phabricator.com/D9065
52 lines
948 B
Text
52 lines
948 B
Text
{
|
|
"linters": {
|
|
"pep8": {
|
|
"type": "pep8",
|
|
"include": "(\\.py$)",
|
|
"exclude": "(^exclude.py)",
|
|
"severity": {
|
|
"E401": "warning"
|
|
}
|
|
},
|
|
"flake8": {
|
|
"type": "flake8",
|
|
"include": "(\\.py$)",
|
|
"exclude": "(^exclude\\.py)",
|
|
"severity": {
|
|
"E901": "advice"
|
|
}
|
|
},
|
|
"csslint": {
|
|
"type": "csslint",
|
|
"include": "(\\.css$)"
|
|
},
|
|
"text": {
|
|
"type": "text",
|
|
"include": "(\\.txt$)"
|
|
},
|
|
"ruby": {
|
|
"type": "ruby",
|
|
"include": "(\\.rb$)"
|
|
},
|
|
"filename": {
|
|
"type": "filename"
|
|
},
|
|
"spelling": {
|
|
"type": "spelling"
|
|
},
|
|
"nolint": {
|
|
"type": "nolint"
|
|
},
|
|
"generated": {
|
|
"type": "generated"
|
|
},
|
|
"phpcs": {
|
|
"type": "phpcs",
|
|
"include": "(\\.php)",
|
|
"severity.rules": {
|
|
"(^PHPCS\\.E\\.)": "warning",
|
|
"(^PHPCS\\.W\\.)": "advice"
|
|
}
|
|
}
|
|
}
|
|
}
|