aboutsummaryrefslogtreecommitdiffhomepage
path: root/.cppcheck.rule
diff options
context:
space:
mode:
Diffstat (limited to '.cppcheck.rule')
-rw-r--r--.cppcheck.rule18
1 files changed, 18 insertions, 0 deletions
diff --git a/.cppcheck.rule b/.cppcheck.rule
new file mode 100644
index 00000000..d8f67a83
--- /dev/null
+++ b/.cppcheck.rule
@@ -0,0 +1,18 @@
+<?xml version="1.0"?>
+<rule version="1">
+ <pattern> wcwidth \(</pattern>
+ <message>
+ <id>wcwidthForbidden</id>
+ <severity>warning</severity>
+ <summary>Always use fish_wcwidth rather than wcwidth.</summary>
+ </message>
+</rule>
+
+<rule version="1">
+ <pattern> wcswidth \(</pattern>
+ <message>
+ <id>wcswidthForbidden</id>
+ <severity>warning</severity>
+ <summary>Always use fish_wcswidth rather than wcswidth.</summary>
+ </message>
+</rule>