EPMatt / reviewdog-action-prettier

Run Prettier with reviewdog :dog:
MIT License
23 stars 10 forks source link

Invalid suggestion (no changes) #56

Open mark-hingston opened 1 year ago

mark-hingston commented 1 year ago

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