summaryrefslogtreecommitdiffstats
path: root/package.json
diff options
context:
space:
mode:
authorSerghei Iakovlev <egrep@protonmail.ch>2022-04-25 23:23:27 +0200
committerSerghei Iakovlev <egrep@protonmail.ch>2022-04-25 23:23:27 +0200
commitfff911885ae02c98b6b13f3a34c9120241dc7b78 (patch)
tree2886b8d3e434c8214581999e34f00dd8d6cdd15f /package.json
parent5e2c7e6b0ebbe51933cb0beda3c58403cf283e25 (diff)
downloadgohugo-theme-ed-fff911885ae02c98b6b13f3a34c9120241dc7b78.tar.gz
Lint js files
Diffstat (limited to 'package.json')
-rw-r--r--package.json9
1 files changed, 7 insertions, 2 deletions
diff --git a/package.json b/package.json
index fcab083..f7e522c 100644
--- a/package.json
+++ b/package.json
@@ -10,7 +10,11 @@
"dependencies": {},
"description": "Ed theme for minimal editions",
"devDependencies": {
- "editorconfig-checker": "^4.0.2"
+ "editorconfig-checker": "^4.0.2",
+ "eslint": "^8.6.0",
+ "eslint-config-airbnb-base": "^15.0.0",
+ "eslint-plugin-import": "^2.25.4",
+ "eslint-plugin-node": "^11.1.0"
},
"homepage": "https://github.com/sergeyklay/gohugo-theme-ed#readme",
"keywords": [
@@ -28,7 +32,8 @@
"scripts": {
"deploy": " cd exampleSite; hugo;",
"lint:editorconfig": "editorconfig-checker",
- "lint": "npm run lint:editorconfig"
+ "lint:js": "eslint static/js/*.js",
+ "lint": "npm run lint:js && npm run lint:editorconfig"
},
"version": "0.1.0"
}