mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-02 11:42:42 +01:00
9316cbf7fd
Summary: Ref T13395. Companion change to D20773. Test Plan: See D20773. Maniphest Tasks: T13395 Differential Revision: https://secure.phabricator.com/D20774
85 lines
1.8 KiB
Text
85 lines
1.8 KiB
Text
{
|
|
"exclude": [
|
|
"(^externals/)",
|
|
"(^webroot/rsrc/externals/(?!javelin/))",
|
|
"(/__tests__/data/)"
|
|
],
|
|
"linters": {
|
|
"chmod": {
|
|
"type": "chmod"
|
|
},
|
|
"filename": {
|
|
"type": "filename"
|
|
},
|
|
"generated": {
|
|
"type": "generated"
|
|
},
|
|
"javelin": {
|
|
"type": "javelin",
|
|
"include": "(\\.js$)",
|
|
"exclude": [
|
|
"(^support/aphlict/)"
|
|
]
|
|
},
|
|
"jshint-browser": {
|
|
"type": "jshint",
|
|
"include": "(\\.js$)",
|
|
"exclude": [
|
|
"(^support/aphlict/server/.*\\.js$)",
|
|
"(^webroot/rsrc/externals/javelin/core/init_node\\.js$)"
|
|
],
|
|
"jshint.jshintrc": "support/lint/browser.jshintrc"
|
|
},
|
|
"jshint-node": {
|
|
"type": "jshint",
|
|
"include": [
|
|
"(^support/aphlict/server/.*\\.js$)",
|
|
"(^webroot/rsrc/externals/javelin/core/init_node\\.js$)"
|
|
],
|
|
"jshint.jshintrc": "support/lint/node.jshintrc"
|
|
},
|
|
"json": {
|
|
"type": "json",
|
|
"include": [
|
|
"(^src/docs/book/.*\\.book$)",
|
|
"(^support/lint/jshintrc$)",
|
|
"(^\\.arcconfig$)",
|
|
"(^\\.arclint$)",
|
|
"(\\.json$)"
|
|
]
|
|
},
|
|
"merge-conflict": {
|
|
"type": "merge-conflict"
|
|
},
|
|
"nolint": {
|
|
"type": "nolint"
|
|
},
|
|
"phutil-library": {
|
|
"type": "phutil-library",
|
|
"include": "(\\.php$)"
|
|
},
|
|
"spelling": {
|
|
"type": "spelling"
|
|
},
|
|
"text": {
|
|
"type": "text",
|
|
"exclude": [
|
|
"(^src/(.*/)?__tests__/[^/]+/.*\\.(txt|json))"
|
|
]
|
|
},
|
|
"text-without-length": {
|
|
"type": "text",
|
|
"include": [
|
|
"(^src/(.*/)?__tests__/[^/]+/.*\\.(txt|json))"
|
|
],
|
|
"severity": {
|
|
"3": "disabled"
|
|
}
|
|
},
|
|
"xhpast": {
|
|
"type": "xhpast",
|
|
"include": "(\\.php$)",
|
|
"standard": "phutil.xhpast"
|
|
}
|
|
}
|
|
}
|