-
-
Notifications
You must be signed in to change notification settings - Fork 214
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dev: Adjust Docker dictionary conf (#1118)
* dev: Adjust Docker dictionary conf * Add a sample Dockerfile
- Loading branch information
Showing
8 changed files
with
43 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# Change Log | ||
|
||
## 1.0.0 | ||
|
||
- Initial Release |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,43 +1,33 @@ | ||
// cSpell Settings | ||
{ | ||
"id": "docker", | ||
"version": "0.2", | ||
"name": "Docker Dictionary", | ||
"description": "Docker dictionary for cspell.", | ||
"readonly": true, | ||
// List of dictionary files to add to the global list of dictionaries | ||
"dictionaryDefinitions": [ | ||
{ | ||
"name": "docker", | ||
"path": "./docker-words.txt.gz", | ||
"description": "Docker dictionary for cspell." | ||
} | ||
], | ||
// Dictionaries to always be used. | ||
// Generally left empty | ||
"dictionaries": [], | ||
// Language Rules to apply to matching files. | ||
// Files are matched on `languageId` and `local` | ||
"languageSettings": [ | ||
{ | ||
// VSCode languageId. i.e. typescript, java, go, cpp, javascript, markdown, latex | ||
// * will match against any file type. | ||
"languageId": "dockerfile", | ||
// Language local. i.e. en-US, de-AT, or ru. * will match all locals. | ||
// Multiple locals can be specified like: "en, en-US" to match both English and English US. | ||
"locale": "*", | ||
// By default the whole text of a file is included for spell checking | ||
// Adding patterns to the "includeRegExpList" to only include matching patterns | ||
"includeRegExpList": [], | ||
// To exclude patterns, add them to "ignoreRegExpList" | ||
"ignoreRegExpList": [], | ||
// regex patterns than can be used with ignoreRegExpList or includeRegExpList | ||
// Example: "pattern": [{ "name": "mdash", "pattern": "—" }] | ||
// This could be included in "ignoreRegExpList": ["mdash"] | ||
"patterns": [], | ||
// List of dictionaries to enable by name in `dictionaryDefinitions` | ||
"dictionaries": ["docker"], | ||
// Dictionary definitions can also be supplied here. They are only used iff "languageId" and "locale" match. | ||
"dictionaryDefinitions": [] | ||
} | ||
], | ||
"globRoot": "${cwd}", | ||
"overrides": [ | ||
{ | ||
"filename": "**/Dockerfile", | ||
"languageId": "dockerfile" | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,7 @@ | ||
{ | ||
"version": "0.2", | ||
"files": [ | ||
"**/*.{md,txt}" | ||
], | ||
"dictionaries": [ | ||
"docker" | ||
], | ||
"import": [ | ||
"./cspell-ext.json" | ||
], | ||
"words": [ | ||
] | ||
"files": ["**/*.{md,txt}", "**/Dockerfile"], | ||
"ignorePaths": ["src"], | ||
"dictionaries": [], | ||
"import": ["./cspell-ext.json"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# syntax=docker/dockerfile:1 | ||
FROM node:12-alpine | ||
RUN apk add --no-cache python2 g++ make | ||
WORKDIR /app | ||
COPY . . | ||
RUN yarn install --production | ||
CMD ["node", "src/index.js"] | ||
EXPOSE 3000 |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters