Commit 438f93fa authored by Robert Knight's avatar Robert Knight

Setup typechecking of src/sidebar/components

Enable typechecking for the src/sidebar/components directory, but add
all files in that directory to an exclusion list of files which are not
checked. As errors are resolved, they can be removed from that list.
This gives us a "burndown" list that we can work our way through.
parent 516864c3
......@@ -18,12 +18,72 @@
"shared/*.js",
"shared/components/*.js",
"sidebar/*.js",
"sidebar/components/*.js",
"sidebar/store/modules/*.js",
"sidebar/services/*.js",
"sidebar/util/*.js"
],
"exclude": [
// Enable this once the rest of `src/sidebar` is checked.
"sidebar/index.js"
"sidebar/index.js",
// Files in `src/sidebar/components` that may still have errors.
// Remove them from this list as they are resolved.
"sidebar/components/user-menu.js",
"sidebar/components/annotation-action-bar.js",
"sidebar/components/annotation-body.js",
"sidebar/components/annotation-document-info.js",
"sidebar/components/annotation-header.js",
"sidebar/components/annotation-license.js",
"sidebar/components/annotation-publish-control.js",
"sidebar/components/annotation-quote.js",
"sidebar/components/annotation-share-control.js",
"sidebar/components/annotation-share-info.js",
"sidebar/components/annotation-user.js",
"sidebar/components/annotation-viewer-content.js",
"sidebar/components/annotation.js",
"sidebar/components/autocomplete-list.js",
"sidebar/components/button.js",
"sidebar/components/excerpt.js",
"sidebar/components/focused-mode-header.js",
"sidebar/components/group-list-item.js",
"sidebar/components/group-list-section.js",
"sidebar/components/group-list.js",
"sidebar/components/help-panel.js",
"sidebar/components/hypothesis-app.js",
"sidebar/components/logged-out-message.js",
"sidebar/components/login-prompt-panel.js",
"sidebar/components/markdown-editor.js",
"sidebar/components/markdown-view.js",
"sidebar/components/menu-item.js",
"sidebar/components/menu-keyboard-navigation.js",
"sidebar/components/menu-section.js",
"sidebar/components/menu.js",
"sidebar/components/moderation-banner.js",
"sidebar/components/new-note-btn.js",
"sidebar/components/search-input.js",
"sidebar/components/search-status-bar.js",
"sidebar/components/selection-tabs.js",
"sidebar/components/share-annotations-panel.js",
"sidebar/components/share-links.js",
"sidebar/components/sidebar-content-error.js",
"sidebar/components/sidebar-content.js",
"sidebar/components/sidebar-panel.js",
"sidebar/components/slider.js",
"sidebar/components/sort-menu.js",
"sidebar/components/spinner.js",
"sidebar/components/stream-content.js",
"sidebar/components/stream-search-input.js",
"sidebar/components/tag-editor.js",
"sidebar/components/tag-list.js",
"sidebar/components/thread-card.js",
"sidebar/components/thread-list.js",
"sidebar/components/thread.js",
"sidebar/components/timestamp.js",
"sidebar/components/toast-messages.js",
"sidebar/components/top-bar.js",
"sidebar/components/tutorial.js",
"sidebar/components/user-menu.js",
"sidebar/components/version-info.js"
]
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment