This is the set of rules to for usage in React based projects.
npm i -D eslint prettier @moser-inc/eslint-config-reactExport the config from your eslint.config.mjs file. The config exports a function that returns a composer instance (see here) that can prepend/append/override rules and configuration.
import moser from '@moser-inc/eslint-config-react';
export default moser().append(...);For support for type checked rules, include the tsconfigPath option.
import moser from '@moser-inc/eslint-config-react';
export default moser({ tsconfigPath: './tsconfig.json' }).append(...);