Skip to content

Commit

Permalink
Updated linter to support JSDoc comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Balearica committed Jan 18, 2025
1 parent 0a0b3c9 commit 7b53bca
Show file tree
Hide file tree
Showing 3 changed files with 185 additions and 5 deletions.
6 changes: 6 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@
"ecmaVersion": "latest",
"sourceType": "module"
},
"plugins": [
"jsdoc"
],
// "globals": {
// "fabric": "writable"
// },
Expand All @@ -20,6 +23,9 @@
200,
{ "ignoreRegExpLiterals": true, "ignoreTemplateLiterals": true }
],

"jsdoc/check-alignment": 1,

// This rule results in code being deleted.
"no-unreachable": "off",
// This edit allows for .js files (but not packages) to have an extension.
Expand Down
179 changes: 176 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
"eslint": "^8.56.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-jsdoc": "^50.6.2",
"express": "^4.18.2",
"karma": "^6.4.4",
"karma-chrome-launcher": "^3.2.0",
Expand Down Expand Up @@ -48,8 +49,8 @@
},
"homepage": "https://github.com/scribeocr/scribe.js#readme",
"dependencies": {
"@scribe.js/tesseract.js": "^6.0.2",
"canvaskit-wasm": "^0.39.1",
"commander": "^11.1.0",
"@scribe.js/tesseract.js": "^6.0.2"
"commander": "^11.1.0"
}
}

0 comments on commit 7b53bca

Please sign in to comment.