Changeset View
Changeset View
Standalone View
Standalone View
.arclint
{ | { | ||||
"exclude": [ | "exclude": [ | ||||
"(^externals/)", | "(^externals/)", | ||||
"(^webroot/rsrc/externals/(?!javelin/))", | "(^webroot/rsrc/externals/(?!javelin/))" | ||||
"(/__tests__/data/)" | |||||
], | ], | ||||
"linters": { | "linters": { | ||||
"chmod": { | "chmod": { | ||||
"type": "chmod" | "type": "chmod" | ||||
}, | }, | ||||
"filename": { | "filename": { | ||||
"type": "filename" | "type": "filename" | ||||
}, | }, | ||||
"generated": { | "generated": { | ||||
"type": "generated" | "type": "generated" | ||||
}, | }, | ||||
"javelin": { | "javelin": { | ||||
"type": "javelin", | "type": "javelin", | ||||
"include": "(\\.js$)", | "include": "(\\.js$)", | ||||
"exclude": [ | "exclude": [ | ||||
"(^support/aphlict/)" | "(^support/aphlict/)" | ||||
] | ] | ||||
}, | }, | ||||
"jshint-browser": { | "jshint-browser": { | ||||
"type": "jshint", | "type": "jshint", | ||||
"include": "(\\.js$)", | "include": "(\\.js$)", | ||||
"exclude": [ | "exclude": [ | ||||
"(^support/aphlict/server/.*\\.js$)", | "(^support/aphlict/server/.*\\.js$)", | ||||
"(^webroot/rsrc/externals/javelin/core/init_node\\.js$)" | "(^webroot/rsrc/externals/javelin/core/init_node\\.js$)" | ||||
], | ], | ||||
"jshint.jshintrc": "support/lint/browser.jshintrc" | "jshint.jshintrc": "support/lint/browser.jshintrc" | ||||
}, | }, | ||||
"jshint-node": { | "jshint-node": { | ||||
"type": "jshint", | "type": "jshint", | ||||
"include": [ | "include": [ | ||||
"(^support/aphlict/server/.*\\.js$)", | "(^support/aphlict/server/.*\\.js$)", | ||||
"(^webroot/rsrc/externals/javelin/core/init_node\\.js$)" | "(^webroot/rsrc/externals/javelin/core/init_node\\.js$)" | ||||
], | ], | ||||
"jshint.jshintrc": "support/lint/node.jshintrc" | "jshint.jshintrc": "support/lint/node.jshintrc" | ||||
}, | }, | ||||
epriestley: These don't seem related to text lint? | |||||
Not Done Inline ActionsOh whoops... I disabled these to make the output of arc lint less noisy. joshuaspence: Oh whoops... I disabled these to make the output of `arc lint` less noisy. | |||||
"json": { | "json": { | ||||
"type": "json", | "type": "json", | ||||
"include": [ | "include": [ | ||||
"(^src/docs/book/.*\\.book$)", | "(^src/docs/book/.*\\.book$)", | ||||
"(^support/lint/jshintrc$)", | "(^support/lint/jshintrc$)", | ||||
"(^\\.arcconfig$)", | "(^\\.arcconfig$)", | ||||
"(^\\.arclint$)", | "(^\\.arclint$)", | ||||
"(\\.json$)" | "(\\.json$)" | ||||
Show All 15 Lines | "phutil-xhpast": { | ||||
"phutil-xhpast.deprecated.functions": { | "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_escape_html": "The phutil_escape_html() function is deprecated. Raw strings passed to phutil_tag() or hsprintf() are escaped automatically." | ||||
} | } | ||||
}, | }, | ||||
"spelling": { | "spelling": { | ||||
"type": "spelling" | "type": "spelling" | ||||
}, | }, | ||||
"text": { | "text": { | ||||
"type": "text", | "type": "text" | ||||
"exclude": [ | |||||
"(^\\.arclint$)", | |||||
"(^resources/sql/quickstart.sql$)" | |||||
] | |||||
}, | |||||
"text-without-length": { | |||||
"type": "text", | |||||
"severity": { | |||||
"3": "disabled" | |||||
}, | |||||
"include": [ | |||||
"(^\\.arclint$)", | |||||
"(^resources/sql/quickstart.sql$)" | |||||
] | |||||
}, | }, | ||||
"xhpast": { | "xhpast": { | ||||
"type": "xhpast", | "type": "xhpast", | ||||
"include": "(\\.php$)", | "include": "(\\.php$)", | ||||
"severity": { | "severity": { | ||||
"16": "advice", | "16": "advice", | ||||
"34": "error" | "34": "error" | ||||
}, | }, | ||||
"xhpast.blacklisted.function": { | "xhpast.blacklisted.function": { | ||||
"eval": "The eval() function should be avoided. It is potentially unsafe and makes debugging more difficult." | "eval": "The eval() function should be avoided. It is potentially unsafe and makes debugging more difficult." | ||||
}, | }, | ||||
"xhpast.php-version": "5.2.3", | "xhpast.php-version": "5.2.3", | ||||
"xhpast.php-version.windows": "5.3.0" | "xhpast.php-version.windows": "5.3.0" | ||||
} | } | ||||
} | } | ||||
} | } |
These don't seem related to text lint?