easy-mock-client
Version:
using easy mock as sdk or cli
74 lines (72 loc) • 1.75 kB
Plain Text
{
"parserOptions": {
"ecmaVersion": 8,
"sourceType": "module"
},
"env": {
"node": true,
"es6": true
},
"globals": {
"config": true,
"tracer": true
},
"rules": {
"no-param-reassign": 0,
"no-extra-semi": 1,
"indent": ["error", 2],
"semi": [ 1, "never" ],
"no-extra-parens": 1,
"no-empty": 1,
"no-dupe-args": 2,
"no-constant-condition": 2,
"no-dupe-keys": 2,
"no-duplicate-case": 2,
"no-unreachable": 2,
"no-sparse-arrays": 2,
"no-shadow-restricted-names": 2,
"no-unexpected-multiline": 2,
"no-use-before-define": [1, "nofunc"],
"comma-dangle": [ 1, "only-multiline" ],
"no-undef": 2,
"no-else-return": 1,
"no-cond-assign": 2,
"no-native-reassign": 2,
"no-multi-spaces": 1,
"block-scoped-var": 2,
"no-loop-func": 2,
"no-trailing-spaces": 2,
"key-spacing": [ 1, {
"beforeColon": false,
"afterColon": true,
"mode": "strict"
}],
"comma-spacing": [ 2, {
"before": false, "after": true
}],
"no-lone-blocks": 2,
"no-labels": 2,
"no-extend-native": 2,
"no-new-func": 2,
"no-self-compare": 2,
"no-sequences": 2,
"no-throw-literal": 2,
"no-return-assign": [ 2, "always" ],
"no-redeclare": [ 2, { "builtinGlobals": true } ],
"no-unused-expressions": [1, {
"allowShortCircuit": true,
"allowTernary": true
}],
"no-useless-call": 0,
"no-useless-concat": 2,
"no-void": 2,
"no-with": 2,
"curly": 1,
"no-mixed-spaces-and-tabs": 2,
"space-infix-ops": 1,
"comma-style": [1, "last"],
"block-spacing": [1, "always"],
"object-curly-spacing": [1, "always"],
"array-bracket-spacing": [1, "never"]
}
}