https://github.com/probmods/webppl
Tip revision: 52d7b5872ead99aa069d8d6bd911147f3db6fbed authored by Andreas Stuhlmueller on 09 November 2017, 01:26:36 UTC
0.9.11
0.9.11
Tip revision: 52d7b58
.eslintrc.js
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'
]
}
};