mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-10-31 03:08:29 +08:00
feat(language): add Dockerfile (@rammba) (#5926)
I've added support for Dockerfile "language" even if it's not the language actually. All words added are listed in the [official docs](https://docs.docker.com/reference/dockerfile/#overview). I've put it to the other group of languages. P.S. File name is `docker_file.json`, because when I name it `dockerfile.json`, my VS Code detects it as an actual dockerfile. Let me know if name should be changed.
This commit is contained in:
parent
529d424982
commit
006af5aff8
3 changed files with 28 additions and 1 deletions
|
|
@ -498,7 +498,8 @@
|
|||
"twitch_emotes",
|
||||
"git",
|
||||
"typing_of_the_dead",
|
||||
"league_of_legends"
|
||||
"league_of_legends",
|
||||
"docker_file"
|
||||
]
|
||||
},
|
||||
{
|
||||
|
|
|
|||
|
|
@ -353,4 +353,5 @@
|
|||
,"xhosa"
|
||||
,"code_cobol"
|
||||
,"code_common_lisp"
|
||||
,"docker_file"
|
||||
]
|
||||
|
|
|
|||
25
frontend/static/languages/docker_file.json
Normal file
25
frontend/static/languages/docker_file.json
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
{
|
||||
"name": "docker_file",
|
||||
"noLazyMode": true,
|
||||
"words": [
|
||||
"ADD",
|
||||
"ARG",
|
||||
"AS",
|
||||
"CMD",
|
||||
"COPY",
|
||||
"ENTRYPOINT",
|
||||
"ENV",
|
||||
"EXPOSE",
|
||||
"FROM",
|
||||
"HEALTHCHECK",
|
||||
"LABEL",
|
||||
"MAINTAINER",
|
||||
"ONBUILD",
|
||||
"RUN",
|
||||
"SHELL",
|
||||
"STOPSIGNAL",
|
||||
"USER",
|
||||
"VOLUME",
|
||||
"WORKDIR"
|
||||
]
|
||||
}
|
||||
Loading…
Add table
Reference in a new issue