fix add plant

This commit is contained in:
Romulus21
2022-01-16 17:02:54 +01:00
parent dedda0157d
commit f35944752e
11 changed files with 7576 additions and 3004 deletions

28
.eslintrc.json Normal file
View File

@@ -0,0 +1,28 @@
{
"env": {
"browser": true,
"jest/globals": true
},
"parserOptions": {
"ecmaFeatures": {
"jsx": true
},
"ecmaVersion": 12,
"sourceType": "module"
},
"plugins": [
"jest"
],
"rules": {
"jest/no-disabled-tests": "warn",
"jest/no-focused-tests": "error",
"jest/no-identical-title": "error",
"jest/prefer-to-have-length": "warn",
"jest/valid-expect": "error",
"no-restricted-syntax": ["warn", {
"selector": "CallExpression[callee.object.name='console'][callee.property.name!=/^(warn|info)$/]",
"message": "Unexpected property on console object was called"
}],
"semi": [2, "never"]
}
}