Code style

This commit is contained in:
Daniel_I_Am 2022-06-11 18:08:00 +02:00
parent 95365bf812
commit 6b52dbc0ab
7 changed files with 30 additions and 6 deletions

24
.editorconfig Normal file
View File

@ -0,0 +1,24 @@
root = true
[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
indent_style = space
indent_size = 4
trim_trailing_whitespace = true
[*.md]
trim_trailing_whitespace = false
[*.{yml,yaml}]
indent_size = 2
[*.{pug,styl}]
indent_size = 2
[docker-compose.yml]
indent_size = 4
[Makefile]
indent_style = tab

View File

@ -11,6 +11,6 @@ export default function() {
// Middle click was pushed
window.open(href, '_blank')
}
})
});
});
}

View File

@ -4,4 +4,4 @@ date: 2022-04-16T08:45:13Z
draft: false
---
Filler 1
Filler 1

View File

@ -4,4 +4,4 @@ date: 2022-04-17T08:45:13Z
draft: false
---
Filler 2
Filler 2

View File

@ -4,4 +4,4 @@ date: 2022-04-18T08:45:13Z
draft: false
---
Filler 3
Filler 3

View File

@ -4,4 +4,4 @@ date: 2022-04-19T08:45:13Z
draft: false
---
Filler 4
Filler 4

View File

@ -8,4 +8,4 @@ We can echo the result of the current timestamp subtracted from the last edit ti
```
echo $(expr $(date +%s) - $(grep -rn -A 1 %INSTALLDATE% /var/lib/pacman/local/*/desc | grep -oP '\d{10,}$' | sort | tail -1))
```
```