random-bunny/.eslintrc

51 lines
1 KiB
Text
Raw Normal View History

2021-01-13 21:08:47 +00:00
{
"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",
2021-01-16 22:16:20 +00:00
"prefer-template": "error",
"prefer-const": "error"
2021-01-13 21:08:47 +00:00
},
"globals": {
"exports": "writable",
"module": "writable",
"require": "writable",
"process": "writable",
"console": "writable",
"jest": "writable"
2021-01-13 21:08:47 +00:00
}
2021-01-16 22:16:20 +00:00
}