mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-06-09 23:36:02 +00:00
22 lines
517 B
JavaScript
22 lines
517 B
JavaScript
import eslintPluginPrettierRecommended from 'eslint-plugin-prettier/recommended';
|
|
import tseslint from 'typescript-eslint';
|
|
|
|
const eslintConfig = [
|
|
...tseslint.configs.recommended,
|
|
eslintPluginPrettierRecommended,
|
|
{
|
|
rules: {
|
|
'@typescript-eslint/no-unused-vars': [
|
|
'warn',
|
|
{ argsIgnorePattern: '^_', varsIgnorePattern: '^_' },
|
|
],
|
|
'@typescript-eslint/no-explicit-any': 'off',
|
|
},
|
|
},
|
|
{
|
|
ignores: ['dist/**', 'node_modules/**'],
|
|
},
|
|
];
|
|
|
|
export default eslintConfig;
|