mirror of
https://github.com/holub/mame
synced 2025-04-16 05:24:54 +03:00

- More c++, less macros * Significantly reduced the use of unused_var and replaced it with [[maybe_unused]] * use enum class in ppmf.h - Changes to testing code in ptest.h * Catch exceptions in more places * The verbosity of the output can now be controlled * Display of test stats totals - added support for cspell - fixed various typos - fixed SUBTARGET=nl build - fixed more file permissions - srcclean and add fix_permissions target to netlist makefile
77 lines
1.8 KiB
JSON
77 lines
1.8 KiB
JSON
{
|
|
"words" : [
|
|
"MAME",
|
|
"netlist",
|
|
"netlists",
|
|
"datasheet",
|
|
"cmos",
|
|
"opamp",
|
|
"opamps",
|
|
"mosfet",
|
|
"mosfets",
|
|
"Chebyshev",
|
|
"Fairchild",
|
|
"Schmitt",
|
|
"Transconductance",
|
|
"nmos",
|
|
"pmos",
|
|
"retriggerable", // not in leo
|
|
"presettable", // not in leo
|
|
"misformatted", // not in leo
|
|
"monostable",
|
|
"demultiplexer",
|
|
"demultiplexers",
|
|
"behavioural",
|
|
"highpass",
|
|
"nltool",
|
|
"nvcc",
|
|
"Couriersud",
|
|
"plib", // FIXME: Remove everything below here again
|
|
"ppmf"
|
|
],
|
|
"languageSettings": [
|
|
// This one works with Python
|
|
{
|
|
"languageId": "python",
|
|
"includeRegExpList": [
|
|
"/#.*/",
|
|
"/('''|\"\"\")[^\\1]+?\\1/g",
|
|
"strings"
|
|
]
|
|
},
|
|
// This one works with JavaScript, Typescript, etc
|
|
{
|
|
"languageId": "javascript,typescript",
|
|
"includeRegExpList": [
|
|
"CStyleComment",
|
|
"strings"
|
|
]
|
|
},
|
|
// Use with cpp or c files
|
|
{
|
|
"languageId": "cpp,c,h",
|
|
// Turn off compound words, because it is only checking strings.
|
|
"allowCompoundWords": false,
|
|
// Only check comments and strings
|
|
"includeRegExpList": [
|
|
"CStyleComment",
|
|
"string"
|
|
],
|
|
"ignoreRegExpList": [
|
|
"/#include.*/", // Exclude includes, because they are also strings
|
|
"/#pragma.*/", // Exclude pragmas, they may include strings
|
|
"/\/\/ NOLINT:.*/", // Exclude clang-tidy instructions
|
|
"/\/\/\/ \\\\file.*/", // Doxygen
|
|
"/\/\/\/ \\\\addtogroup.*/", // Doxygen
|
|
"/`[^`]+`/", // Markup code formatt
|
|
"/} \/\/ namespace.*/", // Namespace comments
|
|
"/[A-Z][A-Z][A-Z][^\\s]*/", // Identifiers starting with at least 3 capital letters
|
|
// Project specific exclusions start here
|
|
"/\/\/ copyright-holders.*/",
|
|
"/\/\/- Pinalias:/",
|
|
"/\/\/#.*/" // commented source code
|
|
]
|
|
}
|
|
]
|
|
}
|