MCPcopy Index your code
hub / github.com/Kampfkarren/selene

github.com/Kampfkarren/selene @0.31.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release 0.31.0 ↗ · + Follow
841 symbols 1,615 edges 81 files 22 documented · 3%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

selene

Read the documentation here!

selene is a blazing-fast modern Lua linter written in Rust.

Priorities: - It's okay to not diagnose every problem, as long as the diagnostics that are made are never wrong - Easy to extend and modify - Easy to configure - ...but the user should need to configure as little as possible

Extension points exported contracts — how you extend this code

Lint (Interface)
(no doc) [33 implementers]
selene-lib/src/lints.rs
GithubRelease (Interface)
(no doc)
selene-vscode/src/util.ts
HasSideEffects (Interface)
(no doc) [5 implementers]
selene-lib/src/ast_util/side_effects.rs
Label (Interface)
(no doc)
selene-vscode/src/structures/diagnostic.ts
NodeVisitor (Interface)
(no doc) [2 implementers]
selene-lib/src/ast_util/visit_nodes.rs
Diagnostic (Interface)
(no doc)
selene-vscode/src/structures/diagnostic.ts

Core symbols most depended-on inside this repo

bytes
called by 64
selene-lib/src/lint_filtering.rs
range
called by 35
selene-lib/src/lints/unbalanced_assignments.rs
range
called by 24
selene-lib/src/ast_util/scopes.rs
start_position
called by 22
selene-lib/src/lints.rs
read_expression
called by 21
selene-lib/src/ast_util/scopes.rs
count_expression_complexity
called by 20
selene-lib/src/lints/high_cyclomatic_complexity.rs
close_scope
called by 14
selene-lib/src/ast_util/scopes.rs
from_name
called by 13
selene/src/standard_library.rs

Shape

Method 341
Function 287
Class 160
Enum 47
Interface 6

Languages

Rust87%
TypeScript13%

Modules by API surface

docs/theme/highlight.min.js85 symbols
selene-lib/src/ast_util/scopes.rs80 symbols
selene-lib/src/standard_library/mod.rs51 symbols
selene-lib/src/lints/standard_library.rs39 symbols
selene-lib/src/lints/mismatched_arg_count.rs32 symbols
selene-lib/src/lints/unused_variable.rs27 symbols
selene-lib/src/standard_library/v1.rs22 symbols
selene-lib/src/lints/roblox_incorrect_roact_usage.rs18 symbols
selene-lib/src/lints/manual_table_clone.rs18 symbols
selene-lib/src/ast_util/loop_tracker.rs18 symbols
selene-lib/src/lints/high_cyclomatic_complexity.rs17 symbols
selene-lib/src/lints.rs16 symbols

For agents

$ claude mcp add selene \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page