summaryrefslogtreecommitdiff
path: root/.arclint
diff options
context:
space:
mode:
authorEitan Adler <eadler@FreeBSD.org>2015-04-20 20:33:22 +0000
committerEitan Adler <eadler@FreeBSD.org>2015-04-20 20:33:22 +0000
commitdb29be839a3cea66af4e08fe57326bffa460e3f7 (patch)
tree7e2604ce27dee0e06c8eb6cf1dfb49822687c18e /.arclint
parentf8ee95484e53987c3413a376e53b2e0ee61d41f9 (diff)
downloadsrc-test2-db29be839a3cea66af4e08fe57326bffa460e3f7.tar.gz
src-test2-db29be839a3cea66af4e08fe57326bffa460e3f7.zip
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
Notes
Notes: svn path=/head/; revision=281789
Diffstat (limited to '.arclint')
-rw-r--r--.arclint18
1 files changed, 17 insertions, 1 deletions
diff --git a/.arclint b/.arclint
index e1534587c5ad..31bda09b1a83 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$)"
}
}
}