diff options
| author | Kamal Wickramanayake <kamal@inbox.lk> | 2026-06-27 20:12:36 +0530 |
|---|---|---|
| committer | Kamal Wickramanayake <kamal@inbox.lk> | 2026-06-27 20:12:36 +0530 |
| commit | 54531d0087ec3c0982e8589e88f0981a0939764b (patch) | |
| tree | 0a9f28938f986c28bc95b8caff2cd16dd8c26542 /react/02-vite/.oxlintrc.json | |
| parent | d678dd98e4ab9b45e3e941e9002054ef639d1cfb (diff) | |
react/02-vite sample project added
Diffstat (limited to 'react/02-vite/.oxlintrc.json')
| -rw-r--r-- | react/02-vite/.oxlintrc.json | 8 |
1 files changed, 8 insertions, 0 deletions
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 }] + } +} |
