Files
shlink-web-client/oxlint.config.ts
2026-07-27 13:09:52 +02:00

25 lines
566 B
TypeScript

// @ts-expect-error This lib does not expose type definitions
import { oxlint as shlink } from '@shlinkio/eslint-config-js-coding-standard';
import { defineConfig } from 'oxlint';
export default defineConfig({
extends: [shlink],
rules: {
'typescript/no-floating-promises': 'off', // FIXME Enable this
},
overrides: [
{
files: ['./*.config.ts'],
rules: {
'eslint/no-restricted-exports': 'off',
},
},
{
files: ['**/*.test.*'],
rules: {
'typescript/unbound-method': 'off',
},
},
],
});