Commit e07c2006 authored by Rodrigo Tapia-McClung's avatar Rodrigo Tapia-McClung

Update package and eslint config

parent 96d3bb5a
module.exports = {
"env": {
"browser": true,
"es2021": true,
"node": 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"
]
};
This diff is collapsed.
...@@ -18,5 +18,9 @@ ...@@ -18,5 +18,9 @@
"morgan": "^1.10.0", "morgan": "^1.10.0",
"nodemon": "^2.0.7", "nodemon": "^2.0.7",
"path": "^0.12.7" "path": "^0.12.7"
},
"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