From: Ben Beltran Date: Sun, 22 Dec 2019 23:23:02 +0000 (+0100) Subject: Add linting config X-Git-Url: https://git.r.bdr.sh/rbdr/forum/commitdiff_plain/49d43aa3ace56dc28d4d2b30cafcd064e53a42d9?ds=sidebyside Add linting config --- diff --git a/.eslintignore b/.eslintignore new file mode 100644 index 0000000..7e2f179 --- /dev/null +++ b/.eslintignore @@ -0,0 +1 @@ +assets diff --git a/.eslintrc b/.eslintrc new file mode 100644 index 0000000..68bd8d3 --- /dev/null +++ b/.eslintrc @@ -0,0 +1,16 @@ +{ + "extends": [ + "eslint-config-hapi" + ], + "rules": { + "indent": [ + 2, + 2 + ], + "no-undef": 2, + "require-yield": 0 + }, + "parserOptions": { + "sourceType": "module" + } +} diff --git a/.htmlhintrc b/.htmlhintrc new file mode 100644 index 0000000..e69de29