Skip to content

Invalid suggestion (no changes) #56

@mark-hingston

Description

@mark-hingston

What version of eslint are you using?

8.48.0

What version of prettier are you using?

2.8.8

What version of eslint-plugin-prettier are you using?

4.2.1

Please paste any applicable config files that you're using (e.g. .prettierrc or .eslintrc files)

{
  "env": {
    "es6": true,
    "node": true
  },
  "plugins": ["json"],
  "extends": ["plugin:json/recommended"],
  "parserOptions": {
    "ecmaVersion": 8
  },
  "ignorePatterns": ["generated.d.ts"]
}
{
  "arrowParens": "always",
  "endOfLine": "crlf",
  "proseWrap": "always",
  "singleQuote": true,
  "trailingComma": "es5"
}

What source code are you linting?

export const SCENARIO_CONFIG = {
  Adyen: [
    {
      text: '200 - Payment Details Not Found',
      value: 'AdyenPaymentDetailsNotFoundError',
    },
  ],
}

What did you expect to happen?

No linter warnings/comments.

What actually happened?

image

The change suggested is invalid (nothing to change).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions