UNPKG

tsdom

Version:

Fast, lightweight JavaScript DOM manipulation utility

105 lines (104 loc) 2.91 kB
{ "extends": [ "tslint:recommended", "tslint-eslint-rules", "tslint-config-prettier" ], "linterOptions": { "exclude": ["./Content/tests/**/*.ts"] }, "rules": { "align": false, "ban": false, "class-name": true, "comment-format": [true, "check-space"], "curly": false, "eofline": false, "forin": true, "indent": false, "max-classes-per-file": false, "no-reference": true, "interface-name": true, "jsdoc-format": true, "label-position": true, "max-line-length": [true, 140], "ordered-imports": [false], "no-any": false, "no-arg": true, "no-bitwise": false, "no-console": [true, "debug", "info", "time", "timeEnd", "trace"], "no-consecutive-blank-lines": [true, 2], "no-construct": true, "no-constructor-vars": false, "no-debugger": true, "no-shadowed-variable": true, "no-duplicate-variable": true, "no-empty": true, "no-eval": true, "no-internal-module": true, "no-require-imports": false, "no-string-literal": true, "no-switch-case-fall-through": true, "no-conditional-assignment": false, "trailing-comma": true, "no-this-assignment": [ true, { "allow-destructuring": true } ], "prefer-const": true, "member-ordering": [false], "object-literal-sort-keys": false, "no-trailing-whitespace": true, "no-unused-expression": true, "no-var-keyword": true, "no-var-requires": false, "no-namespace": [true, "allow-declarations"], "one-line": [ true, "check-open-brace", "check-catch", "check-else", "check-whitespace" ], "quotemark": [true, "single", "jsx-double"], "radix": true, "semicolon": false, "switch-default": true, "triple-equals": [true, "allow-null-check"], "typedef": [ false, "call-signature", "parameter", "property-declaration", "member-variable-declaration" ], "typedef-whitespace": [ true, { "call-signature": "nospace", "index-signature": "nospace", "parameter": "nospace", "property-declaration": "nospace", "variable-declaration": "nospace" } ], "variable-name": [true, "ban-keywords"], "whitespace": [ true, "check-branch", "check-decl", "check-operator", "check-separator", "check-type", "check-preblock" ], "ter-newline-after-var": true }, "jsRules": { "max-line-length": { "options": [120] } } }