"Warning: SPDX license identifier not provided in source file. Before publishing, consider adding a comment containing \"SPDX-License-Identifier: <SPDX-License>\" to each source file. Use \"SPDX-License-Identifier: UNLICENSED\" for non-open-source code. Please see https://spdx.org for more information.":{
"Warning: SPDX license identifier not provided in source file. Before publishing, consider adding a comment containing \"SPDX-License-Identifier: <SPDX-License>\" to each source file. Use \"SPDX-License-Identifier: UNLICENSED\" for non-open-source code. Please see https://spdx.org for more information.":{
"id":1,
"title":"Add open-source license",
"title":"Add open-source license",
"message":"// SPDX-License-Identifier: GPL-3.0",
"message":"// SPDX-License-Identifier: GPL-3.0",
"nodeType":"SourceUnit"
"nodeType":"SourceUnit"
},
},
"Warning: Source file does not specify required compiler version! Consider adding":{
"Warning: Source file does not specify required compiler version! Consider adding":{
"id":2,
"title":"Add pragma line",
"title":"Add pragma line",
"message":"pragma solidity ^0.*.*;",
"message":"pragma solidity ^0.*.*;",
"nodeType":"PragmaDirective",
"nodeType":"PragmaDirective",
@ -16,11 +18,13 @@ export default {
}
}
},
},
"SyntaxError: No visibility specified. Did you intend to add \"public\"":{
"SyntaxError: No visibility specified. Did you intend to add \"public\"":{
"id":3,
"title":"Add visibility 'public'",
"title":"Add visibility 'public'",
"message":"public ",
"message":"public ",
"nodeType":"FunctionDefinition"
"nodeType":"FunctionDefinition"
},
},
"Warning: Function state mutability can be restricted to view":{
"Warning: Function state mutability can be restricted to view":{