{"repo":"c-ehrlich/eslint-plugin-use-server","free":true,"listed":false,"github":"https://github.com/c-ehrlich/eslint-plugin-use-server","clone":"git clone https://github.com/c-ehrlich/eslint-plugin-use-server.git","description":"Disallows top level \"use server\"","language":"JavaScript","stars":16,"topics":["eslint","nextjs","use-server","eslint-plug"],"license":null,"category":"saas-starters-boilerplates","readme_excerpt":"@c-ehrlich/eslint-plugin-use-server Disallows top level \"use server\" This is useful because in some versions of Next.js, every exported function in a \"use server\" file is automatically a public API. This rule could prevent you from mistakenly expose a function to the client. Instructions Add the following to your eslintrc : js { plugins: [ // other plugins... \"@c-ehrlich/eslint-plugin-use-server\", ], rules: { // other rules... \"@c-ehrlich/use-server/no-top-level-use-server\": \"error\", } }","default_branch":null,"files":null,"tree":[],"storefront":"/r/c-ehrlich","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/c-ehrlich/eslint-plugin-use-server/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}