forked from nixcn/nixcn-cms
17 lines
430 B
JavaScript
17 lines
430 B
JavaScript
import antfu from '@antfu/eslint-config';
|
|
import pluginQuery from '@tanstack/eslint-plugin-query';
|
|
|
|
export default antfu({
|
|
gitignore: true,
|
|
ignores: ['**/node_modules/**', '**/dist/**', 'bun.lock', '**/routeTree.gen.ts', '**/ui/**'],
|
|
react: true,
|
|
stylistic: {
|
|
semi: true,
|
|
quotes: 'single',
|
|
indent: 2,
|
|
},
|
|
typescript: {
|
|
tsconfigPath: 'tsconfig.json',
|
|
},
|
|
}, ...pluginQuery.configs['flat/recommended']);
|