From 6bf1ea9305cf926f3b6bf61ca9c41e5fe9a6e9a0 Mon Sep 17 00:00:00 2001 From: ThomasCardin Date: Thu, 30 May 2024 12:04:34 -0400 Subject: [PATCH] issue #26: markdown linting errros --- README.old.md | 21 +++++++++++++++------ 1 file changed, 15 insertions(+), 6 deletions(-) diff --git a/README.old.md b/README.old.md index bb156850..5b48a34f 100644 --- a/README.old.md +++ b/README.old.md @@ -1,15 +1,20 @@ # React + TypeScript + Vite -This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules. +This template provides a minimal setup to get React working in Vite with HMR +and some ESLint rules. Currently, two official plugins are available: -- [@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react/README.md) uses [Babel](https://babeljs.io/) for Fast Refresh -- [@vitejs/plugin-react-swc](https://github.com/vitejs/vite-plugin-react-swc) uses [SWC](https://swc.rs/) for Fast Refresh +- [@vitejs/plugin-react]( +https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react/README.md) +uses [Babel](https://babeljs.io/) for Fast Refresh +- [@vitejs/plugin-react-swc](https://github.com/vitejs/vite-plugin-react-swc) +uses [SWC](https://swc.rs/) for Fast Refresh ## Expanding the ESLint configuration -If you are developing a production application, we recommend updating the configuration to enable type aware lint rules: +If you are developing a production application, we recommend updating the +configuration to enable type aware lint rules: - Configure the top-level `parserOptions` property like this: @@ -25,6 +30,10 @@ export default { }; ``` -- Replace `plugin:@typescript-eslint/recommended` to `plugin:@typescript-eslint/recommended-type-checked` or `plugin:@typescript-eslint/strict-type-checked` +- Replace `plugin:@typescript-eslint/recommended` to +`plugin:@typescript-eslint/recommended-type-checked` or +`plugin:@typescript-eslint/strict-type-checked` - Optionally add `plugin:@typescript-eslint/stylistic-type-checked` -- Install [eslint-plugin-react](https://github.com/jsx-eslint/eslint-plugin-react) and add `plugin:react/recommended` & `plugin:react/jsx-runtime` to the `extends` list +- Install [eslint-plugin-react]( +https://github.com/jsx-eslint/eslint-plugin-react) and add +`plugin:react/recommended` & `plugin:react/jsx-runtime` to the `extends` list