Skip to content

Commit aedf3ee

Browse files
authored
chore(contributing): change vertical whitespace
Updated the contribution guidelines to specify three blank lines between logical blocks of code in Lua modules.
1 parent 792c356 commit aedf3ee

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

CONTRIBUTING.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,25 +123,29 @@ the recommended style are welcome!**
123123
### Modules
124124

125125
When writing a module (a Lua file), separate logical blocks of code with
126-
**two** blank lines:
126+
**three** blank lines:
127127

128128
```lua
129129
local foo = require "some_module.foo"
130130

131131

132+
132133
local _M = {}
133134

134135

136+
135137
function _M.bar()
136138
-- do thing...
137139
end
138140

139141

142+
140143
function _M.baz()
141144
-- do thing...
142145
end
143146

144147

148+
145149
return _M
146150
```
147151

0 commit comments

Comments
 (0)