overleaf/services/web/.eslintrc

21 lines
468 B
Text
Raw Normal View History

2018-02-22 14:25:26 -05:00
{
"extends": ["standard"],
"plugins": [
"chai-expect",
"chai-friendly"
],
"env": {
"mocha": true
},
"globals": {
"expect": true
},
"rules": {
// Add some chai specific rules
"chai-expect/missing-assertion": "error",
"chai-expect/terminating-properties": "error",
// Swap the no-unused-expressions rule with a more chai-friendly one
"no-unused-expressions": 0,
"chai-friendly/no-unused-expressions": "error"
}
2018-02-22 14:25:26 -05:00
}