@zebrunner/javascript-agent-mocha
Version:
Zebrunner Agent for Mocha
35 lines (34 loc) • 826 B
JavaScript
module.exports = {
env: {
browser: true,
es6: true,
node: true,
mocha: true,
},
extends: ['eslint:recommended', 'airbnb-base'],
globals: {
Atomics: 'readonly',
SharedArrayBuffer: 'readonly',
},
parserOptions: {
ecmaVersion: 13,
sourceType: 'module',
},
rules: {
'no-console': 0,
indent: ['error', 2, { ignoreComments: true, SwitchCase: 1 }],
'max-len': 0,
'consistent-return': 0,
camelcase: 0,
'no-underscore-dangle': 0,
'no-promise-executor-return': 0,
'no-template-curly-in-string': 0,
'new-cap': 0,
'padding-line-between-statements': [
'error',
{ blankLine: 'always', prev: '*', next: 'return' },
{ blankLine: 'always', prev: '*', next: 'if' },
{ blankLine: 'always', prev: '*', next: 'break' },
],
},
};