ox-standard

Lightning-fast JavaScript Standard Style linting and formatting ⚑

Drop-in replacement for ESLint/Prettier that’s 50~100 times faster. Enforces JavaScript Standard Style using Rust-based oxlint and Biome formatter for TypeScript/React projects.

πŸš€ Quick Setup

Replace ESLint/Prettier in your project with one command:

npx JohnDeved/ox-standard

That’s it! The setup automatically:

✨ What You Get

πŸš€ 100x Faster Performance

πŸ“ JavaScript Standard Style Enforced

🎯 Zero Configuration

πŸ›  Customization

Need to override rules? Easy:

// .oxlintrc.json
{
  "extends": ["./node_modules/ox-standard/.oxlintrc.json"],
  "rules": {
    "no-console": "warn"
  }
}
// biome.json  
{
  "extends": ["./node_modules/ox-standard/biome.json"],
  "javascript": {
    "formatter": {
      "lineWidth": 100
    }
  }
}

πŸ†š Migrating from ESLint/Prettier?

The setup script handles everything automatically:

  1. Detects existing ESLint/Prettier configs and packages
  2. Prompts for removal confirmation
  3. Uninstalls old dependencies
  4. Installs and configures ox-standard
  5. Updates VSCode settings

πŸ“– Manual Installation

Prefer manual setup?

npm install --save-dev github:JohnDeved/ox-standard

echo '{"extends": ["./node_modules/ox-standard/.oxlintrc.json"]}' > .oxlintrc.json
echo '{"extends": ["./node_modules/ox-standard/biome.json"]}' > biome.json

npm pkg set scripts.lint="oxlint --fix .; biome format --write ."

πŸ”§ Complete Rule Reference

70+ carefully selected rules across:

JavaScript Standard Style

Modern JavaScript

React Best Practices

TypeScript Integration

Enhanced Patterns (Unicorn)

🀝 Contributing

Found an issue or want to suggest improvements? Open an issue or submit a pull request.

πŸ“„ License

MIT Β© Johann Berger