Cloudinary React Image to Blog AI
1.0.0
このテンプレートは、HMR およびいくつかの ESLint ルールを使用して Vite で React を動作させるための最小限のセットアップを提供します。
現在、2 つの公式プラグインが利用可能です。
実稼働アプリケーションを開発している場合は、構成を更新してタイプ認識の lint ルールを有効にすることをお勧めします。
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
リストに追加します。