@gocardless/stubby
Version:
AJAX Testing Stub Library
84 lines (83 loc) • 2.12 kB
Plain Text
{
"parser": "babel-eslint",
"env": {
"browser": true,
"node": true,
"jest": true,
},
"globals": {
"_": true,
"describe": true,
"it": true,
"beforeEach": true,
"afterEach": true,
"expect": true,
"jasmine": true
},
"rules": {
"brace-style": [2, "1tbs", { "allowSingleLine": true }],
"camelcase": [2, { "properties": "always" }],
"comma-dangle": [2, "never"],
"comma-spacing": 0,
"comma-style": [2, "last"],
"consistent-return": 2,
"max-len": [2, 140, 4],
"consistent-this": [0, "self"],
"indent": [2, 2],
"key-spacing": [2, {
"beforeColon": false,
"afterColon": true
}],
"new-parens": 2,
"no-array-constructor": 2,
"no-constant-condition": 2,
"no-continue": 2,
"no-debugger": 2,
"no-dupe-args": 2,
"no-dupe-keys": 2,
"no-duplicate-case": 2,
"new-cap": 2,
"no-empty": 2,
"no-ex-assign": 2,
"no-extra-boolean-cast": 2,
"no-extra-semi": 2,
"no-func-assign": 2,
"no-inline-comments": 2,
"no-inner-declarations": 2,
"no-invalid-regexp": 2,
"no-irregular-whitespace": 2,
"no-label-var": 2,
"no-lonely-if": 2,
"no-mixed-spaces-and-tabs": 2,
"no-multiple-empty-lines": 2,
"no-negated-in-lhs": 2,
"no-nested-ternary": 2,
"no-new-object": 2,
"no-obj-calls": 2,
"no-shadow": 2,
"no-shadow-restricted-names": 2,
"no-spaced-func": 2,
"no-sparse-arrays": 2,
"no-trailing-spaces": 2,
"no-undef": 2,
"no-undef-init": 2,
"no-unreachable": 2,
"no-unused-vars": 2,
"no-extra-parens": 2,
"one-var": [2, "never"],
"operator-assignment": [2, "always"],
"operator-linebreak": [2, "after"],
"padded-blocks": [0, "never"],
"quote-props": [2, "as-needed"],
"quotes": [2, "single"],
"semi": [2, "always"],
"keyword-spacing": [2, {"after": true}],
"space-before-blocks": [2, "always"],
"space-before-function-paren": [2, "never"],
"space-in-parens": [2, "never"],
"space-infix-ops": 2,
"use-isnan": 2,
"valid-typeof": 2,
"wrap-iife": 2,
}
}