28 lines
912 B
JSON
28 lines
912 B
JSON
{
|
|
"extends": ["tslint:recommended"],
|
|
"rules": {
|
|
"quotemark": [true, "single"],
|
|
"no-any": false,
|
|
"variable-name": [true, "ban-keywords", "check-format", "allow-pascal-case", "allow-leading-underscore"],
|
|
"no-unused-variable": true,
|
|
"ordered-imports": false,
|
|
"import-name": false,
|
|
"trailing-comma": false,
|
|
"object-literal-sort-keys": false,
|
|
"semicolon": [true, "always", "strict-bound-class-methods"],
|
|
"interface-name": false,
|
|
"file-name-casing": [true, { ".ts": "pascal-case", ".tsx": "pascal-case" }],
|
|
"no-increment-decrement": false,
|
|
"max-line-length": [
|
|
true,
|
|
{
|
|
"limit": 200,
|
|
"ignore-pattern": "^import |^export {(.*?)} |//"
|
|
}
|
|
],
|
|
"arrow-parens": [true, "ban-single-arg-parens"],
|
|
"ter-arrow-parens": [true, "as-needed"]
|
|
},
|
|
"defaultSeverity": "error"
|
|
}
|
|
|