Enforces the use of double or simple quotes as configured for string literals. Values must be 'single' or 'double'.
Configured with single quotes
pragma solidity 0.4.4;
contract A {
string private a = "test";
}
Configured with double quotes
pragma solidity 0.4.4;
contract A {
string private a = 'test';
}
Configured with double quotes
pragma solidity 0.4.4;
contract A {
string private a = "test";
}
Configured with single quotes
pragma solidity 0.4.4;
contract A {
string private a = 'test';
}
Configured with double quotes
string private constant STR = "You shall 'pass' !";
string private constant STR = 'You shall "pass" !';
quotes on Solhint's documentation.