mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-22 21:01:05 +01:00
db29be839a
- 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
26 lines
418 B
Plaintext
26 lines
418 B
Plaintext
{
|
|
"exclude": "(contrib|crypto)",
|
|
"linters": {
|
|
"python": {
|
|
"type": "pep8",
|
|
"include": "(\\.py$)"
|
|
},
|
|
"spelling": {
|
|
"type": "spelling"
|
|
},
|
|
"chmod": {
|
|
"type": "chmod"
|
|
},
|
|
"merge-conflict": {
|
|
"type": "merge-conflict"
|
|
},
|
|
"filename": {
|
|
"type": "filename"
|
|
},
|
|
"json": {
|
|
"type": "json",
|
|
"include": "(\\.arclint|\\.json$)"
|
|
}
|
|
}
|
|
}
|