Use it like any other built-in ESLint rules.
import eslint from '@eslint/js';
import tseslint from 'typescript-eslint';
export default tseslint.config(
eslint.configs.recommended,
tseslint.configs.recommended,
{
rules: {
"@typescript-eslint/restrict-plus-operands": "error"
}
}
);
You can also refer the full config: https://github.com/Jay-Karia/jqlite/blob/main/eslint.config.mjs