Unverified Commit f5df6b7c authored by Robert Knight's avatar Robert Knight Committed by GitHub

Merge pull request #2301 from hypothesis/typecheck-sidebar-components

Enable type checking for src/sidebar/components, but exclude all the files that have errors
parents ed08afe9 04e293bf
......@@ -18,6 +18,7 @@
"shared/*.js",
"shared/components/*.js",
"sidebar/*.js",
"sidebar/components/*.js",
"sidebar/store/modules/*.js",
"sidebar/services/*.js",
"sidebar/util/*.js",
......@@ -30,6 +31,56 @@
],
"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/annotation-action-bar.js",
"sidebar/components/annotation-body.js",
"sidebar/components/annotation-header.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-viewer-content.js",
"sidebar/components/annotation.js",
"sidebar/components/autocomplete-list.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/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/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/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/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