Commit 5afd57ba authored by Rodrigo Tapia-McClung's avatar Rodrigo Tapia-McClung

Update package and eslint config

parent 7b66dc65
module.exports = {
"env": {
"browser": true,
"es2021": true,
"node": true,
"jquery": true
},
"extends": "eslint:recommended",
"parserOptions": {
"ecmaVersion": 12,
"sourceType": "module"
},
"rules": {
"indent": [
"error",
4
],
/*"linebreak-style": [
"error",
"windows"
],*/
"no-console": [
"off"
],
"block-spacing": [
"error",
"always"
],
"no-trailing-spaces": [
"error"
],
"space-before-blocks": [
"error"
],
"keyword-spacing": [
"error", {
"before": true,
"after": true
}
]/*,
"quotes": [
"error",
"double"
],
"semi": [
"error",
"always"
]*/
},
"plugins": [
"html"
],
"globals": {
"L": "readonly",
"d3": "readonly"
}
};
This diff is collapsed.
......@@ -17,5 +17,9 @@
"morgan": "^1.10.0",
"nodemon": "^2.0.7",
"pg": "^8.6.0"
},
"devDependencies": {
"eslint": "^7.24.0",
"eslint-plugin-html": "^6.1.2"
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment