Eslintify test/backup_test.js
This commit is contained in:
parent
d0bcf506b4
commit
c3acf43c47
8 changed files with 163 additions and 108 deletions
27
test/modules/.eslintrc.js
Normal file
27
test/modules/.eslintrc.js
Normal file
|
@ -0,0 +1,27 @@
|
|||
// For reference: https://github.com/airbnb/javascript
|
||||
|
||||
module.exports = {
|
||||
env: {
|
||||
mocha: true,
|
||||
browser: true,
|
||||
},
|
||||
|
||||
"globals": {
|
||||
check: true,
|
||||
gen: true,
|
||||
},
|
||||
|
||||
parserOptions: {
|
||||
sourceType: 'module',
|
||||
},
|
||||
|
||||
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',
|
||||
}
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue