mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-18 12:52:42 +01:00
464979302b
Summary: Fix a few "line too long" lint issues in the Diviner documentation. Also lint `*.book` files as JSON. Test Plan: Eye-ball it. Reviewers: epriestley, #blessed_reviewers Reviewed By: epriestley, #blessed_reviewers Subscribers: epriestley, Korvin Differential Revision: https://secure.phabricator.com/D9695
90 lines
1.9 KiB
Text
90 lines
1.9 KiB
Text
{
|
|
"exclude": [
|
|
"(^externals/)",
|
|
"(^webroot/rsrc/externals/)",
|
|
"(/__tests__/data/)"
|
|
],
|
|
"linters": {
|
|
"chmod": {
|
|
"type": "chmod"
|
|
},
|
|
"filename": {
|
|
"type": "filename"
|
|
},
|
|
"javelin": {
|
|
"type": "javelin",
|
|
"include": "(\\.js$)",
|
|
"exclude": [
|
|
"(^externals/JsShrink/)",
|
|
"(^support/aphlict/)",
|
|
"(^webroot/rsrc/externals/raphael/)"
|
|
]
|
|
},
|
|
"jshint": {
|
|
"type": "jshint",
|
|
"include": "(\\.js$)",
|
|
"exclude": [
|
|
"(^externals/JsShrink/)",
|
|
"(^webroot/rsrc/externals/raphael/)"
|
|
],
|
|
"jshint.jshintrc": "support/jshint/jshintconfig"
|
|
},
|
|
"json": {
|
|
"type": "json",
|
|
"include": [
|
|
"(^src/docs/book/.*\\.book$)",
|
|
"(^support/jshint/jshintconfig$)",
|
|
"(^\\.arcconfig$)",
|
|
"(^\\.arclint$)",
|
|
"(\\.json$)"
|
|
]
|
|
},
|
|
"generated": {
|
|
"type": "generated"
|
|
},
|
|
"merge-conflict": {
|
|
"type": "merge-conflict"
|
|
},
|
|
"nolint": {
|
|
"type": "nolint"
|
|
},
|
|
"phutil-xhpast": {
|
|
"type": "phutil-xhpast",
|
|
"include": "(\\.php$)",
|
|
"phutil-xhpast.deprecated.functions": {
|
|
"phutil_escape_html": "The phutil_escape_html() function is deprecated. Raw strings passed to phutil_tag() or hsprintf() are escaped automatically."
|
|
}
|
|
},
|
|
"phutil-library": {
|
|
"type": "phutil-library",
|
|
"include": "(\\.php$)"
|
|
},
|
|
"text": {
|
|
"type": "text",
|
|
"exclude": [
|
|
"(^\\.arclint)"
|
|
]
|
|
},
|
|
"text-without-length": {
|
|
"type": "text",
|
|
"severity": {
|
|
"3": "disabled"
|
|
},
|
|
"include": [
|
|
"(^\\.arclint)"
|
|
]
|
|
},
|
|
"spelling": {
|
|
"type": "spelling"
|
|
},
|
|
"xhpast": {
|
|
"type": "xhpast",
|
|
"include": "(\\.php$)",
|
|
"severity": {
|
|
"16": "advice",
|
|
"34": "error"
|
|
},
|
|
"xhpast.naminghook": "PhabricatorSymbolNameLinter"
|
|
}
|
|
}
|
|
}
|