diff options
| author | Ben Beltran <ben@nsovocal.com> | 2020-02-18 23:34:51 +0100 |
|---|---|---|
| committer | Ben Beltran <ben@nsovocal.com> | 2020-02-18 23:34:51 +0100 |
| commit | 00a6e8aa8dd06f8a2bd7ccccdccfcb6215cf4841 (patch) | |
| tree | 83de2f80c411205d743e59618dfda07d712d1e3f /package.json | |
| parent | 41247723b2940efe89648749b90e56d582bdfb89 (diff) | |
Add svelte linting
Diffstat (limited to 'package.json')
| -rw-r--r-- | package.json | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/package.json b/package.json index 704c540..8c047eb 100644 --- a/package.json +++ b/package.json @@ -17,7 +17,7 @@ "scripts": { "build": "parcel build --no-source-maps ./app/index.html", "document": "jsdoc2md > doc/README.md", - "lint": "eslint lib app bin/forum", + "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", |