UNPKG

ws2801-pi

Version:

WS2801-Pi is a module for controlling WS2801 LED strips with a Raspberry Pi via SPI.

157 lines (155 loc) 4.48 kB
{ "rules": { "adjacent-overload-signatures": true, "member-access": [true, "check-accessor"], "member-ordering": [ true, { "order": [ "static-field", "instance-field", "constructor", "static-method", "instance-method" ] } ], "no-any": true, "no-empty-interface": true, "no-inferrable-types": false, "no-internal-module": true, "no-magic-numbers": false, "no-namespace": true, "no-reference": true, "no-var-requires": true, "only-arrow-functions": [true, "allow-named-functions"], "prefer-for-of": true, "promise-function-async": false, "typedef": [ true, "call-signature", "arrow-call-signature", "parameter", "arrow-parameter", "property-declaration", "variable-declaration", "member-variable-declaration" ], "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, "await-promise": false, "curly": true, "forin": false, "import-blacklist": [true, "rxjs", "lodash"], "label-position": true, "no-arg": true, "no-bitwise": false, "no-conditional-assignment": true, "no-console": [true, "log", "error"], "no-construct": true, "no-debugger": true, "no-duplicate-variable": true, "no-empty": true, "no-eval": true, "no-invalid-this": true, "no-misused-new": true, "no-null-keyword": false, "no-shadowed-variable": true, "no-string-literal": false, "no-string-throw": true, "no-switch-case-fall-through": false, "no-this-assignment": true, "no-unsafe-finally": false, "no-unused-expression": [true, "allow-fast-null-checks"], "no-use-before-declare": true, "no-var-keyword": true, "radix": false, "strict-boolean-expressions": false, "strict-type-predicates": false, "switch-default": true, "triple-equals": false, "typeof-compare": true, "use-isnan": true, "cyclomatic-complexity": [true, 20], "eofline": true, "indent": [true, "spaces", 2], "linebreak-style": [true, "LF"], "max-classes-per-file": [true, 1], "max-file-line-count": [true, 3000], "max-line-length": [true, 150], "no-default-export": false, "no-mergeable-namespace": true, "no-require-imports": true, "no-trailing-whitespace": true, "object-literal-sort-keys": false, "prefer-const": true, "trailing-comma": [true, {"multiline": "always", "singleline": "never"}], "align": [true, "parameters", "statements"], "array-type": [true, "generic"], "arrow-parens": true, "arrow-return-shorthand": [false], "callable-types": false, "class-name": true, "comment-format": [true, "check-space"], "completed-docs": [false], "file-header": [false], "import-spacing": true, "interface-name": [false], "interface-over-type-literal": false, "jsdoc-format": false, "new-parens": true, "no-angle-bracket-type-assertion": false, "no-consecutive-blank-lines": [true, 1], "no-parameter-properties": false, "no-unnecessary-initializer": true, "no-unused-variable": false, "object-literal-key-quotes": [true, "as-needed"], "object-literal-shorthand": false, "one-line": [ true, "check-catch", "check-finally", "check-else", "check-open-brace", "check-whitespace" ], "one-variable-per-declaration": [true, "ignore-for-loop"], "ordered-imports": true, "prefer-function-over-method": false, "prefer-method-signature": true, "quotemark": [true, "single"], "semicolon": [true, "always"], "space-before-function-paren": [true, "never"], "variable-name": [ true, "ban-keywords", "check-format", "allow-leading-underscore" ], "whitespace": [ true, "check-branch", "check-decl", "check-operator", "check-separator", "check-type", "check-typecast", "check-preblock" ] } }