Skip to content

Commit

Permalink
chore: test for dart doc errors
Browse files Browse the repository at this point in the history
Signed-off-by: Nikolas Rimikis <[email protected]>
  • Loading branch information
Leptopoda authored and provokateurin committed Nov 1, 2023
1 parent 78e43e0 commit 90d1279
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .cspell/tools.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ classpath
cloc
commitlint
dapplication
dartdoc
dists
dockerenv
endforeach
Expand Down Expand Up @@ -43,6 +44,7 @@ libindicator
libsqlite
mipmap
ndebug
nodoc
nproc
openrelay
openrelayprojectsecret
Expand Down
35 changes: 35 additions & 0 deletions dartdoc_options.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
include: package:neon_lints/dartdoc_options.yaml

dartdoc:
nodoc: ['lib/l10n/*.dart']
showUndocumentedCategories: true
ignore:
## Errors that are ignored:
## Warnings that are ignored:
- reexported-private-api-across-packages
## Default ignores for dartdoc:
errors:
## Default errors of dartdoc:
- duplicate-file
- invalid-parameter
- tool-error
- unresolved-export
## Warnings that are elevated to errors:
- ambiguous-doc-reference
- ambiguous-reexport
- broken-link
- category-order-gives-missing-package-name
- deprecated
- ignored-canonical-for
- missing-from-search-index
- no-canonical-found
- no-documentable-libraries
- no-library-level-docs
- orphaned-file
- unknown-file
- unknown-macro
- unresolved-doc-reference
## Ignores that are elevated to errors:
# - type-as-html # broken, https://github.com/dart-lang/dartdoc/issues/3545
- missing-constant-constructor
- missing-code-block-language

0 comments on commit 90d1279

Please sign in to comment.