Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

.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

Open
davidmedev222 opened this issue Sep 18, 2024 · 0 comments

Comments

@davidmedev222
Copy link

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"
  }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

No branches or pull requests

1 participant