Skip to content

Commit

Permalink
Merge pull request #64 from xmtp/gen-docs
Browse files Browse the repository at this point in the history
Generate docs with typedoc
  • Loading branch information
snormore authored Feb 15, 2022
2 parents 6b7e8e8 + 7f1c135 commit fbfff3e
Show file tree
Hide file tree
Showing 10 changed files with 300 additions and 42 deletions.
18 changes: 16 additions & 2 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,28 @@ module.exports = {
'prettier',
'plugin:@typescript-eslint/recommended',
'eslint-config-prettier',
'plugin:jsdoc/recommended',
],
parserOptions: {
sourceType: 'module',
warnOnUnsupportedTypeScriptVersion: false,
},
rules: {
'prettier/prettier': 'error',
'jsdoc/require-jsdoc': 'off',
'jsdoc/require-description': 'off',
'jsdoc/require-param': 'off',
'jsdoc/require-param-type': 'off',
'jsdoc/require-returns': 'off',
},
plugins: ['@typescript-eslint', 'prettier'],
ignorePatterns: ['dist', 'node_modules', 'examples', 'scripts', 'src/types'],
plugins: ['@typescript-eslint', 'prettier', 'jsdoc'],
ignorePatterns: [
'dist',
'node_modules',
'examples',
'scripts',
'src/types',
'docs',
'tmp',
],
}
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -116,3 +116,7 @@ dist
.yarn/install-state.gz
.pnp.*
scratch

# generated docs
docs/
tmp/
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
^16.9
16.9
2 changes: 2 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
dist
coverage
docs
tmp
Loading

0 comments on commit fbfff3e

Please sign in to comment.