Skip to content

Commit

Permalink
phabricator related changes:
Browse files Browse the repository at this point in the history
	- 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
  • Loading branch information
grimreaper committed Apr 20, 2015
1 parent f8ee954 commit db29be8
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 3 deletions.
3 changes: 1 addition & 2 deletions .arcconfig
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{
"project.name": "S",
"phabricator.uri" : "https://reviews.freebsd.org/",
"history.immutable" : true
"phabricator.uri" : "https://reviews.freebsd.org/"
}
18 changes: 17 additions & 1 deletion .arclint
Original file line number Diff line number Diff line change
@@ -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$)"
}
}
}

0 comments on commit db29be8

Please sign in to comment.