UNPKG

yarle-evernote-to-md

Version:

Yet Another Rope Ladder from Evernote

331 lines (330 loc) 7.08 kB
{ "extends": [ "tslint-config-prettier" ], "defaultSeverity": "error", "rulesDirectory": [ "node_modules/tslint-microsoft-contrib" ], "jsRules": {}, "rules": { "no-unnecessary-class": [ true, "allow-constructor-only", "allow-static-only", "allow-empty-class" ], "member-access": [ true, "no-public" ], "member-ordering": [ true, { "order": [ "public-before-private", "static-before-instance", "variables-before-functions" ] } ], "adjacent-overload-signatures": true, "unified-signatures": true, "prefer-function-over-method": [ true, "allow-public", "allow-protected" ], "no-invalid-this": [ true, "check-function-in-method" ], "no-duplicate-super": true, "new-parens": true, "no-misused-new": true, "no-construct": true, "no-empty-interface": true, "prefer-method-signature": true, "interface-over-type-literal": true, "no-arg": true, "only-arrow-functions": [ true, "allow-declarations", "allow-named-functions" ], "arrow-parens": [ true, "ban-single-arg-parens" ], "arrow-return-shorthand": true, "no-return-await": true, "prefer-const": true, "no-shadowed-variable": [ true, { "temporalDeadZone": false } ], "one-variable-per-declaration": [ true, "ignore-for-loop" ], "no-duplicate-variable": [ true, "check-parameters" ], "no-unnecessary-initializer": true, "no-implicit-dependencies": false, "ordered-imports": [ true, { "import-sources-order": "any", "named-imports-order": "case-insensitive", "grouped-imports": true } ], "no-duplicate-imports": true, "import-blacklist": [ true ], "no-require-imports": true, "no-default-export": true, "no-reference": true, "typedef": [ true, "call-signature", "property-declaration" ], "no-inferrable-types": true, "no-angle-bracket-type-assertion": true, "callable-types": true, "no-null-keyword": false, "no-non-null-assertion": true, "array-type": [ true, "generic" ], "prefer-object-spread": true, "object-literal-shorthand": true, "object-literal-key-quotes": [ true, "as-needed" ], "quotemark": [ true, "single", "avoid-template", "avoid-escape" ], "prefer-template": true, "no-invalid-template-strings": true, "triple-equals": [ true, "allow-null-check" ], "binary-expression-operand-order": true, "no-dynamic-delete": true, "no-bitwise": true, "use-isnan": true, "no-conditional-assignment": true, "prefer-conditional-expression": [ true, "check-else-if" ], "prefer-for-of": true, "forin": true, "switch-default": true, "no-switch-case-fall-through": true, "no-duplicate-switch-case": true, "no-unsafe-finally": true, "encoding": true, "cyclomatic-complexity": [ true, 20 ], "max-file-line-count": [ true, 1000 ], "max-line-length": [ true, 140 ], "indent": [ true, "spaces", 2 ], "eofline": true, "curly": [ true ], "whitespace": [ true, "check-branch", "check-decl", "check-operator", "check-module", "check-separator", "check-rest-spread", "check-type", "check-typecast", "check-type-operator", "check-preblock" ], "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" } ], "space-before-function-paren": [ true, { "anonymous": "never", "named": "never", "asyncArrow": "always", "method": "never", "constructor": "never" } ], "space-within-parens": [true, 0], "import-spacing": true, "no-trailing-whitespace": true, "newline-before-return": true, "newline-per-chained-call": false, "one-line": [ true, "check-open-brace", "check-whitespace", "check-else", "check-catch", "check-finally" ], "no-consecutive-blank-lines": [ true, 1 ], "semicolon": [ true, "always", "strict-bound-class-methods" ], "align": [ true, "parameters", "statements" ], "trailing-comma": [ true, { "multiline": "always", "singleline": "never", "esSpecCompliant": true } ], "class-name": true, "variable-name": [ true, "check-format", "allow-leading-underscore", "ban-keywords" ], "comment-format": [ true, "check-space" ], "jsdoc-format": [ true, "check-multiline-start" ], "no-redundant-jsdoc": false, "no-console": [ true, "log", "debug", "info", "time", "timeEnd", "trace" ], "no-debugger": true, "no-eval": true, "no-string-throw": true, "no-namespace": true, "no-internal-module": true, "radix": true, "no-unused-expression": [ true, "allow-fast-null-checks" ], "no-empty": true, "no-sparse-arrays": true, "angular-whitespace": [ true, "check-interpolation", "check-semicolon" ], "banana-in-box": true, "templates-no-negated-async": true, "directive-selector": [ true, "attribute", [ "ngx", "test" ], "camelCase" ], "component-selector": [ true, "element", [ "ngx", "test" ], "kebab-case" ], "use-input-property-decorator": true, "use-output-property-decorator": true, "use-host-property-decorator": true, "use-view-encapsulation": true, "no-attribute-parameter-decorator": true, "no-output-named-after-standard-event": true, "no-input-rename": true, "no-output-rename": true, "no-output-on-prefix": true, "no-forward-ref": true, "no-unused-css": true, "use-life-cycle-interface": true, "contextual-life-cycle": true, "trackBy-function": true, "use-pipe-transform-interface": true, "component-class-suffix": [ true, "Component" ], "directive-class-suffix": [ true, "Directive" ], "pipe-impure": true, "i18n": [ true, "check-id", "check-text" ], "mocha-avoid-only": true } }