2018-01-08 21:19:25 +00:00
|
|
|
// For reference: https://github.com/airbnb/javascript
|
|
|
|
|
|
|
|
module.exports = {
|
|
|
|
env: {
|
|
|
|
mocha: true,
|
2018-04-20 19:11:56 +00:00
|
|
|
browser: true,
|
|
|
|
},
|
|
|
|
|
2018-04-25 17:28:28 +00:00
|
|
|
globals: {
|
|
|
|
assert: true
|
|
|
|
},
|
|
|
|
|
2018-04-20 19:11:56 +00:00
|
|
|
parserOptions: {
|
|
|
|
sourceType: 'script',
|
2018-01-08 21:19:25 +00:00
|
|
|
},
|
|
|
|
|
|
|
|
rules: {
|
|
|
|
// We still get the value of this rule, it just allows for dev deps
|
|
|
|
'import/no-extraneous-dependencies': ['error', {
|
|
|
|
devDependencies: true
|
|
|
|
}],
|
|
|
|
|
|
|
|
// We want to keep each test structured the same, even if its contents are tiny
|
|
|
|
'arrow-body-style': 'off',
|
|
|
|
}
|
|
|
|
};
|