Skip to content
Myr

oxlint.config.ts

This file

Path

oxlint.config.ts

24 lines · 538 bytes · TypeScript

Last changed by

Reduce Nano ID size to 117 bytes (#613)Alexander Bayandinbefore adoption05057d8

History of this file

Take it

Fix oxlint config (#576)Andrey Sitnikbefore adoptionc8c8215

lines 1–9why, one step back
1import loguxOxlintConfig from '@logux/oxc-configs/lint'
2import { defineConfig } from 'oxlint'34export default defineConfig({5 options: {6 typeCheck: false7 },8 extends: [loguxOxlintConfig],9 ignorePatterns: ['test/demo/dist'],

Reduce Nano ID size to 117 bytes (#613)Alexander Bayandinbefore adoption05057d8

lines 10–20why, one step back
10 // The generated CDN build uses `var` for smaller Rolldown output.
11 overrides: [12 {13 files: ['nanoid.js'],14 rules: {15 'block-scoped-var': 'off',16 'no-var': 'off',17 'prefer-let/prefer-let': 'off'18 }19 }20 ],

Fix oxlint config (#576)Andrey Sitnikbefore adoptionc8c8215

lines 21–24why, one step back
21 rules: {
22 'unicorn/no-array-sort': 'off'23 }24})