Show More
@@ -122,7 +122,7 b' testpats = [' | |||||
122 | (r'export .*=', "don't export and assign at once"), |
|
122 | (r'export .*=', "don't export and assign at once"), | |
123 | (r'^source\b', "don't use 'source', use '.'"), |
|
123 | (r'^source\b', "don't use 'source', use '.'"), | |
124 | (r'touch -d', "don't use 'touch -d', use 'touch -t' instead"), |
|
124 | (r'touch -d', "don't use 'touch -d', use 'touch -t' instead"), | |
125 | (r'ls +[^|\n-]+ +-', "options to 'ls' must come before filenames"), |
|
125 | (r'\bls +[^|\n-]+ +-', "options to 'ls' must come before filenames"), | |
126 | (r'[^>\n]>\s*\$HGRCPATH', "don't overwrite $HGRCPATH, append to it"), |
|
126 | (r'[^>\n]>\s*\$HGRCPATH', "don't overwrite $HGRCPATH, append to it"), | |
127 | (r'^stop\(\)', "don't use 'stop' as a shell function name"), |
|
127 | (r'^stop\(\)', "don't use 'stop' as a shell function name"), | |
128 | (r'(\[|\btest\b).*-e ', "don't use 'test -e', use 'test -f'"), |
|
128 | (r'(\[|\btest\b).*-e ', "don't use 'test -e', use 'test -f'"), |
General Comments 0
You need to be logged in to leave comments.
Login now