EPMatt / reviewdog-action-prettier

Run Prettier with reviewdog :dog:

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Invalid suggestion (no changes)

mark-hingston opened this issue · comments

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).