@shipsecure/eslint-plugin-next is a custom ESLint plugin designed to enhance the security of Next.js applications by identifying potentially insecure patterns in code. This plugin offers a set of rules specifically tailored to prevent common security pitfalls in Next.js, encouraging best practices and securing your app's frontend and backend code.
npm install @shipsecure/eslint-plugin-next --save-dev
Add the following to your eslint.config.js file:
const shipsecureNext = require("@shipsecure/eslint-plugin-next");
module.exports = [shipsecureNext.configs.recommended];
Add the following to your .eslintrc file:
module.exports = {
extends: ["plugin:@shipsecure/next/recommended-legacy"],
};
Contributions are welcome! If you'd like to add new rules, suggest enhancements, or report issues, please open a pull request or issue on our GitHub repository.
This project is licensed under the MIT License - see the LICENSE file for details.
$ claude mcp add eslint-plugin-next \
-- python -m otcore.mcp_server <graph>