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