CHITRANSH1705/SentriAI-AI-Security-Evaluation-Threat-Intelligence-Platform

GitHub: CHITRANSH1705/SentriAI-AI-Security-Evaluation-Threat-Intelligence-Platform

一个以React+TypeScript+Vite为前端基础的安全评估平台项目,目前可见内容以前端脚手架与代码检查配置为主。

Stars: 0 | Forks: 0

# React + TypeScript + Vite 此模板提供了一个最小化的设置,以便在 Vite 中运行 React,并支持 HMR 以及一些 Oxlint 规则。 目前有两个官方插件可用: - [@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react) 使用 [Oxc](https://oxc.rs) - [@vitejs/plugin-react-swc](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react-swc) 使用 [SWC](https://swc.rs/) ## React Compiler 此模板未启用 React Compiler,因为它会影响开发和构建性能。要添加它,请参阅[此文档](https://react.dev/learn/react-compiler/installation)。 ## 扩展 Oxlint 配置 如果您正在开发生产环境的应用程序,我们建议通过安装 `oxlint-tsgolint` 并编辑 `.oxlintrc.json` 来启用感知类型的 lint 规则: ``` { "$schema": "./node_modules/oxlint/configuration_schema.json", "plugins": ["react", "typescript", "oxc"], "options": { "typeAware": true }, "rules": { "react/rules-of-hooks": "error", "react/only-export-components": ["warn", { "allowConstantExport": true }] } } ``` 有关完整的规则和类别列表,请参阅 [Oxlint 规则文档](https://oxc.rs/docs/guide/usage/linter/rules)。
标签:React, Syscalls, TypeScript, Vite, 反取证, 后端开发, 威胁情报, 安全插件, 安全评估, 开发者工具