Skip to content
GitHub

default

variable in meocord/eslint Since 4.0.0

const default: Linter.Config[]

The ESLint configuration a new MeoCord app's eslint.config.ts exports, extended by the app's own rules.

Export it from eslint.config.ts, spread before your own entries so they override it. To change its TypeScript rules, spread typescriptConfig into an entry of your own.

Examples

TypeScript
import meocordESLint from 'meocord/eslint'

// Generated code is not linted
export default [...meocordESLint, { ignores: ['src/generated/**'] }]