@alexisanzieu/passense
Version:
SOLID password to ensure robust security
201 lines • 6.14 kB
JSON
{
"exclude": "**/node_modules/**/*",
"rulesDirectory": [
"./node_modules/tslint-microsoft-contrib"
],
"rules": {
"no-banned-terms": true,
"no-delete-expression": true,
"no-disable-auto-sanitization": true,
"no-document-domain": true,
"no-document-write": true,
"no-eval": true,
"no-exec-script": true,
"no-function-constructor-with-string-args": true,
"no-http-string": [
true,
"http://www.example.com/?.*",
"http://www.examples.com/?.*"
],
"no-inner-html": true,
"no-octal-literal": true,
"no-reserved-keywords": true,
"no-string-based-set-immediate": true,
"no-string-based-set-interval": true,
"no-string-based-set-timeout": true,
"react-no-dangerous-html": true,
"chai-vague-errors": true,
"forin": true,
"jquery-deferred-must-complete": true,
"label-position": true,
"mocha-avoid-only": true,
"no-any": false,
"no-arg": true,
"no-backbone-get-set-outside-model": false,
"no-bitwise": true,
"no-conditional-assignment": true,
"no-console": [
true,
"debug",
"info",
"log",
"time",
"timeEnd",
"trace"
],
"no-constant-condition": true,
"no-control-regex": true,
"no-debugger": true,
"no-duplicate-case": true,
"no-duplicate-variable": true,
"no-empty": true,
"no-increment-decrement": true,
"no-invalid-regexp": true,
"no-invalid-this": false,
"no-missing-visibility-modifiers": true,
"no-regex-spaces": true,
"no-sparse-arrays": true,
"no-stateless-class": false,
"no-string-literal": true,
"no-unnecessary-bind": true,
"no-unnecessary-override": true,
"no-unused-expression": true,
"no-unused-variable": true,
"no-use-before-declare": true,
"no-with-statement": true,
"promise-must-complete": true,
"radix": true,
"switch-default": true,
"triple-equals": [
true,
"allow-null-check"
],
"use-isnan": true,
"use-named-parameter": true,
"valid-typeof": true,
"class-name": true,
"comment-format": [
true,
"check-space"
],
"export-name": true,
"import-name": true,
"interface-name": [
true,
"never-prefix"
],
"jsdoc-format": true,
"max-func-body-length": [
true,
100,
{
"ignore-parameters-to-function-regex": "describe"
}
],
"max-line-length": [
true,
140
],
"member-access": true,
"new-parens": true,
"no-construct": true,
"no-default-export": true,
"no-empty-interfaces": true,
"no-for-in": true,
"no-function-expression": true,
"no-inferrable-types": false,
"no-multiline-string": true,
"no-null-keyword": false,
"no-relative-imports": false,
"no-require-imports": false,
"no-shadowed-variable": true,
"no-unnecessary-local-variable": true,
"no-var-keyword": true,
"no-var-requires": true,
"object-literal-sort-keys": false,
"one-variable-per-declaration": true,
"prefer-array-literal": true,
"prefer-const": true,
"typedef": [
true,
"call-signature",
"parameter",
"property-declaration",
"member-variable-declaration"
],
"variable-name": [
true,
"ban-keywords"
],
"align": [
true,
"parameters",
"statements"
],
"curly": true,
"eofline": true,
"indent": [
true,
"spaces"
],
"no-consecutive-blank-lines": true,
"no-empty-line-after-opening-brace": false,
"no-trailing-whitespace": true,
"no-unnecessary-semicolons": true,
"one-line": [
true,
"check-open-brace",
"check-catch",
"check-finally",
"check-else",
"check-whitespace"
],
"quotemark": [
true,
"single"
],
"semicolon": [
true,
"always"
],
"trailing-comma": true,
"typedef-whitespace": [
true,
{
"call-signature": "nospace",
"index-signature": "nospace",
"parameter": "nospace",
"property-declaration": "nospace",
"variable-declaration": "nospace"
},
{
"call-signature": "onespace",
"index-signature": "onespace",
"parameter": "onespace",
"property-declaration": "onespace",
"variable-declaration": "onespace"
}
],
"whitespace": [
true,
"check-branch",
"check-decl",
"check-operator",
"check-module",
"check-separator",
"check-type",
"check-typecast"
],
"ban": false,
"no-internal-module": false,
"no-namespace": false,
"no-reference": true,
"no-unexternalized-strings": false,
"prefer-type-cast": true,
"no-angle-bracket-type-assertion": false,
"missing-optional-annotation": false,
"no-duplicate-parameter-names": true,
"no-multiple-var-decl": true,
"no-switch-case-fall-through": false
}
}