aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Beltran <ben@nsovocal.com>2019-12-23 00:23:02 +0100
committerBen Beltran <ben@nsovocal.com>2019-12-23 00:23:02 +0100
commit49d43aa3ace56dc28d4d2b30cafcd064e53a42d9 (patch)
tree65eba079324bf67965e5e951e21c77bd8572027e
parent2d5b700eb63669ca0a4bf27b5df58aa8af15735f (diff)
Add linting config
-rw-r--r--.eslintignore1
-rw-r--r--.eslintrc16
-rw-r--r--.htmlhintrc0
3 files changed, 17 insertions, 0 deletions
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
--- /dev/null
+++ b/.htmlhintrc