mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-25 09:39:52 +08:00
36 lines
1.1 KiB
XML
36 lines
1.1 KiB
XML
<?xml version="1.0"?>
|
|
|
|
<![CDATA[
|
|
<!-- Sadly we can't enable the following two rules since doing so causes false
|
|
positives in standard header files rather than just project specific
|
|
source files. If we can find a way to enable these rules by also
|
|
excluding system include files we should do so.
|
|
<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>
|
|
<--!>
|
|
]]>
|
|
|
|
<rule>
|
|
<pattern>flock \(</pattern>
|
|
<message>
|
|
<id>flockSemanticsWarning</id>
|
|
<severity>warning</severity>
|
|
<summary>flock has a fallback implemented in terms of fcntl; ensure that the fcntl semantics will apply (see http://0pointer.de/blog/projects/locking.html)</summary>
|
|
</message>
|
|
</rule>
|