New features: work with `editorconfig`
See original GitHub issueI usually use eslint
and editorconfig
together, So I need a option property for these rules, let them use configuration of editorconfig
- indent
- no-trailing-spaces
- eol-last
I hope this option property is enabled by default, If configuration property of editorconfig
is missing, please use the same logic as before.
Issue Analytics
- State:
- Created 7 years ago
- Reactions:1
- Comments:13 (8 by maintainers)
Top Results From Across the Web
EditorConfig
EditorConfig is a file format and collection of text editor plugins for maintaining consistent coding styles between different editors and IDEs.
Read more >EditorConfig settings - Visual Studio (Windows) - Microsoft Learn
Learn how to add an EditorConfig file to your project or codebase to enforce consistent coding styles for everyone that works in the...
Read more >New features: work with `editorconfig` · Issue #1890 - GitHub
I usually use stylelint and editorconfig together, So I need a option property for these rules, let them use configuration of editorconfig.
Read more >Forcing The Use of C# 10 Features using .editorconfig
We discussed the use of . editorconfig files and how we can use them to upgrade our code to use the latest C#...
Read more >Working with EditorConfigs - IntelliJ IDEA Guide - JetBrains
Ensuring EditorConfig File Functionality is Enabled ... To use EditorConfig files in IntelliJ IDEA you need to make sure that the EditorConfig ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I would love to see
eslint --init
support creating a config from .editorconfig file. Not sure we want to couple normal execution to this, though. Another thought, maybe a third-party tool could detect differences between ESLint and .editorconfig and help keep ESLint in sync.I’m not clear on what is being requested here, can someone please summarize?
As a note: I don’t think it’s a good idea for ESLint to either consume or produce configuration files other than its own. If you want to use a different type of configuration file to populate an ESLint configuration file, your best bet is to use a JavaScript ESLint configuration file, read in the editorconfig file, and populate whatever options you want.