-
Notifications
You must be signed in to change notification settings - Fork 144
Closed
Labels
enhancementNew feature or requestNew feature or request
Description
Describe the feature
When automatic formatting is applied,
- Strings must use singlequote.eslintstyle/quotes
- Extra semicolon.eslintstyle/semi
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?
- install vscode extension ESLint, and setting workspace's recommendation.
- overwrite
setting.jsonlike 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?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request