add style guide
This commit is contained in:
parent
ed6c73fc16
commit
6c073b08f7
43
STYLE.md
Normal file
43
STYLE.md
Normal file
@ -0,0 +1,43 @@
|
|||||||
|
# No Code Style Guide
|
||||||
|
|
||||||
|
All no code programs are the same, regardless of use case, any code you write is a liability.
|
||||||
|
|
||||||
|
## File Extensions
|
||||||
|
|
||||||
|
No code is not stored in files, but if you must, use the `.no` file extension.
|
||||||
|
|
||||||
|
```
|
||||||
|
main.no
|
||||||
|
```
|
||||||
|
|
||||||
|
## Linters
|
||||||
|
|
||||||
|
There is only one way to write no code and the `du` command can help you identify any issues.
|
||||||
|
|
||||||
|
```
|
||||||
|
du -h main.no
|
||||||
|
```
|
||||||
|
|
||||||
|
```
|
||||||
|
0 main.no
|
||||||
|
```
|
||||||
|
|
||||||
|
> The only valid code is no code.
|
||||||
|
|
||||||
|
## Code Reviews
|
||||||
|
|
||||||
|
The no code community has adopted the following conventions when reviewing code changes:
|
||||||
|
|
||||||
|
When the change contains no code additions or modifications:
|
||||||
|
|
||||||
|
```
|
||||||
|
LGTM # Looks Good To Me
|
||||||
|
```
|
||||||
|
|
||||||
|
When the change includes code additions or modifications:
|
||||||
|
|
||||||
|
```
|
||||||
|
CIAL # Code Is A Liability
|
||||||
|
```
|
||||||
|
|
||||||
|
> Change requests that fall into this category should be rejected immediately.
|
Loading…
Reference in New Issue
Block a user