mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-23 18:19:12 +01:00
More strict null checks (#60565)
This commit is contained in:
@@ -8,6 +8,8 @@
|
||||
"./typings",
|
||||
"./vs/base/common/**/*.ts",
|
||||
"./vs/base/node/**/*.ts",
|
||||
"./vs/editor/common/**/*.ts",
|
||||
"./vs/editor/browser/**/*.ts",
|
||||
"./vs/editor/contrib/smartSelect/**/*.ts"
|
||||
],
|
||||
"files": [
|
||||
@@ -167,162 +169,6 @@
|
||||
"./vs/code/node/wait.ts",
|
||||
"./vs/code/node/windowsFinder.ts",
|
||||
"./vs/code/test/node/argv.test.ts",
|
||||
"./vs/editor/browser/config/charWidthReader.ts",
|
||||
"./vs/editor/browser/config/configuration.ts",
|
||||
"./vs/editor/browser/config/elementSizeObserver.ts",
|
||||
"./vs/editor/browser/controller/coreCommands.ts",
|
||||
"./vs/editor/browser/controller/mouseHandler.ts",
|
||||
"./vs/editor/browser/controller/mouseTarget.ts",
|
||||
"./vs/editor/browser/controller/pointerHandler.ts",
|
||||
"./vs/editor/browser/controller/textAreaHandler.ts",
|
||||
"./vs/editor/browser/controller/textAreaInput.ts",
|
||||
"./vs/editor/browser/controller/textAreaState.ts",
|
||||
"./vs/editor/browser/core/editorState.ts",
|
||||
"./vs/editor/browser/editorBrowser.ts",
|
||||
"./vs/editor/browser/editorDom.ts",
|
||||
"./vs/editor/browser/editorExtensions",
|
||||
"./vs/editor/browser/editorExtensions.ts",
|
||||
"./vs/editor/browser/services/abstractCodeEditorService.ts",
|
||||
"./vs/editor/browser/services/bulkEditService.ts",
|
||||
"./vs/editor/browser/services/codeEditorService.ts",
|
||||
"./vs/editor/browser/services/codeEditorServiceImpl.ts",
|
||||
"./vs/editor/browser/services/openerService.ts",
|
||||
"./vs/editor/browser/view/dynamicViewOverlay.ts",
|
||||
"./vs/editor/browser/view/viewController.ts",
|
||||
"./vs/editor/browser/view/viewImpl.ts",
|
||||
"./vs/editor/browser/view/viewLayer.ts",
|
||||
"./vs/editor/browser/view/viewOutgoingEvents.ts",
|
||||
"./vs/editor/browser/view/viewOverlays.ts",
|
||||
"./vs/editor/browser/view/viewPart.ts",
|
||||
"./vs/editor/browser/viewParts/contentWidgets/contentWidgets.ts",
|
||||
"./vs/editor/browser/viewParts/currentLineHighlight/currentLineHighlight.ts",
|
||||
"./vs/editor/browser/viewParts/currentLineMarginHighlight/currentLineMarginHighlight.ts",
|
||||
"./vs/editor/browser/viewParts/decorations/decorations.ts",
|
||||
"./vs/editor/browser/viewParts/editorScrollbar/editorScrollbar.ts",
|
||||
"./vs/editor/browser/viewParts/glyphMargin/glyphMargin.ts",
|
||||
"./vs/editor/browser/viewParts/indentGuides/indentGuides.ts",
|
||||
"./vs/editor/browser/viewParts/lineNumbers/lineNumbers.ts",
|
||||
"./vs/editor/browser/viewParts/lines/rangeUtil.ts",
|
||||
"./vs/editor/browser/viewParts/lines/viewLine.ts",
|
||||
"./vs/editor/browser/viewParts/lines/viewLines.ts",
|
||||
"./vs/editor/browser/viewParts/linesDecorations/linesDecorations.ts",
|
||||
"./vs/editor/browser/viewParts/margin/margin.ts",
|
||||
"./vs/editor/browser/viewParts/marginDecorations/marginDecorations.ts",
|
||||
"./vs/editor/browser/viewParts/minimap/minimap.ts",
|
||||
"./vs/editor/browser/viewParts/overlayWidgets/overlayWidgets.ts",
|
||||
"./vs/editor/browser/viewParts/overviewRuler/decorationsOverviewRuler.ts",
|
||||
"./vs/editor/browser/viewParts/overviewRuler/overviewRuler.ts",
|
||||
"./vs/editor/browser/viewParts/rulers/rulers.ts",
|
||||
"./vs/editor/browser/viewParts/scrollDecoration/scrollDecoration.ts",
|
||||
"./vs/editor/browser/viewParts/selections/selections.ts",
|
||||
"./vs/editor/browser/viewParts/viewCursors/viewCursor.ts",
|
||||
"./vs/editor/browser/viewParts/viewCursors/viewCursors.ts",
|
||||
"./vs/editor/browser/viewParts/viewZones/viewZones.ts",
|
||||
"./vs/editor/browser/widget/codeEditorWidget.ts",
|
||||
"./vs/editor/browser/widget/diffNavigator.ts",
|
||||
"./vs/editor/common/commands/replaceCommand.ts",
|
||||
"./vs/editor/common/commands/shiftCommand.ts",
|
||||
"./vs/editor/common/commands/surroundSelectionCommand.ts",
|
||||
"./vs/editor/common/commands/trimTrailingWhitespaceCommand.ts",
|
||||
"./vs/editor/common/config/commonEditorConfig.ts",
|
||||
"./vs/editor/common/config/editorOptions.ts",
|
||||
"./vs/editor/common/config/editorZoom.ts",
|
||||
"./vs/editor/common/config/fontInfo.ts",
|
||||
"./vs/editor/common/controller/cursor.ts",
|
||||
"./vs/editor/common/controller/cursorCollection.ts",
|
||||
"./vs/editor/common/controller/cursorColumnSelection.ts",
|
||||
"./vs/editor/common/controller/cursorCommon.ts",
|
||||
"./vs/editor/common/controller/cursorDeleteOperations.ts",
|
||||
"./vs/editor/common/controller/cursorEvents.ts",
|
||||
"./vs/editor/common/controller/cursorMoveCommands.ts",
|
||||
"./vs/editor/common/controller/cursorMoveOperations.ts",
|
||||
"./vs/editor/common/controller/cursorTypeOperations.ts",
|
||||
"./vs/editor/common/controller/cursorWordOperations.ts",
|
||||
"./vs/editor/common/controller/oneCursor.ts",
|
||||
"./vs/editor/common/controller/wordCharacterClassifier.ts",
|
||||
"./vs/editor/common/core/characterClassifier.ts",
|
||||
"./vs/editor/common/core/editOperation.ts",
|
||||
"./vs/editor/common/core/lineTokens.ts",
|
||||
"./vs/editor/common/core/position.ts",
|
||||
"./vs/editor/common/core/range.ts",
|
||||
"./vs/editor/common/core/rgba.ts",
|
||||
"./vs/editor/common/core/selection.ts",
|
||||
"./vs/editor/common/core/stringBuilder.ts",
|
||||
"./vs/editor/common/core/token.ts",
|
||||
"./vs/editor/common/core/uint.ts",
|
||||
"./vs/editor/common/diff/diffComputer.ts",
|
||||
"./vs/editor/common/editorAction.ts",
|
||||
"./vs/editor/common/editorCommon.ts",
|
||||
"./vs/editor/common/editorContextKeys.ts",
|
||||
"./vs/editor/common/model.ts",
|
||||
"./vs/editor/common/model/editStack.ts",
|
||||
"./vs/editor/common/model/indentationGuesser.ts",
|
||||
"./vs/editor/common/model/intervalTree.ts",
|
||||
"./vs/editor/common/model/mirrorTextModel.ts",
|
||||
"./vs/editor/common/model/pieceTreeTextBuffer/pieceTreeBase.ts",
|
||||
"./vs/editor/common/model/pieceTreeTextBuffer/pieceTreeTextBuffer.ts",
|
||||
"./vs/editor/common/model/pieceTreeTextBuffer/pieceTreeTextBufferBuilder.ts",
|
||||
"./vs/editor/common/model/pieceTreeTextBuffer/rbTreeBase.ts",
|
||||
"./vs/editor/common/model/textModel.ts",
|
||||
"./vs/editor/common/model/textModelEvents.ts",
|
||||
"./vs/editor/common/model/textModelSearch.ts",
|
||||
"./vs/editor/common/model/textModelTokens.ts",
|
||||
"./vs/editor/common/model/wordHelper.ts",
|
||||
"./vs/editor/common/modes.ts",
|
||||
"./vs/editor/common/modes/abstractMode.ts",
|
||||
"./vs/editor/common/modes/languageConfiguration.ts",
|
||||
"./vs/editor/common/modes/languageConfigurationRegistry.ts",
|
||||
"./vs/editor/common/modes/languageFeatureRegistry.ts",
|
||||
"./vs/editor/common/modes/languageSelector.ts",
|
||||
"./vs/editor/common/modes/linkComputer.ts",
|
||||
"./vs/editor/common/modes/modesRegistry.ts",
|
||||
"./vs/editor/common/modes/nullMode.ts",
|
||||
"./vs/editor/common/modes/supports.ts",
|
||||
"./vs/editor/common/modes/supports/characterPair.ts",
|
||||
"./vs/editor/common/modes/supports/electricCharacter.ts",
|
||||
"./vs/editor/common/modes/supports/indentRules.ts",
|
||||
"./vs/editor/common/modes/supports/inplaceReplaceSupport.ts",
|
||||
"./vs/editor/common/modes/supports/onEnter.ts",
|
||||
"./vs/editor/common/modes/supports/richEditBrackets.ts",
|
||||
"./vs/editor/common/modes/supports/tokenization.ts",
|
||||
"./vs/editor/common/modes/textToHtmlTokenizer.ts",
|
||||
"./vs/editor/common/modes/tokenizationRegistry.ts",
|
||||
"./vs/editor/common/services/editorSimpleWorker.ts",
|
||||
"./vs/editor/common/services/editorWorkerService.ts",
|
||||
"./vs/editor/common/services/editorWorkerServiceImpl.ts",
|
||||
"./vs/editor/common/services/getIconClasses.ts",
|
||||
"./vs/editor/common/services/languagesRegistry.ts",
|
||||
"./vs/editor/common/services/modeService.ts",
|
||||
"./vs/editor/common/services/modeServiceImpl.ts",
|
||||
"./vs/editor/common/services/modelService.ts",
|
||||
"./vs/editor/common/services/modelServiceImpl.ts",
|
||||
"./vs/editor/common/services/resolverService.ts",
|
||||
"./vs/editor/common/services/resourceConfiguration.ts",
|
||||
"./vs/editor/common/services/resourceConfigurationImpl.ts",
|
||||
"./vs/editor/common/services/webWorker.ts",
|
||||
"./vs/editor/common/standalone/standaloneBase.ts",
|
||||
"./vs/editor/common/standalone/standaloneEnums.ts",
|
||||
"./vs/editor/common/view/editorColorRegistry.ts",
|
||||
"./vs/editor/common/view/minimapCharRenderer.ts",
|
||||
"./vs/editor/common/view/overviewZoneManager.ts",
|
||||
"./vs/editor/common/view/renderingContext.ts",
|
||||
"./vs/editor/common/view/runtimeMinimapCharRenderer.ts",
|
||||
"./vs/editor/common/view/viewContext.ts",
|
||||
"./vs/editor/common/view/viewEventDispatcher.ts",
|
||||
"./vs/editor/common/view/viewEvents.ts",
|
||||
"./vs/editor/common/viewLayout/lineDecorations.ts",
|
||||
"./vs/editor/common/viewLayout/linesLayout.ts",
|
||||
"./vs/editor/common/viewLayout/viewLayout.ts",
|
||||
"./vs/editor/common/viewLayout/viewLineRenderer.ts",
|
||||
"./vs/editor/common/viewLayout/viewLinesViewportData.ts",
|
||||
"./vs/editor/common/viewLayout/whitespaceComputer.ts",
|
||||
"./vs/editor/common/viewModel/characterHardWrappingLineMapper.ts",
|
||||
"./vs/editor/common/viewModel/prefixSumComputer.ts",
|
||||
"./vs/editor/common/viewModel/splitLinesCollection.ts",
|
||||
"./vs/editor/common/viewModel/viewEventHandler.ts",
|
||||
"./vs/editor/common/viewModel/viewModel.ts",
|
||||
"./vs/editor/common/viewModel/viewModelDecorations.ts",
|
||||
"./vs/editor/common/viewModel/viewModelImpl.ts",
|
||||
"./vs/editor/contrib/bracketMatching/bracketMatching.ts",
|
||||
"./vs/editor/contrib/caretOperations/caretOperations.ts",
|
||||
"./vs/editor/contrib/caretOperations/moveCaretCommand.ts",
|
||||
|
||||
Reference in New Issue
Block a user