Cloudinary React Image to Blog AI
1.0.0
يوفر هذا القالب الحد الأدنى من الإعداد لجعل React تعمل في Vite باستخدام HMR وبعض قواعد ESLint.
يتوفر حاليًا مكونان إضافيان رسميان:
إذا كنت تقوم بتطوير تطبيق إنتاج، فنوصي بتحديث التكوين لتمكين قواعد الوبر المدركة للكتابة:
parserOptions
ذات المستوى الأعلى مثل هذا: export default {
// other rules...
parserOptions : {
ecmaVersion : 'latest' ,
sourceType : 'module' ,
project : [ './tsconfig.json' , './tsconfig.node.json' ] ,
tsconfigRootDir : __dirname ,
} ,
}
plugin:@typescript-eslint/recommended
plugin:@typescript-eslint/recommended-type-checked
أو plugin:@typescript-eslint/strict-type-checked
plugin:@typescript-eslint/stylistic-type-checked
plugin:react/recommended
& plugin:react/jsx-runtime
إلى قائمة extends