UNPKG

rail

Version:

An enhanced HTTP/RESTful API Client

83 lines (82 loc) 2.41 kB
{ "rules": { "no-cond-assign": 2, "no-console": 1, "no-constant-condition": 2, "no-delete-var": 2, "no-dupe-args": 2, "no-dupe-keys": 2, "no-duplicate-case": 2, "no-empty": 1, "no-empty-character-class": 2, "no-extra-bind": 2, "no-extra-semi": 2, "no-extra-parens": 1, "no-fallthrough": 2, "no-func-assign": 2, "no-invalid-regexp": 2, "no-irregular-whitespace": 2, "no-multi-spaces": 2, "no-new-func": 2, "no-new-object": 2, "no-path-concat": 2, "callback-return": 1, "no-process-exit": 2, "no-redeclare": 2, "no-shadow": 1, "no-spaced-func": 2, "no-trailing-spaces": 2, "no-undef": 2, "no-unused-vars": [1, {"vars": "local", "args": "after-used"}], "no-underscore-dangle": 0, "no-use-before-define": [2, "nofunc"], "arrow-parens": [2, "always"], "brace-style": [2, "1tbs", { "allowSingleLine": true }], "camelcase": 0, "comma-spacing": [2, {"before": false, "after": true}], "comma-dangle": [2, "never"], "consistent-return": 0, "consistent-this": [2, "self"], "curly": [2, "all"], "dot-notation": [2, {"allowKeywords": true}], "eol-last": 2, "eqeqeq": [2, "smart"], "indent": [2, 2, {"SwitchCase": 1}], "key-spacing": [2, {"beforeColon": false, "afterColon": true}], "keyword-spacing": 2, "new-parens": 2, "newline-per-chained-call": 0, "no-extra-label": 2, "no-unused-labels": 2, "no-new-symbol": 2, "no-restricted-imports": [2, "lodash", "underscore"], "no-useless-constructor": 2, "template-curly-spacing": [2, "never"], "operator-linebreak": [2, "after"], "quotes": [2, "single"], "semi": [2, "always"], "space-before-blocks": [2, "always"], "space-before-function-paren": [2, "never"], "object-curly-spacing": [2, "never"], "array-bracket-spacing": [2, "never"], "computed-property-spacing": [2, "never"], "space-infix-ops": 2, "space-unary-ops": [2, {"words": true, "nonwords": false}], "spaced-comment": [2, "always"], "strict": [2, "global"], "valid-typeof": 2, "yoda": [2, "never"], "valid-jsdoc": [1, { "requireReturn": false, "requireReturnDescription": false, "requireParamDescription": false, "prefer": { "returns": "return" } }] }, "env": { "node": true, "es6": true } }