mirror of
https://github.com/shlinkio/shlink-web-client.git
synced 2026-08-06 11:01:55 +00:00
25 lines
566 B
TypeScript
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',
|
|
},
|
|
},
|
|
],
|
|
});
|