This extension allows you to edit ImmyBot scripts from VS Code
- Run
npm installin terminal to install dependencies - Run the
Run Web Extensiontarget in the Debug View. This will:- Start a task
npm: watchto compile the code - Run the extension in a new VS Code window that contains a web extension host
- Start a task
This project uses two linters working together:
oxlint(fast Rust-based linter) for broad, fast static analysis.eslintfor TypeScript-specific and ecosystem rules. Theeslint-plugin-oxlintplugin disables overlapping rules so ESLint only runs the rules oxlint does not cover.
Scripts:
npm run lintruns oxlint (with autofix for safe fixes) then eslint.npm run lint:fixattempts additional eslint autofixes.npm run lint:oxruns only oxlint.npm run lint:eslintruns only eslint.
Configuration:
oxlint.config.jsoncontains oxlint rules and ignore patterns (dist, build, node_modules)..eslintrc.cjsextendsplugin:oxlint/recommendedplus TypeScript presets; adjust or add overrides as needed.
CI Recommendation: use npm run lint in your pipeline.
VS Code Extension Recommendation:
- Install the "Oxc" extension (
oxc.oxc-vscode) for IDE diagnostics powered by the same engine that backs oxlint.