Fix lint errors

main
midudev 3 years ago
parent a5438c340a
commit bf2be8f558

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

@ -1,11 +1,11 @@
const express = require("express");
const app = express();
const express = require('express')
const app = express()
// 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, () => {
console.log("server started on port 5000");
});
console.log('server started on port 5000')
})

Loading…
Cancel
Save