You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
leaflet-components/oxlint.config.ts

30 lines
701 B
TypeScript

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/'],
});