oni/tslint.json

43 lines
1.2 KiB
JSON

{
"extends": "tslint:latest",
"cliOptions": {
"exclude": ["test/ci/*.js"]
},
"rules": {
"align": false,
"arrow-parens": [false],
"max-classes-per-file": [false],
"max-line-length": [false],
"no-implicit-dependencies": false,
"no-object-literal-type-assertion": false,
"no-submodule-imports": false,
"no-reference": false,
"no-namespace": false,
"object-literal-key-quotes": false,
"object-literal-sort-keys": false,
"semicolon": false,
"interface-name": [false],
"variable-name": [
true,
"allow-leading-underscore",
"allow-pascal-case",
"ban-keywords",
"check-format"
],
"whitespace": false,
"no-trailing-whitespace": [true, "ignore-template-strings"],
"trailing-comma": [
true,
{
"multiline": {
"objects": "always",
"arrays": "always",
"functions": "always",
"typeLiterals": "ignore"
},
"esSpecCompliant": true
}
]
}
}