Skip to content

.eslintrc.json » ./node_modules/ts-standard/eslintrc.json » eslint-config-standard-with-typescript#overrides[0]: Configuration for rule "@typescript-eslint/restrict-plus-operands" is invalid: Value {"checkCompoundAssignments":true} should NOT have additional properties. #430

Description

@davidmedev222

I would like to ask if you know why this error occurred in a next project:

.eslintrc.json » ./node_modules/ts-standard/eslintrc.json » eslint-config-standard-with-typescript#overrides[0]:
        Configuration for rule "@typescript-eslint/restrict-plus-operands" is invalid:
        Value {"checkCompoundAssignments":true} should NOT have additional properties.

this is my package json :

{
  "name": "asd",
  "version": "0.1.0",
  "private": true,
  "scripts": {
    "dev": "next dev",
    "build": "next build",
    "start": "next start",
    "lint": "next lint"
  },
  "dependencies": {
    "next": "14.2.12",
    "react": "^18.3.1",
    "react-dom": "^18.3.1"
  },
  "devDependencies": {
    "@types/node": "^20.16.5",
    "@types/react": "^18.3.7",
    "@types/react-dom": "^18.3.0",
    "eslint": "^8.57.1",
    "eslint-config-next": "14.2.12",
    "postcss": "^8.4.47",
    "tailwindcss": "^3.4.12",
    "ts-standard": "^12.0.2",
    "typescript": "^5.6.2"
  }
}

this is my eslintrc.json :

{
  "extends": ["next/core-web-vitals", "next/typescript", "./node_modules/ts-standard/eslintrc.json"],
  "parserOptions": {
    "project": "./tsconfig.json"
  }
}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions