28 lines
510 B
JavaScript
28 lines
510 B
JavaScript
import eslint from '@eslint/js';
|
|
import tseslint from 'typescript-eslint';
|
|
|
|
export default [
|
|
{
|
|
ignores: [
|
|
'vite.config.ts',
|
|
'prettier.config.js',
|
|
'eslint.config.js',
|
|
'dist/**',
|
|
'bundle/**',
|
|
'node_modules/**',
|
|
],
|
|
},
|
|
eslint.configs.recommended,
|
|
...tseslint.configs.recommended,
|
|
{
|
|
languageOptions: {
|
|
parserOptions: {
|
|
project: './tsconfig.json',
|
|
},
|
|
},
|
|
rules: {
|
|
'@typescript-eslint/no-explicit-any': 'warn',
|
|
},
|
|
},
|
|
];
|