summaryrefslogtreecommitdiffstats
path: root/.arclint
diff options
context:
space:
mode:
authoreadler <eadler@FreeBSD.org>2015-04-20 20:33:22 +0000
committereadler <eadler@FreeBSD.org>2015-04-20 20:33:22 +0000
commit2c405b1f9a7ddfaf1eb0854789fda2f3fd3bcfab (patch)
tree7e2604ce27dee0e06c8eb6cf1dfb49822687c18e /.arclint
parent4ab93ad1b7171b7bf6de5b317c332afd9c6a6e7d (diff)
downloadFreeBSD-src-2c405b1f9a7ddfaf1eb0854789fda2f3fd3bcfab.zip
FreeBSD-src-2c405b1f9a7ddfaf1eb0854789fda2f3fd3bcfab.tar.gz
phabricator related changes:
- don't lint either contrib or crypto: these are both externally written directories - add additional linters for spelling (check common typos like teh -> the) - chmod linter checks for executible bit on bad files - merge-conflict checks for merge conflict tokens then may have been resolved incorrectly - filename checks for back characters in filenames - json for json syntax correctness - remove history.immutable: it is meaningless on subversion, and causes workflow problems when trying to use git. It it set to 'true' by default with hg
Diffstat (limited to '.arclint')
-rw-r--r--.arclint18
1 files changed, 17 insertions, 1 deletions
diff --git a/.arclint b/.arclint
index e153458..31bda09 100644
--- a/.arclint
+++ b/.arclint
@@ -1,9 +1,25 @@
{
+ "exclude": "(contrib|crypto)",
"linters": {
"python": {
"type": "pep8",
- "exclude": "(contrib)",
"include": "(\\.py$)"
+ },
+ "spelling": {
+ "type": "spelling"
+ },
+ "chmod": {
+ "type": "chmod"
+ },
+ "merge-conflict": {
+ "type": "merge-conflict"
+ },
+ "filename": {
+ "type": "filename"
+ },
+ "json": {
+ "type": "json",
+ "include": "(\\.arclint|\\.json$)"
}
}
}
OpenPOWER on IntegriCloud