I have just started planning to build an improved static analysis tool that focuses on React applications. Currently, my plans involve creating a plugin for ESLint that will contain rules specific to React applications.
Base Tool: ESLint
Enhancement Areas: security vulnerabilities; detecting potential XSS or injection attacks in user-controlled data handling.
Development: Leverage ESLint's AST (Abstract Syntax Tree) to analyze React code structure, identify issues, and utilise ESLint's rule creation API to define custom rules. Explore APIs for existing tools to connect them with build systems or developer environments, and develop custom scripts or plugins to facilitate seamless integration.
I have no experience in creating something like this, so I would appreciate any feedback on my plans so far or any input/helpful pointers from more experienced developers!
Disclaimer: All resources provided are partly from the Internet. If there is any infringement of your copyright or other rights and interests, please explain the detailed reasons and provide proof of copyright or rights and interests and then send it to the email: [email protected] We will handle it for you as soon as possible.
Copyright© 2022 湘ICP备2022001581号-3