17 lines
516 B
JavaScript
17 lines
516 B
JavaScript
|
|
import eslintPluginAstro from 'eslint-plugin-astro';
|
||
|
|
|
||
|
|
export default [
|
||
|
|
{
|
||
|
|
ignores: ['.astro/**', 'dist/**', 'node_modules/**'],
|
||
|
|
},
|
||
|
|
// اضافه کردن تنظیمات پیشنهادی (Recommended) برای Astro
|
||
|
|
...eslintPluginAstro.configs.recommended,
|
||
|
|
...eslintPluginAstro.configs['jsx-a11y-recommended'],
|
||
|
|
{
|
||
|
|
// اگر قوانین خاصی مد نظرتان است میتوانید اینجا اضافه کنید
|
||
|
|
rules: {
|
||
|
|
// "astro/no-set-html-directive": "error"
|
||
|
|
},
|
||
|
|
},
|
||
|
|
];
|