Skip to content

need to set up the eslint extension in the setting.json? #490

@ysknsid25

Description

@ysknsid25

Describe the feature

When automatic formatting is applied,

Such eslint errors appear.

The project configuration shows that Prettier is not installed, but eslint is, and “lint:fix”: “nr lint --fix”, is defined in package.json.

On the other hand, .vscode/setting.json is prepared but is an empty setting.

If so, shouldn't the following settings be applied to the workspace to automatically lint:fix on save?

  1. install vscode extension ESLint, and setting workspace's recommendation.
  2. overwrite setting.json like this.
{
  "editor.codeActionsOnSave": {
    "source.fixAll.eslint": "always"
  },
  "editor.formatOnSave": false,
  "eslint.validate": ["javascript", "typescript"]
}

What do you think?

Additional information

  • Would you be willing to help implement this feature?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions