mirror of
https://github.com/stackblitz/bolt.new
synced 2024-11-27 22:42:21 +00:00
27 lines
532 B
JavaScript
27 lines
532 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',
|
||
|
},
|
||
|
},
|
||
|
{
|
||
|
files: ['**/*.tsx'],
|
||
|
rules: {
|
||
|
...getNamingConventionRule({}, true),
|
||
|
},
|
||
|
},
|
||
|
{
|
||
|
files: ['**/*.d.ts'],
|
||
|
rules: {
|
||
|
'@typescript-eslint/no-empty-object-type': 'off',
|
||
|
},
|
||
|
},
|
||
|
];
|