UNPKG

sms-counter-npm

Version:

Character counter for SMS messages.

200 lines (199 loc) 4.25 kB
{ "extends": "tslint:recommended", "rules": { "adjacent-overload-signatures": true, "array-type": [ true, "array" ], "arrow-parens": [ true, "ban-single-arg-parens" ], "arrow-return-shorthand": true, "await-promise": [ true, "PromiseLike", "Bluebird" ], "class-name": true, "comment-format": [ true, "check-space", { "ignore-words": [ "TODO", "TODO:" ] } ], "curly": true, "deprecation": true, "encoding": true, "eofline": true, "forin": false, "import-spacing": true, "indent": [ true, "spaces" ], "interface-name": false, "interface-over-type-literal": true, "linebreak-style": [ true, "LF" ], "max-classes-per-file": false, "max-line-length": [ true, 200 ], "member-access": true, "member-ordering": [ true, { "order": "fields-first" } ], "new-parens": true, "newline-before-return": true, "no-angle-bracket-type-assertion": false, "no-any": false, "no-arg": true, "no-bitwise": false, "no-conditional-assignment": true, "no-consecutive-blank-lines": [ true, 1 ], "no-console": [ true, "log", "error", "debug", "info", "time", "trace", "timeEnd" ], "no-construct": true, "no-debugger": true, "no-duplicate-imports": true, "no-duplicate-super": true, "no-duplicate-switch-case": true, "no-empty": true, "no-empty-interface": false, "no-eval": true, "no-invalid-template-strings": true, "no-invalid-this": false, "no-irregular-whitespace": false, "no-misused-new": true, "no-require-imports": false, "no-return-await": true, "no-shadowed-variable": true, "no-string-throw": true, "no-this-assignment": true, "no-trailing-whitespace": [ true, "ignore-comments" ], "no-unused-expression": [ true, "allow-fast-null-checks", "allow-new" ], "no-var-keyword": true, "no-var-requires": false, "object-literal-key-quotes": [ false, "consistent-as-needed" ], "object-literal-shorthand": false, "object-literal-sort-keys": false, "one-variable-per-declaration": [ true, "ignore-for-loop" ], "only-arrow-functions": [ true, "allow-declarations", "allow-named-functions" ], "ordered-imports": [ true, { "groups": [ { "order": 0, "match": "^@(application|domain|infrastructure)" } ], "grouped-imports": true, "import-sources-order": "lowercase-last", "named-imports-order": "lowercase-last" } ], "prefer-const": true, "prefer-for-of": true, "prefer-object-spread": true, "prefer-readonly": true, "prefer-template": [ true, "allow-single-concat" ], "promise-function-async": false, "quotemark": [ true, "single" ], "radix": true, "restrict-plus-operands": true, "return-undefined": true, "semicolon": [ true, "always" ], "space-before-function-paren": false, "trailing-comma": [ true, { "multiline": "always", "singleline": "never" } ], "triple-equals": [ true, "allow-undefined-check" ], "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" } ], "unified-signatures": true, "use-isnan": true, "variable-name": [ true, "ban-keywords" ], "whitespace": [ true, "check-branch", "check-operator", "check-typecast", "check-type" ] } }