UNPKG

koa-accepts

Version:

Adjust content type based on accepts header

112 lines 2.09 kB
{ "env": { "browser": false, "mocha": true, "node": true }, "extends": [ "tslint:latest" ], "globals": { "React": true }, "parserOptions": { "ecmaFeatures": { "jsx": true } }, "rules": { "align": [ true, "parameters", "arguments", "statements" ], "array-type": [ true, "array" ], "arrow-parens": [ "ban-single-arg-parens" ], "arrow-return-shorthand": [ true, "multiline" ], "class-name": true, "comment-format": [ false ], "curly": [ true, "ignore-same-line" ], "eofline": false, "indent": [ true, "spaces" ], "interface-name": [ true, "never-prefix" ], "jsx-alignment": false, "jsx-boolean-value": false, "jsx-no-multiline-js": false, "jsx-wrap-multiline": false, "no-submodule-imports": false, "max-classes-per-file": [ false ], "max-line-length": [ false ], "no-conditional-assignment": true, "no-console": [ false ], "no-duplicate-variable": true, "no-empty": false, "no-empty-interface": false, "no-invalid-template-strings": true, "no-namespace": false, "no-object-literal-type-assertion": false, "no-shadowed-variable": false, "no-string-literal": true, "no-trailing-whitespace": true, "no-unused-variable": false, "no-use-before-declare": false, "no-var-keyword": true, "no-var-requires": false, "object-literal-shorthand": true, "object-literal-sort-keys": false, "only-arrow-functions": [ false ], "ordered-imports": [ false ], "prefer-for-of": false, "prefer-template": true, "quotemark": [ true, "single", "jsx-double" ], "semicolon": [ true, "never" ], "trailing-comma": [ true, { "multiline": "always", "singleline": "never" } ], "triple-equals": [ true ], "variable-name": false } }