Revision 02fa61002832aa8f3159b06d580db7152801b55d authored by Andreas Stuhlmüller on 21 April 2017, 16:58:37 UTC, committed by GitHub on 21 April 2017, 16:58:37 UTC
Fix top level use of `else if`
.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}
]
}
};
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...