mirror of
https://github.com/koalaman/shellcheck.git
synced 2025-08-07 11:13:15 +08:00
Don't warn about decimals in (( )) for zsh/ksh
This commit is contained in:
@@ -60,6 +60,7 @@ treeChecks = [
|
||||
checksFor Sh = [
|
||||
checkBashisms
|
||||
,checkTimeParameters
|
||||
,checkForDecimals
|
||||
]
|
||||
checksFor Ksh = [
|
||||
checkEchoSed
|
||||
@@ -72,6 +73,7 @@ checksFor Bash = [
|
||||
checkTimeParameters
|
||||
,checkBraceExpansionVars
|
||||
,checkEchoSed
|
||||
,checkForDecimals
|
||||
]
|
||||
|
||||
runAnalytics :: [AnalysisOption] -> Token -> [Note]
|
||||
@@ -133,7 +135,6 @@ nodeChecks = [
|
||||
,checkDoubleBracketOperators
|
||||
,checkNoaryWasBinary
|
||||
,checkConstantNoary
|
||||
,checkForDecimals
|
||||
,checkDivBeforeMult
|
||||
,checkArithmeticDeref
|
||||
,checkArithmeticBadOctal
|
||||
|
Reference in New Issue
Block a user