@m-social/eslint-config-next
v1.2.0
Published
Shared ESLint config for Next.js used by M-Social projects
Downloads
154
Readme
@m-social/eslint-config-next
A shareable ESLint configuration for Next.js projects used at M-Social
📦 Installation
Install the package using pnpm (recommended):
pnpm add -D eslint @m-social/eslint-config-nextOr with other package managers:
# npm
npm install --save-dev eslint @m-social/eslint-config-next
# yarn
yarn add -D eslint @m-social/eslint-config-next🚀 Usage
Create an eslint.config.js (or eslint.config.mjs) file in your project root with the following content:
import nextConfig from "@m-social/eslint-config-next";
export default nextConfig({
tsconfigRootDir: import.meta.dirname,
reactCompiler: true,
});📄 License
MIT © M-Social
