eslint-plugin-next-x
v0.0.2
Published
Starter template for eslint plugin
Downloads
10
Readme
eslint-plugin-next-x
Starter template for eslint plugin
Usages
Install
npm i -D eslint-plugin-next-x
Configure
We recommend using ESLint's Flat Config format.
// eslint.config.js
import nextX from 'eslint-plugin-next-x'
export default [
{
plugins: {
'next-x': nextX,
},
rules: {
'next-x/require-get-server-side-props': 'warn',
},
},
]
Rules
| Name | Description | 💭 | | :--------------------------------------------------------------------------- | :-------------------------- | :-- | | require-get-server-side-props | Required getServerSideProps | |