79540494

Date: 2025-03-28 04:08:42
Score: 2.5
Natty:
Report link

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

Reasons:
  • Probably link only (1):
  • Contains signature (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Jay