Repository Analysis

ianstormtaylor/slate

A completely customizable framework for building rich text editors. (Currently in beta.)

0.2 Likely human-written View on GitHub
0.2
Adjusted Score
0.2
Raw Score
100%
Time Factor
2026-05-29
Last Push
31,682
Stars
TypeScript
Language
71,570
Lines of Code
1476
Files
15
Pattern Hits
2026-05-31
Scan Date

Score History

Severity Breakdown

CRITICAL 0HIGH 0MEDIUM 1LOW 14

Pattern Findings

15 matches across 4 categories. Click a row to expand file-level details.

Over-Commented Block6 hits · 6 pts
SeverityFileLineSnippet
LOW.yarn/sdks/typescript/lib/tsserverlibrary.js81 // VSCode only adds it automatically for supported schemes,
LOW.yarn/sdks/typescript/lib/tsserver.js81 // VSCode only adds it automatically for supported schemes,
LOWpackages/slate/src/editor/positions.ts101 // then we will iterate over their content.
LOW.github/workflows/codeql.yml1# For most projects, this workflow file will not need changing; you simply need
LOW.github/workflows/codeql.yml61 # ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
LOWsite/next-env.d.ts1/// <reference types="next" />
Hyper-Verbose Identifiers5 hits · 5 pts
SeverityFileLineSnippet
LOWpackages/slate-react/src/components/leaf.tsx21function disconnectPlaceholderResizeObserver(
LOWpackages/slate-react/src/hooks/use-slate-selector.tsx125export function useFlushDeferredSelectorsOnRender() {
LOW…c/hooks/android-input-manager/android-input-manager.ts72export function createAndroidInputManager({
LOWpackages/slate-dom/src/utils/diff-text.ts54function longestCommonPrefixLength(str: string, another: string) {
LOWpackages/slate-dom/src/utils/diff-text.ts66function longestCommonSuffixLength(
Self-Referential Comments1 hit · 3 pts
SeverityFileLineSnippet
MEDIUM.yarn/sdks/integrations.yml1# This file is automatically generated by @yarnpkg/sdks.
Fake / Example Data3 hits · 3 pts
SeverityFileLineSnippet
LOWdocs/api/transforms.md86- `options.split` indicates that it's okay to split a node in order to wrap the location. For example, if `ipsum` was se
LOWsite/examples/js/scroll-into-view.jsx60 text: `There are many variations of passages of Lorem Ipsum available, but the majority have suffered alteration i
LOWsite/examples/ts/scroll-into-view.tsx64 text: `There are many variations of passages of Lorem Ipsum available, but the majority have suffered alteration i