eslint-plugin-json icon indicating copy to clipboard operation
eslint-plugin-json copied to clipboard

@vue/prettier breaks this plugin

Open Maxim-Mazurok opened this issue 2 years ago • 0 comments

If I use this eslint config:

plugins: ["json-files"],
extends: ["@vue/prettier"],

Then this plugin doesn't work. It receives this JSON (added console.log({json}); in editStringJSON()):

{
  json: 'module.exports = {\n' +
    '  "name": "web-watcher",\n' +
    '  "version": "0.2.0",\n' +
    '  "private": true,\n' +
    '  "scripts": {\n' +
```	

Is this something that I should report to `@vue/prettier` instead?

Maxim-Mazurok avatar Sep 20 '21 06:09 Maxim-Mazurok