Browse Source

chore: test for dart doc errors

Signed-off-by: Nikolas Rimikis <leptopoda@users.noreply.github.com>
pull/1062/head
Nikolas Rimikis 1 year ago committed by jld3103
parent
commit
90d1279289
No known key found for this signature in database
GPG Key ID: 9062417B9E8EB7B3
  1. 2
      .cspell/tools.txt
  2. 35
      dartdoc_options.yaml

2
.cspell/tools.txt

@ -10,6 +10,7 @@ classpath
cloc cloc
commitlint commitlint
dapplication dapplication
dartdoc
dists dists
dockerenv dockerenv
endforeach endforeach
@ -43,6 +44,7 @@ libindicator
libsqlite libsqlite
mipmap mipmap
ndebug ndebug
nodoc
nproc nproc
openrelay openrelay
openrelayprojectsecret openrelayprojectsecret

35
dartdoc_options.yaml

@ -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
Loading…
Cancel
Save