mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
tweak(file-templates): update default solidity template
- Added SPDX-License-Identifier - Renewed default version pragma
This commit is contained in:
@ -3,8 +3,10 @@
|
||||
# contributor: Edmund Miller
|
||||
# name: solidity template
|
||||
# --
|
||||
pragma solidity ^0.4.22;
|
||||
// SPDX-License-Identifier: ${1:UNLICENSED}
|
||||
|
||||
contract $0 {
|
||||
pragma solidity ${2:>=0.8.7 <0.9.0};
|
||||
|
||||
contract $3 {
|
||||
$0
|
||||
}
|
Reference in New Issue
Block a user