mirror of
https://github.com/VSCodeVim/Vim.git
synced 2024-10-26 20:23:50 +03:00
5a2dc0210d
As a side-effect, our linting just got substantially stricter, and this had to be a pretty wide-reaching change to comply. Sorry if this complicates any merges!
17 lines
526 B
JSON
17 lines
526 B
JSON
{
|
|
"extends": "tslint:recommended",
|
|
"rules": {
|
|
"array-type": { "options": "array-simple" },
|
|
"await-promise": [true, "Thenable"],
|
|
"max-classes-per-file": false,
|
|
"no-console": [true, "debug", "info", "time", "timeEnd", "trace"],
|
|
"no-duplicate-variable": true,
|
|
"no-namespace": false,
|
|
"no-parameter-properties": true,
|
|
"no-return-await": true,
|
|
"no-switch-case-fall-through": true,
|
|
"no-unnecessary-type-assertion": true,
|
|
"prefer-const": { "options": { "destructuring": "all" } }
|
|
}
|
|
}
|