Fix a couple things
continuous-integration/drone/push Build is failing Details

main
nightly 2022-10-19 15:56:48 +02:00
parent f8077b2e54
commit 932fb0b0b7
3 changed files with 135 additions and 116 deletions

View File

@ -47,7 +47,6 @@
"operator-linebreak": [1, "after"], "operator-linebreak": [1, "after"],
"padded-blocks": [1, "never"], "padded-blocks": [1, "never"],
"prefer-const": ["error", { "destructuring": "any", "ignoreReadBeforeAssign": false }], "prefer-const": ["error", { "destructuring": "any", "ignoreReadBeforeAssign": false }],
"prettier/prettier": 1,
"quotes": [1, "double", { "avoidEscape": true, "allowTemplateLiterals": false }], "quotes": [1, "double", { "avoidEscape": true, "allowTemplateLiterals": false }],
"quote-props": [1, "consistent-as-needed"], "quote-props": [1, "consistent-as-needed"],
"semi": [1, "always"], "semi": [1, "always"],
@ -116,5 +115,4 @@
} }
} }
] ]
} }

20
package-lock.json generated
View File

@ -31,6 +31,7 @@
"@types/express": "^4.17.14", "@types/express": "^4.17.14",
"eslint": "8.25.0", "eslint": "8.25.0",
"eslint-config-next": "12.3.1", "eslint-config-next": "12.3.1",
"eslint-config-prettier": "^8.5.0",
"typescript": "^4.8.4" "typescript": "^4.8.4"
} }
}, },
@ -1587,6 +1588,18 @@
} }
} }
}, },
"node_modules/eslint-config-prettier": {
"version": "8.5.0",
"resolved": "https://registry.npmjs.org/eslint-config-prettier/-/eslint-config-prettier-8.5.0.tgz",
"integrity": "sha512-obmWKLUNCnhtQRKc+tmnYuQl0pFU1ibYJQ5BGhTVB08bHe9wC8qUeG7c08dj9XX+AuPj1YSGSQIHl1pnDHZR0Q==",
"dev": true,
"bin": {
"eslint-config-prettier": "bin/cli.js"
},
"peerDependencies": {
"eslint": ">=7.0.0"
}
},
"node_modules/eslint-import-resolver-node": { "node_modules/eslint-import-resolver-node": {
"version": "0.3.6", "version": "0.3.6",
"resolved": "https://registry.npmjs.org/eslint-import-resolver-node/-/eslint-import-resolver-node-0.3.6.tgz", "resolved": "https://registry.npmjs.org/eslint-import-resolver-node/-/eslint-import-resolver-node-0.3.6.tgz",
@ -5671,6 +5684,13 @@
"eslint-plugin-react-hooks": "^4.5.0" "eslint-plugin-react-hooks": "^4.5.0"
} }
}, },
"eslint-config-prettier": {
"version": "8.5.0",
"resolved": "https://registry.npmjs.org/eslint-config-prettier/-/eslint-config-prettier-8.5.0.tgz",
"integrity": "sha512-obmWKLUNCnhtQRKc+tmnYuQl0pFU1ibYJQ5BGhTVB08bHe9wC8qUeG7c08dj9XX+AuPj1YSGSQIHl1pnDHZR0Q==",
"dev": true,
"requires": {}
},
"eslint-import-resolver-node": { "eslint-import-resolver-node": {
"version": "0.3.6", "version": "0.3.6",
"resolved": "https://registry.npmjs.org/eslint-import-resolver-node/-/eslint-import-resolver-node-0.3.6.tgz", "resolved": "https://registry.npmjs.org/eslint-import-resolver-node/-/eslint-import-resolver-node-0.3.6.tgz",

View File

@ -32,6 +32,7 @@
"@types/express": "^4.17.14", "@types/express": "^4.17.14",
"eslint": "8.25.0", "eslint": "8.25.0",
"eslint-config-next": "12.3.1", "eslint-config-next": "12.3.1",
"eslint-config-prettier": "^8.5.0",
"typescript": "^4.8.4" "typescript": "^4.8.4"
}, },
"dependencies": { "dependencies": {