From 729cfa90edd0b18e4cdbfbb46a7deb3d9e0c0523 Mon Sep 17 00:00:00 2001 From: Donal Fellows Date: Mon, 8 Jan 2018 10:19:56 +0000 Subject: [PATCH] Revert "Add rule to disallow tabs" --- vera++/profiles/spinnaker.tcl | 1 - vera++/scripts/rules/L002.tcl | 14 -------------- 2 files changed, 15 deletions(-) delete mode 100644 vera++/scripts/rules/L002.tcl diff --git a/vera++/profiles/spinnaker.tcl b/vera++/profiles/spinnaker.tcl index 028ca46..f8e6e58 100644 --- a/vera++/profiles/spinnaker.tcl +++ b/vera++/profiles/spinnaker.tcl @@ -3,7 +3,6 @@ set rules { F002 L001 - L002 L003 L004 L005 diff --git a/vera++/scripts/rules/L002.tcl b/vera++/scripts/rules/L002.tcl deleted file mode 100644 index a5914cd..0000000 --- a/vera++/scripts/rules/L002.tcl +++ /dev/null @@ -1,14 +0,0 @@ -#!/usr/bin/tclsh -# Don't use tab characters - -foreach f [getSourceFileNames] { - set lineNumber 1 - foreach line [getAllLines $f] { - - if [regexp {\t} $line] { - report $f $lineNumber "horizontal tab used" - } - - incr lineNumber - } -}