Skip to content

Latest commit

 

History

History
19 lines (15 loc) · 349 Bytes

readme.md

File metadata and controls

19 lines (15 loc) · 349 Bytes

@c-ehrlich/eslint-plugin-use-server

Disallows top level "use server"

Instructions

Add the following to your eslintrc:

{
    plugins: [
        // other plugins...
        "@c-ehrlich/eslint-plugin-use-server",
    ],
    rules: {
        // other rules...
        "@c-ehrlich/use-server/no-top-level-use-server": "error",
    }
}