UNPKG

webppl

Version:

Probabilistic programming for the web

53 lines (52 loc) 874 B
module.exports = { 'root': true, 'env': { 'browser': true, 'node': true }, 'extends': 'eslint:recommended', 'globals': { Float64Array: true }, 'rules': { 'indent': [ 'error', 2, { SwitchCase: 1, VariableDeclarator: 2, ArrayExpression: 'first' } ], 'linebreak-style': [ 'error', 'unix' ], 'max-len': [ 'error', 120 ], 'no-console': 'off', 'no-constant-condition': [ 'error', {checkLoops: false} ], 'no-empty': [ 'error', {allowEmptyCatch: true} ], 'no-extra-bind': 'error', 'no-redeclare': 'off', 'no-unused-vars': 'off', 'no-warning-comments': 'error', 'quotes': [ 'error', 'single', {avoidEscape: true} ], 'strict': [ 'error', 'global' ] } };