Fix lint errors

main
midudev 3 years ago
parent a5438c340a
commit bf2be8f558

@ -2,7 +2,8 @@ module.exports = {
"env": { "env": {
"browser": true, "browser": true,
"es6": true, "es6": true,
"jest/globals": true "jest/globals": true,
"node": true
}, },
"extends": [ "extends": [
"eslint:recommended", "eslint:recommended",
@ -43,7 +44,7 @@ module.exports = {
"arrow-spacing": [ "arrow-spacing": [
"error", { "before": true, "after": true } "error", { "before": true, "after": true }
], ],
"no-console": "error", "no-console": "warn",
"react/prop-types": 0 "react/prop-types": 0
} }
} }

@ -1,11 +1,11 @@
const express = require("express"); const express = require('express')
const app = express(); const app = express()
// Heroku dynamically sets a port // Heroku dynamically sets a port
const PORT = process.env.PORT || 5000; const PORT = process.env.PORT || 5000
app.use(express.static("dist")); app.use(express.static('dist'))
app.listen(PORT, () => { app.listen(PORT, () => {
console.log("server started on port 5000"); console.log('server started on port 5000')
}); })

Loading…
Cancel
Save