Skip to content

Commit

Permalink
feat: adding linting to jsdocs
Browse files Browse the repository at this point in the history
jsdoc examples also get linted
  • Loading branch information
tambien committed Oct 25, 2019
1 parent 4ccf4d1 commit 10ef513
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,15 @@
module.exports = {
"parser": '@typescript-eslint/parser',
"plugins": [
'@typescript-eslint',
],
'@typescript-eslint',
"jsdoc"
],
"extends": ["plugin:@typescript-eslint/recommended"],
"rules": {
"jsdoc/check-alignment": 1,
"jsdoc/check-param-names": [ "error" ],
"jsdoc/check-examples": [ "error" ],
"jsdoc/check-indentation": ["error", {"excludeTags" : ["example", "param"]}],
"dot-location" : [ "error", "property" ],
"linebreak-style": [ "error", "unix" ],
"eqeqeq" : [ "error" ],
Expand Down

0 comments on commit 10ef513

Please sign in to comment.