mirror of
https://github.com/coleam00/bolt.new-any-llm
synced 2024-12-27 22:33:03 +00:00
29 lines
637 B
JavaScript
29 lines
637 B
JavaScript
import blitzPlugin from '@blitz/eslint-plugin';
|
|
import { getNamingConventionRule } from '@blitz/eslint-plugin/dist/configs/typescript.js';
|
|
|
|
export default [
|
|
{
|
|
ignores: ['**/dist', '**/node_modules'],
|
|
},
|
|
...blitzPlugin.configs.recommended(),
|
|
{
|
|
rules: {
|
|
'@blitz/catch-error-name': 'off',
|
|
'@typescript-eslint/no-this-alias': 'off',
|
|
'@typescript-eslint/no-empty-object-type': 'off',
|
|
},
|
|
},
|
|
{
|
|
files: ['**/*.tsx'],
|
|
rules: {
|
|
...getNamingConventionRule({}, true),
|
|
},
|
|
},
|
|
{
|
|
files: ['**/*.d.ts'],
|
|
rules: {
|
|
'@typescript-eslint/no-empty-object-type': 'off',
|
|
},
|
|
},
|
|
];
|