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
This commit is contained in:
eadler 2015-04-20 20:33:22 +00:00
parent 4ab93ad1b7
commit 2c405b1f9a
2 changed files with 18 additions and 3 deletions

View File

@ -1,5 +1,4 @@
{
"project.name": "S",
"phabricator.uri" : "https://reviews.freebsd.org/",
"history.immutable" : true
"phabricator.uri" : "https://reviews.freebsd.org/"
}

View File

@ -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$)"
}
}
}