diff options
Diffstat (limited to '')
| -rw-r--r-- | .eslintrc.js | 13 | ||||
| -rw-r--r-- | README.md | 5 | ||||
| -rw-r--r-- | model.js | 1 | 
3 files changed, 18 insertions, 1 deletions
| diff --git a/.eslintrc.js b/.eslintrc.js new file mode 100644 index 0000000..fbf4784 --- /dev/null +++ b/.eslintrc.js @@ -0,0 +1,13 @@ +module.exports = { +    "env": { +        "commonjs": true, +        "es2021": true, +        "node": true +    }, +    "extends": "eslint:recommended", +    "parserOptions": { +        "ecmaVersion": "latest" +    }, +    "rules": { +    } +} @@ -1,4 +1,7 @@  [](https://www.codacy.com/gh/terminaldweller/web/dashboard?utm_source=github.com&utm_medium=referral&utm_content=terminaldweller/web&utm_campaign=Badge_Grade) -# web +# blog +It's the source code for my blog.<br/> +You find the live instance [here](https://blog.terminaldweller.com)<br/> +You also can use the RSS feed to get notified of when there are no posts.<br/> @@ -38,6 +38,7 @@ function dbInit() {      });  } +// only used for testing, otherwise unused  function populateDB(model) {    let filePaths = fs.readdirSync(path.join(__dirname, "mds"));    filePaths.forEach((fileName) => { | 
