]> git.r.bdr.sh - rbdr/forum/blobdiff - package.json
Add svelte linting
[rbdr/forum] / package.json
index bd75030d3457ef96d1714edda9acf99872c2cc87..8c047ebb1cb4237fcba97aeda5e38a24c38e5c3a 100644 (file)
@@ -17,7 +17,7 @@
   "scripts": {
     "build": "parcel build --no-source-maps ./app/index.html",
     "document": "jsdoc2md > doc/README.md",
-    "lint": "eslint lib app bin",
+    "lint": "eslint --ext .svelte --ext .js .",
     "linthtml": "htmlhint",
     "setup-hooks": "ln -s ../../scripts/git-hooks/pre-commit .git/hooks/pre-commit",
     "test": "lab -r lab-markdown-reporter -o doc/COVERAGE.md -r console -o stdout -c --coverage-path lib -L -t 100 test",
@@ -39,6 +39,7 @@
     "@hapi/eslint-plugin-hapi": "^4.3.4",
     "@hapi/lab": "^21.0.0",
     "eslint": "^6.7.2",
+    "eslint-plugin-svelte3": "^2.7.3",
     "htmlhint": "^0.11.0",
     "jsdoc-to-markdown": "^5.0.3",
     "lab-markdown-reporter": "^1.0.2",