eslint
ESLint Best Practices
Provides guidance for configuring ESLint using the modern flat config format (eslint.config.js), selecting and tuning rules, managing plugins, and integrating linting into CI/CD workflows.
Core Concepts
- Flat config (
eslint.config.js) is the current standard. The legacy.eslintrc.*format is deprecated as of ESLint v9. - Configuration objects are merged in order — later objects override earlier ones for the same rule.
- Rule severities:
"off"(0) |"warn"(1) |"error"(2). - Plugins extend ESLint with additional rules, processors, and languages. Reference as
pluginName/ruleName.
Setup
Quick initialization (recommended)
npm init @eslint/config@latest
More from the-perfect-developer/the-perfect-opencode
html
Apply Google HTML style guide conventions to HTML code
24turso-libsql
This skill should be used when the user asks to "connect to Turso", "use libSQL", "set up a Turso database", "query Turso with TypeScript", or needs guidance on Turso Cloud, embedded replicas, or vector search with libSQL.
12alpinejs
This skill should be used when the user asks to "add Alpine.js", "create Alpine component", "use Alpine directives", "build interactive UI with Alpine", or needs guidance on Alpine.js development patterns and best practices.
11python-mcp
This skill should be used when the user asks to "build an MCP server", "create an MCP tool", "expose resources with MCP", "write an MCP client", or needs guidance on the Model Context Protocol Python SDK best practices, transports, server primitives, or LLM context integration.
6python-dependency-injection
This skill should be used when the user asks to "implement dependency injection in Python", "use the dependency-injector library", "decouple Python components", "write testable Python services", or needs guidance on Inversion of Control, DI containers, provider types, and wiring in Python applications.
5agent-configuration
This skill should be used when the user asks to "configure agents", "create a custom agent", "set up agent permissions", "customize agent behavior", "switch agents", or needs guidance on OpenCode agent system.
5