Vylpes
06485e0a88
All checks were successful
continuous-integration/drone/push Build is passing
- Setup Jest - Add test scripts - Configure Drone Fixes #1 Co-authored-by: Ethan Lane <ethan@vylpes.com> Reviewed-on: https://gitea.vylpes.xyz/RabbitLabs/random-bunny/pulls/57
50 lines
1 KiB
Text
50 lines
1 KiB
Text
{
|
|
"parserOptions": {
|
|
"ecmaVersion": 6
|
|
},
|
|
"extends": [
|
|
"eslint:recommended"
|
|
],
|
|
"rules": {
|
|
"camelcase": "error",
|
|
"brace-style": [
|
|
"error",
|
|
"1tbs"
|
|
],
|
|
"comma-dangle": [
|
|
"error",
|
|
"never"
|
|
],
|
|
"comma-spacing": [
|
|
"error",
|
|
{
|
|
"before": false,
|
|
"after": true
|
|
}
|
|
],
|
|
"comma-style": [
|
|
"error",
|
|
"last"
|
|
],
|
|
"arrow-body-style": [
|
|
"error",
|
|
"as-needed"
|
|
],
|
|
"arrow-parens": [
|
|
"error",
|
|
"as-needed"
|
|
],
|
|
"arrow-spacing": "error",
|
|
"no-var": "error",
|
|
"prefer-template": "error",
|
|
"prefer-const": "error"
|
|
},
|
|
"globals": {
|
|
"exports": "writable",
|
|
"module": "writable",
|
|
"require": "writable",
|
|
"process": "writable",
|
|
"console": "writable",
|
|
"jest": "writable"
|
|
}
|
|
}
|