UNPKG

eslint-config-bbva

Version:
44 lines (43 loc) 1.26 kB
{ "rules": { "camelcase": 0, "consistent-this": [1, "self"], "func-names": 0, "func-style": [1, "declaration", { "allowArrowFunctions": true }], "id-length": [0, { "min": 3, "exceptions": ["i", "j", "k", "on"] }], "id-match": [0, "^_?[a-z]+([A-Z][a-z]+)*$"], "max-depth": [1, 3], "max-len": [1, { "code": 150, "ignoreUrls": true }], "max-nested-callbacks": [1, 3], "max-params": [1, 5], "max-statements": [1, 20], "new-cap": 0, "no-array-constructor": 2, "no-bitwise": 2, "no-continue": 2, "no-inline-comments": 0, "no-lonely-if": 2, "no-negated-condition": 0, "no-nested-ternary": 2, "no-new-object": 2, "no-plusplus": 0, "no-ternary": 0, "no-underscore-dangle": 0, "no-unneeded-ternary": 1, "one-var": 0, "operator-assignment": [1, "always"], "padding-line-between-statements": [ 1, { "blankLine": "always", "prev": "*", "next": "return" }, { "blankLine": "always", "prev": ["const", "let", "var"], "next": "*" }, { "blankLine": "any", "prev": ["const", "let", "var"], "next": ["const", "let", "var"] } ], "require-jsdoc": 0, "sort-vars": 0, "spaced-comment": [1, "always"] } }