import { defineConfig } from 'oxlint'; export default defineConfig({ plugins: ['typescript', 'unicorn', 'oxc'], categories: { correctness: 'error', suspicious: 'warn', pedantic: 'warn', }, rules: { 'eslint/max-lines': 'off', 'eslint/max-lines-per-function': 'off', }, overrides: [ { // Each test scenario for the WithProps factory needs its own small // custom element class -- that's the nature of testing a class factory, // not a sign the file should be split up. files: ['test/**/*.ts'], rules: { 'eslint/max-classes-per-file': 'off', }, }, ], env: { builtin: true, }, ignorePatterns: ['dist/'], });