UNPKG

marklogic

Version:

The official MarkLogic Node.js client API.

112 lines 2.35 kB
{ "env": { "es6": true, "node": true }, "globals": { "Atomics": "readonly", "SharedArrayBuffer": "readonly" }, "parserOptions": { "ecmaVersion": 2018, "sourceType": "module" }, "ignorePatterns": [ "**/data/*.js" ], "rules": { "indent": [ "error", 4 ], "linebreak-style": [ "error", "unix" ], "quotes": [ "error", "single" ], "semi": [ "error", "always" ], "arrow-spacing": [ "error", { "before": true, "after": true } ], "space-before-blocks": [ "error", "always" ], "space-before-function-paren": [ "error", { "named": "never", "asyncArrow": "always" } ], "space-in-parens": [ "error", "never" ], "object-curly-spacing": [ "error", "always" ], "keyword-spacing": [ "error", { "before": true, "after": true } ], "comma-spacing": [ "error", { "before": false, "after": true } ], "key-spacing": [ "error", { "beforeColon": false, "afterColon": true } ], "space-infix-ops": [ "error" ], // "no-var": "error", "array-bracket-spacing": "error", "block-spacing": "error", "brace-style": [ "error", "1tbs", { "allowSingleLine": false } ], "curly": [ "error", "multi-line" ], "func-call-spacing": "error", "no-trailing-spaces": "error", "no-console": [ "off", { "allow": [ "warn", "error", "debug" ] } ], "eqeqeq": "error" } }