UNPKG

apollo-link-core

Version:

Flexible, lightweight transport layer for GraphQL

108 lines (107 loc) 2.71 kB
{ "rules": { "align": [false, "parameters", "arguments", "statements"], "ban": false, "class-name": true, "curly": true, "eofline": true, "forin": true, "indent": [true, "spaces", 2], "interface-name": false, "jsdoc-format": true, "label-position": true, "max-line-length": [true, 140], "member-access": true, "member-ordering": [ true, "public-before-private", "static-before-instance", "variables-before-functions" ], "no-any": false, "no-arg": true, "no-bitwise": true, "no-conditional-assignment": true, "no-consecutive-blank-lines": false, "no-console": [true, "log", "debug", "info", "time", "timeEnd", "trace"], "no-construct": true, "no-debugger": true, "no-duplicate-variable": true, "no-empty": true, "no-eval": true, "no-inferrable-types": false, "no-internal-module": true, "no-null-keyword": false, "no-parameter-properties": false, "no-require-imports": false, "no-shadowed-variable": true, "no-switch-case-fall-through": true, "no-trailing-whitespace": true, "no-unused-expression": true, "no-use-before-declare": false, "no-var-keyword": true, "no-var-requires": true, "object-literal-sort-keys": false, "one-line": [ true, "check-open-brace", "check-catch", "check-else", "check-finally", "check-whitespace" ], "quotemark": [true, "single", "avoid-escape"], "radix": true, "semicolon": [true, "always"], "switch-default": true, "trailing-comma": [ true, { "multiline": "always", "singleline": "never" } ], "triple-equals": [true, "allow-null-check"], "typedef": [ false, "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": "space", "index-signature": "space", "parameter": "space", "property-declaration": "space", "variable-declaration": "space" } ], "variable-name": [ true, "check-format", "allow-pascal-case", "allow-leading-underscore", "ban-keywords" ], "whitespace": [ true, "check-branch", "check-decl", "check-operator", "check-separator", "check-type" ] } }