UNPKG

eslint-config-braintree

Version:
51 lines (50 loc) 1.35 kB
"use strict"; module.exports = { rules: { "accessor-pairs": 2, "block-scoped-var": 2, complexity: 1, "consistent-return": 2, "default-case": 2, eqeqeq: [2, "allow-null"], "guard-for-in": 2, "no-alert": 1, "no-caller": 2, "no-div-regex": 2, "no-else-return": 2, "no-labels": 2, "no-eq-null": 0, "no-eval": 2, "no-extend-native": 2, "no-extra-bind": 2, "no-fallthrough": 2, "no-implicit-coercion": [2, { string: true, number: true, boolean: true }], "no-iterator": 2, "no-lone-blocks": 2, "no-multi-str": 2, "no-native-reassign": 2, "no-new-func": 2, "no-new-wrappers": 2, "no-new": 2, "no-octal-escape": 2, "no-octal": 2, "no-param-reassign": 0, "no-process-env": 0, "no-proto": 2, "no-return-assign": 2, "no-script-url": 2, "no-self-compare": 2, "no-sequences": 2, "no-useless-call": 2, "no-useless-concat": 2, "no-void": 2, "no-warning-comments": [ 1, { terms: ["todo", "fixme"], location: "anywhere" }, ], "no-with": 2, radix: 2, "vars-on-top": 2, yoda: [2, "never"], }, };