mirror of
https://github.com/finos/SymphonyElectron.git
synced 2024-12-27 01:11:13 -06:00
56 lines
1.5 KiB
JSON
56 lines
1.5 KiB
JSON
{
|
|
"extends": ["tslint:latest", "tslint-config-prettier"],
|
|
"linterOptions": {
|
|
"exclude": ["**/*.json"]
|
|
},
|
|
"rules": {
|
|
"curly": true,
|
|
"eofline": true,
|
|
"align": [true, "parameters"],
|
|
"class-name": true,
|
|
"indent": [true, "spaces"],
|
|
"max-line-length": [true, 650],
|
|
"no-shadowed-variable": false,
|
|
"no-trailing-whitespace": true,
|
|
"no-duplicate-variable": true,
|
|
"no-var-keyword": true,
|
|
"variable-name": [
|
|
true,
|
|
"ban-keywords",
|
|
"check-format",
|
|
"allow-leading-underscore",
|
|
"allow-pascal-case"
|
|
],
|
|
"no-empty": true,
|
|
"no-unused-expression": true,
|
|
"no-implicit-dependencies": [true, "dev", "optional"],
|
|
"no-object-literal-type-assertion": false,
|
|
"no-var-requires": true,
|
|
"only-arrow-functions": true,
|
|
"object-literal-sort-keys": false,
|
|
"no-console": [true, "log", "error"],
|
|
"one-line": [true, "check-else", "check-whitespace", "check-open-brace"],
|
|
"quotemark": [true, "single", "avoid-escape"],
|
|
"semicolon": [true, "always", "ignore-bound-class-methods"],
|
|
"typedef-whitespace": [
|
|
true,
|
|
{
|
|
"call-signature": "nospace",
|
|
"index-signature": "nospace",
|
|
"parameter": "nospace",
|
|
"property-declaration": "nospace",
|
|
"variable-declaration": "nospace"
|
|
}
|
|
],
|
|
"whitespace": [
|
|
true,
|
|
"check-branch",
|
|
"check-decl",
|
|
"check-operator",
|
|
"check-type",
|
|
"check-module"
|
|
],
|
|
"completed-docs": [true, "functions", "methods"]
|
|
}
|
|
}
|