Vscode-eslint: Support for .eslintrc.yml

Created on 10 May 2016  路  5Comments  路  Source: microsoft/vscode-eslint

First of all, thanks to all the contributors for this extension!

YAML is now the recommended format for ESLint config files, is that something that this extension could support?

needs more info

Most helpful comment

Thanks for this great plugin!

Turns out, the issue is not with lack of support, it's lack of documentation.

The first thing a new developer sees is this introductory text which states, and I quote:

On new folders you might also need to create a .eslintrc configuration file. You can do this by either using the VS Code command Create '.eslintrc.json' file or by running the eslint command in a terminal.

As you can see, it only talks about .eslintrc and .eslintrc.json. Maybe there can be a list or a link to reference to what kind of config formats are supported?

All 5 comments

@kaelig YAML is supported by the extension. Config can be defined in YAML and files are revalidated if the YAML file changes. What kind of support are you missing?

My bad, I was under the impression that my configuration wasn't loaded and after reading the code it looked like yml wasn't supported at the time. Thank you

@kaelig Could you tell me how to solve YAML support problem? Thanks.

My bad, after uninstall es-beautifier, it works.

Thanks for this great plugin!

Turns out, the issue is not with lack of support, it's lack of documentation.

The first thing a new developer sees is this introductory text which states, and I quote:

On new folders you might also need to create a .eslintrc configuration file. You can do this by either using the VS Code command Create '.eslintrc.json' file or by running the eslint command in a terminal.

As you can see, it only talks about .eslintrc and .eslintrc.json. Maybe there can be a list or a link to reference to what kind of config formats are supported?

Was this page helpful?
0 / 5 - 0 ratings