ens-validation/tslint.json

38 lines
1.2 KiB
JSON

{
"defaultSeverity": "error",
"extends": ["tslint:recommended", "tslint-config-prettier"],
"rules": {
"quotemark": false,
"trailing-comma": false,
"object-literal-sort-keys": false,
"arrow-return-shorthand": true,
"prefer-method-signature": true,
"arrow-parens": false,
"no-unnecessary-type-assertion": true,
"array-type": [true, "array"],
"interface-name": [true, "never-prefix"],
"no-duplicate-imports": true,
"no-console": false,
"no-var-requires": false,
"comment-format": false,
"ordered-imports": true,
"no-default-export": true,
"prefer-readonly": true,
"no-reference": true,
"unified-signatures": true,
"await-promise": true,
"cyclomatic-complexity": [true, 16],
"prefer-const": true,
"no-boolean-literal-compare": true,
"no-unnecessary-callback-wrapper": true,
"no-unnecessary-initializer": true,
"one-variable-per-declaration": true,
"deprecation": true,
"no-mergeable-namespace": true,
"strict-type-predicates": true,
"prefer-conditional-expression": true,
"no-bitwise": false,
"variable-name": ["check-format", "allow-pascal-case"]
}
}