53 lines
1.3 KiB
JSON
53 lines
1.3 KiB
JSON
// This file is copied from IBM's closed source configuration. When updating it
|
|
// here, also update the closed source repository, or ask a maintainer to do so
|
|
// if you do not have access.
|
|
{
|
|
"version": "0.2",
|
|
"language": "en",
|
|
"allowCompoundWords": false,
|
|
"dictionaryDefinitions": [
|
|
{
|
|
"name": "qiskit",
|
|
"path": "dictionaries/qiskit.txt",
|
|
"addWords": true
|
|
},
|
|
{
|
|
"name": "people",
|
|
"path": "dictionaries/people.txt",
|
|
"addWords": true
|
|
}
|
|
],
|
|
"dictionaries": [
|
|
"qiskit",
|
|
"people",
|
|
"python",
|
|
"python-common",
|
|
"markdown",
|
|
"softwareTerms",
|
|
"scientific-terms-us"
|
|
],
|
|
"words": ["casteist", "doxxing"],
|
|
"ignoreRegExpList": [
|
|
// Markdown links
|
|
"\\((.*)\\)",
|
|
// $$ ... $$ code blocks
|
|
"\\$\\$\n(?:.*\n)*?\\$\\$",
|
|
// words inside curly braces. e.g. {word}
|
|
"{\\w+}",
|
|
// words inside colons. e.g. :word:
|
|
":\\S+:",
|
|
// words joined by underscores. e.g. hello_world, NEW_KEY_VALUE
|
|
"\\S+_\\S+(_\\S+)*",
|
|
// separate line <span id="" /> tags
|
|
"^<span id=\\S+ />$",
|
|
"^<span id=\\S+></span>$",
|
|
// HTML elements
|
|
"</?thead>",
|
|
"</?iframe",
|
|
// Method use, e.g. Class.foo()
|
|
"([a-zA-Z_]\\w*)\\.[a-zA-Z_\\.]*",
|
|
// Words with numbers in them, which are usually code
|
|
"[a-zA-Z]+\\d+[a-zA-Z\\d]*"
|
|
]
|
|
}
|