UNPKG

rhea

Version:

reactive AMQP 1.0 library

233 lines (232 loc) 6.96 kB
{ "env": { "node": true, "es6": true }, "extends": "eslint:recommended", "rules": { "accessor-pairs": "error", "array-bracket-spacing": "off", "array-callback-return": "error", "arrow-body-style": "error", "arrow-parens": "error", "arrow-spacing": "error", "block-scoped-var": "off", "block-spacing": "warn", "brace-style": [ "error", "1tbs", { "allowSingleLine": true } ], "callback-return": "off", "camelcase": "off", "comma-dangle": [ "error", "only-multiline" ], "comma-spacing": "off", "comma-style": [ "error", "last" ], "complexity": "off", "computed-property-spacing": [ "error", "never" ], "consistent-return": "warn", "consistent-this": "off", "curly": "off", "default-case": "error", "dot-location": [ "error", "property" ], "dot-notation": "off", "eol-last": "error", "eqeqeq": "error", "func-names": "off", "func-style": "off", "generator-star-spacing": "error", "global-require": "error", "guard-for-in": "off", "handle-callback-err": "error", "id-blacklist": "error", "id-length": "off", "id-match": "error", "indent": "warn", "init-declarations": "off", "jsx-quotes": "error", "key-spacing": "off", "keyword-spacing": "off", "linebreak-style": [ "error", "unix" ], "lines-around-comment": "off", "max-depth": "off", "max-len": "off", "max-nested-callbacks": "error", "max-params": "off", "max-statements": "off", "max-statements-per-line": "off", "new-parens": "off", "newline-after-var": "off", "newline-before-return": "off", "newline-per-chained-call": "off", "no-alert": "error", "no-array-constructor": "error", "no-bitwise": "off", "no-caller": "error", "no-catch-shadow": "off", "no-cond-assign": [ "error", "except-parens" ], "no-confusing-arrow": "error", "no-console": "off", "no-continue": "off", "no-div-regex": "error", "no-duplicate-imports": "error", "no-else-return": "off", "no-empty-function": "off", "no-eq-null": "off", "no-eval": "error", "no-extend-native": "error", "no-extra-bind": "error", "no-extra-label": "error", "no-extra-parens": "off", "no-floating-decimal": "error", "no-implicit-coercion": [ "error", { "boolean": false, "number": false, "string": false } ], "no-implicit-globals": "warn", "no-implied-eval": "error", "no-inline-comments": "off", "no-inner-declarations": [ "error", "functions" ], "no-invalid-this": "off", "no-iterator": "error", "no-label-var": "error", "no-labels": "error", "no-lone-blocks": "error", "no-lonely-if": "off", "no-loop-func": "off", "no-magic-numbers": "off", "no-mixed-requires": "off", "no-multi-spaces": "error", "no-multi-str": "error", "no-multiple-empty-lines": "error", "no-native-reassign": "off", "no-negated-condition": "off", "no-nested-ternary": "off", "no-new": "error", "no-new-func": "error", "no-new-object": "error", "no-new-require": "error", "no-new-wrappers": "off", "no-octal-escape": "error", "no-param-reassign": "off", "no-path-concat": "error", "no-plusplus": "off", "no-process-env": "off", "no-process-exit": "error", "no-proto": "error", "no-restricted-globals": "error", "no-redeclare": "off", "no-restricted-imports": "error", "no-restricted-modules": "error", "no-restricted-syntax": "error", "no-return-assign": "error", "no-script-url": "off", "no-self-compare": "error", "no-sequences": "off", "no-shadow": "off", "no-shadow-restricted-names": "error", "no-spaced-func": "error", "no-sync": "off", "no-ternary": "off", "no-throw-literal": "error", "no-trailing-spaces": "error", "no-undef-init": "off", "no-undefined": "off", "no-underscore-dangle": "off", "no-unmodified-loop-condition": "error", "no-unneeded-ternary": [ "error", { "defaultAssignment": true } ], "no-unsafe-finally": "error", "no-unused-expressions": "off", "no-use-before-define": "off", "no-useless-call": "off", "no-useless-computed-key": "error", "no-useless-concat": "error", "no-useless-constructor": "error", "no-useless-escape": "off", "no-var": "off", "no-void": "off", "no-warning-comments": "off", "no-whitespace-before-property": "error", "no-with": "error", "object-curly-spacing": "off", "object-shorthand": "off", "one-var": "off", "one-var-declaration-per-line": "off", "operator-assignment": "off", "operator-linebreak": "off", "padded-blocks": "off", "prefer-arrow-callback": "off", "prefer-const": "error", "prefer-reflect": "off", "prefer-rest-params": "off", "prefer-spread": "off", "prefer-template": "off", "quote-props": "off", "quotes": ["error", "single"], "radix": [ "error", "always" ], "require-jsdoc": "off", "require-yield": "error", "semi": "error", "semi-spacing": "error", "sort-imports": "error", "sort-vars": "off", "space-before-blocks": "error", "space-before-function-paren": "off", "space-in-parens": "off", "space-infix-ops": "off", "space-unary-ops": [ "error", { "nonwords": false, "words": false } ], "spaced-comment": "off", "strict": "off", "template-curly-spacing": "error", "valid-jsdoc": "off", "vars-on-top": "off", "wrap-iife": [ "error", "any" ], "wrap-regex": "off", "yield-star-spacing": "error", "yoda": "off" } }