From 54531d0087ec3c0982e8589e88f0981a0939764b Mon Sep 17 00:00:00 2001 From: Kamal Wickramanayake Date: Sat, 27 Jun 2026 20:12:36 +0530 Subject: react/02-vite sample project added --- react/02-vite/.oxlintrc.json | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 react/02-vite/.oxlintrc.json (limited to 'react/02-vite/.oxlintrc.json') diff --git a/react/02-vite/.oxlintrc.json b/react/02-vite/.oxlintrc.json new file mode 100644 index 0000000..1255078 --- /dev/null +++ b/react/02-vite/.oxlintrc.json @@ -0,0 +1,8 @@ +{ + "$schema": "./node_modules/oxlint/configuration_schema.json", + "plugins": ["react", "oxc"], + "rules": { + "react/rules-of-hooks": "error", + "react/only-export-components": ["warn", { "allowConstantExport": true }] + } +} -- cgit v1.2.3